Skip to contents

This function merges daily MET Nordic files into a single .nc file for a single variable. The input data should be the output data of metnordic_aggregate(). This function provides input for metnordic_reproject()

Usage

metnordic_merge(folderpath, variable, outpath, overwrite = FALSE)

Arguments

folderpath

String: Outpath of files from metnordic_aggregate().

variable

String: MET Nordic variable to be used (NOTE: don't forget suffix such as 'mean', 'sum', 'min', or 'max').

outpath

String: Folder path where to write files.

overwrite

Logical: Overwrite existing file?

Value

file path of generated files

Details

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

Author

Moritz Shore

Examples

# TODO