Merra2BC is an interpolation utility, which creates for a WRF-Chem simulation initial and time-varying chemical boundary conditions (IC&BC) based on MERRA-2 reanalysis.
Merra2BC is written on Python and requires: NetCDF4 interface to work with netCDF files and SciPy interpolation package.
- run real.exe, which will produce wrfinput and wrfbdy files
- download required MERRA-2 collections
- run git clone https://github.com/saneku/Merra2BC.git
- edit config.py
- run python zero_fields.py to zero required fields (since utility will add values to the existing)
- run python main.py or python ./main.py >& output.log & to run in background
- modify namelist.input file at section &chem (have_bcs_chem = .true. for BC chem_in_opt = 1 for IC )
- run wrf.exe
If you find this code useful in your research, please consider citing:
Ukhov, A., Ahmadov, R., Grell, G., and Stenchikov, G.: Improving dust simulations in WRF-Chem v4.1.3 coupled with the GOCART aerosol module, Geosci. Model Dev., 14, 473–493, https://doi.org/10.5194/gmd-14-473-2021, 2021.