Reads the GSWP3-W5E5 monthly windspeed forcing used to drive LPJmL
(single consolidated NetCDF, already on WHEP's native 0.5-degree grid) and
returns it in tidy long form. The file's wind variable carries no
units attribute, because the monthly aggregation dropped it; the unit is
metres per second, taken from the ISIMIP2a GSWP3-W5E5 daily source the file
is derived from, which declares units = "m s-1" and standard_name = "wind_speed". That is why the output column is named windspeed_ms.
Arguments
- years
Optional integer vector of calendar years to keep.
NULLreads every year present in the file (1901-2016).- wind_dir
Path to the directory holding
wind_gswp3-w5e5_1901_2016_monthly.nc. Defaults toSys.getenv("WHEP_WIND_DIR").- example
If
TRUE, return a small fixture instead of reading data. Defaults toFALSE.
