- How to run the WRF model using ERA5 (on model levels) as initial and boundary conditions
- Grib to Netcdf conversion
- Download ERA-Interim data
- Produce additional intermediate files
ERA5 data were downloaded as described in How to download ERA5 data via the ECMWF Web API
Here I’m attaching scripts to download surface and model data:
if you want to use analysis and one hour resolution, all you need to change are
target. Otherwise, you should change as needed.
This is a little different from downloading ERA-Interim data. ERA-Interim includes Geopotential and Land-sea mask in invariant field. ERA5 includes them in surface dataset. So, we just need to download surface data and model level data.
If you choose grib_api, you must install the new version of grib_api. Otherwise, you will get this error when using grib_set (e.g. grib_api Version 1.12.3):
Finally, you will get these files (the structure of filename is
Link_grib.csh all these files in your preprocessing working directory.
You can automate the script rather than change elements one by one (as suggested by Conor).
run geogrid.exe as usual
run ungrib.exe by using the following Vtable (as suggested by valerio):
Create the following ecmwf_coeffs table (named ecmwf_coeffs) and run */WPS/util/calc_ecmwf_p.exe:
Edit namelist.wps like this:
If you just run metgrid.exe, you’ll get these warnings:
You can edit METGRID.TBL to set interpolation method of
Run metgrid.exe with the modified METGRID.TBL.ARW table.
If you’re using MOZART in WRF-Chem, then you need to change LOGSFP field in met* files to PSFC: