This function converts a projected MET Nordic file (from
metnordic_reproject()
) to be compatible with CWatm. This function mainly
just changes the dimension names from easting and northing to x and y and
swapes variable order but has a crap load of boiler plate because... well..
ncdf4.
Arguments
- infile
String: path to projected MET Nordic .nc file as created by
metnordic_reproject()
- outfile
String: path and file name to desired output file
Details
Code largely adapted from this handy guide: (link) from Pat Bartlein, bartlein@uoregon.edu