This function builds the URL queries for downloading MET Nordic data through
the OPENDAP protocol. The requirements for this function to work are the
bounding coordinates as divined by function metnordic_coordwindow()
, the
variables of interest, the starting and ending dates and the desired grid
resolution. The results of this function can be downloaded when passed to
metnordic_download()
.
Usage
metnordic_buildquery(
bounding_coords,
mn_variables,
fromdate,
todate,
grid_resolution,
verbose
)
Arguments
- bounding_coords
as determined by
metnordic_coordwindow()
- mn_variables
MET Nordic variables (see documentation)
- fromdate
ie. "2019-01-01 00:00:00"
- todate
ie. "2020-12-31 23:00:00"
- grid_resolution
an integer, ie. 3 for 3x3 km grid.
- verbose
print to console?