Skip to contents

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.

Usage

cwatm_convert_nc(infile, outfile)

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

Value

Path to outfile

Details

Code largely adapted from this handy guide: (link) from Pat Bartlein, bartlein@uoregon.edu

Author

Moritz Shore

Examples

#TODO