Workflow to interface JEDI component (generic-interface) and METplus for constituents model evaluation.
Clone this repo recusively with the command below
git clone https://github.com/weiwilliam/JEDI-METplus.git <folder>
- Platforms with JCSDA spack-stack package.
- Module loading scripts: derecho_intel.
- Lambert CC projection: WRF-Chem
- Reducing Gaussian Lat-Lon (GEFS-Aerosols)
- TropOMI NO2 and CO
- VIIRS AOD
- TEMPO NO2, CO
- Prerequisites: observation files in IODA format and model outputs in NetCDF (GRIB2 may be supported later).
- Create Python venv under your repo,
source ush/setup.sh </repo/path> <platform> <compiler>
- Based on your application, copy a main yaml file from yamls/main and a hofx3d yaml file from yamls/hofx3d.
<e.g., evaluate wrf-chem trace gas, copy
main/main_wrfchem.yaml
andhofx3d/hofx3d_lambertCC.yaml
> - Update the main and hofx3d yaml files as needed. Check README.md under
yamls/<main/hofx3d>
for details. - Execute
pyscripts/genint_vrfy.py <main yaml>
- Create the
<repo>/genint-bundle/build
folder export GENINT_BUILD=<path/to/build/genint>
- Create virtual python env
<repo>/venv
if you do not have one.source ush/setup.sh <repo path> <platform> <compiler>
cd <repo>/genint-bundle/build
ecbuild <path/to/genint-bundle>
make -j <n>
ctest
to check executables work properly
- Create air pressure and potential temperature:
ncap2 -O -s "air_potential_temperature=T+300" <wrfout>
Createair_potential_temperature
for JEDI application in case the WRF specific variable changes are removed from VADER. - Cropping IODA file:
Usepyscripts/get_wrfout_polygon.py
to create a polygon .csv file for your domain boundary.
Runpyscripts/crop_iodafile.py -i <global/IODA/file> -o <WRF/domain/IODA/file> -p <WRF/domain/polygon/csv>
- Use
P_HYD
to representair_pressure
.
ThePSFC
is a diagnostic variable derived through hydrostatic function, so theair_pressure_levels
based on akbk, ptop, and PSFC are more close to hydrostatic. It may cause half level pressure fromPB+P
is not between two adjacent full level.