At UoM we currently use Øivind Hodnebrog's WRF-Chem emission preprocessor program (with adaptions by Thom Pugh, Steve Utembe, and Douglas Lowe).
This program can create either daily emission files, each containing hourly emissions through the day, or two single emission files, for 00z and 12z, which are reused each day. The former style of emission files is what we use at UoM, and so only this will be described in detail below.
The daily emission files can be created from a range of datasets (we work with TNO data for the EU, and NAEI data for the UK), and outputs variables for prescribed WRF-Chem chemical schemes (CBMZ-MOSAIC and CRIv2R5-MOSAIC being the ones we use at UoM).
Diurnal, weekly, and monthly cycles can be imposed onto the emission datasets using namelist settings. These cycles are predefined: daily cycles for emission sectors are defined within the source code; and diurnal, weekly and monthly scaling factors are defined for emission species by EMEP country within the TNO emission data.
On the local (UoM/CAS) svn server the source code is in directory: /svn/atmos_modelling/dynamic_modelling/WRFCHEM-utilities/emission_scripts/. For non-local access to code email the WRF-Chem contact listed on front page of this wiki.
- On ARCHER the environment should be set as follows:
module swap PrgEnv-cray PrgEnv-gnu module load cray-netcdf
Run the command: make -f makefile_new
Setup and Running Instructions
- The inputs needed are:
- Namelist file - this controls the script, see examples in SVN repository (and the namelist.README file)
- Emission databases
We use TNO and NAEI - on ARCHER our downloaded copies can be accessed here: /nerc/n02/n02/lowe/emissions_files/input_data
- WRF input or met files - a link to these needs to be made in the running directory
- We generally use a pre-generated wrfinput_d01 for the domain of interest (met files can be used instead though). As anthropogenic emissions not needed to run real.exe this can be the WRF-Chem input file which will be used for the subsequent model runs.
To run the program you need to load the same modules used for compilation, and then simply enter: ./main
To keep running information in a log file use: ./main 2>&1 | tee emissions_log.txt
- This program is suitable (unlike the WRF compilation process, and mozbc program) for running on the serial nodes on ARCHER
Merging Emission Files
The emission program only deals with a single emission database at a time - so in order to combine TNO and NAEI emissions we have to create two separate sets of emission files, and then combine these with a post processing script.
This process is carried out using an NCL script (previously a matlab script), which masks out the TNO data wherever there is NAEI data, and replaces it with the NAEI data.