Download a shapefile with needed arguments to read the NetCDF and the NetCDF hourly data from
the AERIS portal (see references section).
Usage
tnet_safran_download(
folder_export,
year_start = NULL,
year_end = NULL,
only_shapefile = FALSE,
variables = c("ForcT", "ForcQ", "ForcVu", "ForcRAT", "ForcGLO")
)Arguments
- folder_export
folder where the downloaded files will be saved
- year_start
Starting year of the data to save
- year_end
Ending year of the data to save
- only_shapefile
Download only the shapefiles or the related time-series
- variables
Variable to be downloaded. See details section for more details. default value is c("ForcT","ForcQ","ForcVu","ForcRAT","ForcGLO")
Details
The SAFRAN data variables are the following:
ForcGLO: Global shortwave downwelling radiation (direct + indirect)ForcPRCP: Precipitation rateForcQ: Near surface spacific humidityForcRAT: Longwave downwelling radiationForcSNOW: Snowfall rateForcT: Air temperatureForcVu: Horizontal wind speed
The needed ones for T-NET computation are "ForcT","ForcQ","ForcVu","ForcRAT" and "ForcGLO"