Users can download CDS data using the ecmwfr package in R with “cds” as the "service" although it is not supported by C3S. In the examples below, "KEY" and "UID" are your CDS API key and UID respectively.
Please have a look at the following example to download ERA5 2m temperature for a selected area in netCDF format:
|
This would return the data to a file called download_e5_single.nc.
The code below retrieves ERA5pressure level temperature data at 850hpa for a selected area in netCDF format:
|