R/metnordic_extract.R
metnordic_extract.RdThis function extracts timeseries from (hourly) files from the chain
metnordic_coordwindow() –> metnordic_buildquery() –>
metnordic_download_daterange() –> metnordic_merge_hourly() –>
metnordic_extract(). This function extracts from the nearest grid cell, if
you would like a bi-linear interpolation of the nearest 4 cells, please try
metnordic_extract_grid()
metnordic_extract(
directory,
mn_variables,
point,
outdir,
name,
verbose = FALSE
)(String) directory containing merged files as created by metnordic_merge_hourly()
(vector, strings) variables to extract
an object of class "sf" with point geometry.
(string) directory in which to write the file (.csv)
(string) name of the file (will be added to filename)
(boolean) print?
path to written file