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(). For hourly merging, please use metnordic_merge_hourly()

Usage

metnordic_merge_daily(
  folderpath,
  variable,
  outpath,
  overwrite = FALSE,
  verify = 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?

verify

Logical: check if all dates in date range exist?

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