Python packages:
- netCDF4
- numpy
- cdsapi
These can be installed with pip
pip install -r requirement.txt
To use ECMWF cdsapi
, you'll need to create login credentials and store them
in $HOME/.cdsapirc
file.
See the instructions.
At the moment the downloaded fields and the target latitude, longitude grids have been hard coded in the script.
See download_ecmwf_era5.py
header for details.
python download_ecmwf_era5.py 2014-10
Downloads a subset of global fields to monthly files.
Produces file:
era5_y2014m10.nc
python download_ecmwf_era5.py 2014-12 -e 2015-02
Produces files:
era5_y2014m12.nc
era5_y2015m01.nc
era5_y2015m02.nc