...
- Browse the ERA-Interim data catalogue for the data you are interested in, and in the last step make a selection in all boxes and click 'View the MARS request'. This shows a template Python script with your selected options.
- Copy the Python script to a text file and save it, for example as 'my_ERA-Interim_script_v1.py'
- If necessary, adapt the Python script to your requirements,e.g. change date, time and grid.
- For an output in netcdf format, specify "format" as "netcdf"
- If you specify "format" as "netcdf", then you will need to set "grid" e.g.
"grid"
:
"0.3/0.3"
. Otherwise, GRIB to netCDF conversion will fail. - To subset to a geographical area, specify "area" asN/W/S/E in geographic lat/long degrees. Southern latitudes and western longitudes must be given as negative numbers e.g.
. Requires "grid" to be set to a regular grid e.g."area"
:
"75/-20/10/60"
"grid"
:
"0.3/0.3"
. Change the
"target"
:
"CHANGEME"
,
to the desired output path and file name, e.g. "data1.nc" or "./data/data1.grib". The default path is the current working directory.
...