Skip to content

routines to download and pre-process Era5 reanalysis data for ocean models

Notifications You must be signed in to change notification settings

tkarna/ecmwf-era5-downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Download and preprocess ERA5 atmospheric forcing fields for NEMO

Requirements

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.

Grid and field definitions

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.

Download data for a month

python download_ecmwf_era5.py 2014-10

Downloads a subset of global fields to monthly files.

Produces file: era5_y2014m10.nc

Download multiple months

python download_ecmwf_era5.py 2014-12 -e 2015-02

Produces files: era5_y2014m12.nc era5_y2015m01.nc era5_y2015m02.nc

About

routines to download and pre-process Era5 reanalysis data for ocean models

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages