Skip to contents

Downloads MET Nordic re-analysis data using an OPENDAP url. This function ideally takes input from metnordic_buildquery() and provides input for metnordic_aggregate().

Usage

metnordic_download(url, outdir, vars, overwrite = FALSE, preview = TRUE)

Arguments

url

String: OPENDAP url to be downloaded (from `metnordic_buildquery()).

outdir

String: Location where the .nc file should be written.

vars

Vector: MET Nordic Variables to extract. See: MET Nordic variables

overwrite

Logical: Overwrite files if they already exist?

preview

Logical: Print preview?

Value

String: file paths to generated files

Details

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

Author

Moritz Shore

Examples

#TODO