Downloads MET Nordic re-analysis data using an OPENDAP url. This function
ideally takes input from metnordic_buildquery()
and provides input for
metnordic_aggregate()
.
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?
Details
Code largely adapted from this handy guide: (link) from Pat Bartlein, bartlein@uoregon.edu