AirWare   On-line Reference Manual

  Release Level 5.4
  Release Date 2008 10
  Revision Level 1.0
AirWare On-line Manuals R5.4 TOC
Last modified on:   Monday, 20-Jul-09 14:03 CEST

Scheduled model runs

The scheduled runs for a given INSTALLATION are configured in the following files:

AERMOD:

    /var/www/cgi-bin/aermod/run[INSTALLATION]Nowcast.sh
(containing AERMOD nowcast scenario ID's, i.e., the ID's of any set of nowcast for any set of model domains) defined in the INSTALLATION.

CAMx:

    /var/www/cgi-bin/camx/run[INSTALLATION]Nowcast.sh
(containing CAMx nowcast scenario ID's, i.e., the ID's of any set of nowcast for any set of model domains) defined in the INSTALLATION).
    /var/www/cgi-bin/camx/runTehranNOxForecast.sh
(containing CAMx forecast scenario ID's, i.e., the ID's of any set of forecast for any set of model domains) defined in the INSTALLATION).

The above runs are started via the following (root) crontab entries that need to be adjusted for each installation:

    #aermod
    mn * * * * /var/www/cgi-bin/aermod/run[INSTALLATION]Nowcast.sh

    #camx
    mn * * * * /var/www/cgi-bin/camx/run[INSTALLATION]Nowcast.sh
    mf hf * * * /var/www/cgi-bin/camx/run[INSTALLATION]NOxForecast.sh

where mn is the minute of nowcast start - depending on server time relative to location time (mn=1 or mn=31).
If server time is equal to location time mn=1.

mf is the minute, hf is the hour of forecast start, depending on the availability of MM5 results. It can be started as soon as MM5 results are available.

In addition to the scenario ID the "run*.sh" files contain the following information:

# database configuration file
config="/var/www/cgi-bin/[db_config]"

# base directory of cgi's
cgiDir="/var/www/cgi-bin/"

# where to write log and error file
errorFile="$path/camx/log/forecastNOx.error"
logFile="$path/camx/log/forecastNOx.log"

# base directory of output files
outDir="$path/camx/forecast/"

# where to find camx input files generated by mm5 (CAMx only)
mm5Dir="/var/airdata/mm5/"

# the simulation date (forecast only)
tmw=`date -d tomorrow +'%Y-%m-%d'`


© Copyright 1995-2016 by:   ESS   Environmental Software and Services GmbH AUSTRIA | print page