CHIMERE scripts


WARNING:
The following scripts are developed by the CHIMERE developer team for internal use.
They are offered as examples but are not maintained and there is no user support (contrarily to the CHIMERE model).


Description Date Authors
Perform a chained simulation
The command line for a simulation enables to give a strting date a simulation duration (in days). If you want to produce a long simulation, but several "out" output files with a length of a few days, you can use the 'restart' capability of the model. For example, you can use this script:
#!/bin/sh
export LANG=en_US
export LC_NUMERIC=C
export LC_ALL=C

firstdate=20130115
lastdate=20131230
parfile=chimere.par.anMED
nh=120
incday=5

di=${firstdate}

./chimere.sh ${di} ${nh} c ${parfile} || exit 1
   
while [ $di -le $lastdate ] ; do
   ./chimere.sh ${di} ${nh} f ${parfile} || exit 1
   di=`date -u -d "$di $incday days" +%Y%m%d`
done
2018 L.Menut
Reformat TNO anthropogenic emissions inventory to be read by the CHIMERE EMISURF program 2017 Michael Russo,
University of Aveiro, GEMAC, CESAM
michaelarusso@ua.pt
Download EMEP emissions on the 50 km grid (starting from the emiSURF2016 version)
  • Download the script dl_emep.sh
  • Run the script, e.g. ./dl_emep.sh 2012. This creates file emep_2012.txt
  • Put the *.txt file to the annual-EMEP50x50/50x50new/data_expert directory of your emiSURF installation.
2017 G.Siour
Generate CHIMERE domain file COORD_xxx from a WRF meteorological output file
  • Download the script wrfcoord.py
  • Make sure you have a python installation with netCDF4 and numpy libraries. If not, you can use pip or easy_install or Anaconda, etc. to install them.
  • Run the script.
  • Rename the generated .CHI file to COORD_Your_Domain_Name
  • Put it to the chimere_root/domains/HCOORD directory.
2012 D.Khvorostyanov