Skip to contents

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")

Value

None

Details

The SAFRAN data variables are the following:

  • ForcGLO : Global shortwave downwelling radiation (direct + indirect)

  • ForcPRCP: Precipitation rate

  • ForcQ : Near surface spacific humidity

  • ForcRAT : Longwave downwelling radiation

  • ForcSNOW: Snowfall rate

  • ForcT : Air temperature

  • ForcVu : Horizontal wind speed

The needed ones for T-NET computation are "ForcT","ForcQ","ForcVu","ForcRAT" and "ForcGLO"

References

https://www.aeris-data.fr/catalogue/?uuid=9db737a1-d0bf-9c89-330f-7fc4d0482d1c

Examples

tnet_safran_download(folder/to/export,
                     2012,
                     2020)
#> ⠙ Downloading SAFRAN : Preparing computation
#> Error: object 'folder' not found
#>  SAFRAN download failed [7ms]
#>