6.6.3. Files and Environment Variables

6.6.3.1. Input Files
6.6.3.2. Input Environment Variables
6.6.3.3. Output Files

Figure 6.6. Grwinven input and output files

Grwinven input and output files

Figure 6.6, “Grwinven input and output files” shows the input and output files for the Grwinven program. The input files include at least one growth or control matrix output from Cntlmat (ACMAT01, MCMAT01, or PCMAT01). If you are applying more than one growth or control matrix (i.e. SMK_NUM_CNTLMAT is greater than one), Cntlmat will open additional matrices as needed (ACMAT[xx], MCMAT[xx], or PCMAT[xx]). Cntlmat also uses the inventory file output from Smkinven (AREA, MOBL, or PNTS) and the country, state and county file (COSTCY).

Grwinven outputs new SMOKE intermediate inventory files (AREA_O, MOBL_O, or PNTS_O) that have been controlled and/or grown into the past or future. Note that the suffix _O is used to distinguish the Grwinven output files from the input files. You can also choose to output ASCII inventory files in IDA format (ARINV_O, MBINV_O, or PTINV_O). Grwinven also writes a log file (LOGFILE) and can create an ASCII inventory file for activity data (MBINV_AO).

6.6.3.1. Input Files

File Name Format Description
[A|M|P]CMAT_01 I/O API NetCDF Control or growth matrix output from Cntlmat; total number of files is determined by SMK_NUM_CTLMAT setting
[A|M|P]CMAT_02, [A|M|P]CMAT_03, ... I/O API NetCDF Additional control or growth matrices; total number of files is determined by SMK_NUM_CTLMAT setting
[AREA|MOBL|PNTS] SMOKE map Intermediate inventory file produced by Smkinven
COSTCY ASCII Country, state, and county file

6.6.3.2. Input Environment Variables

  • SMK_GRWIDAOUT_YN: [default: N]

    • Y: Output inventory in IDA format

    • N: Do not output IDA format

  • SMK_GRWSMKOUT_YN: [default: Y]

    • Y: Output inventory in SMOKE I/O API format

    • N: Do not output SMOKE I/O API format

  • SMK_NUM_CTLMAT: [default: 1]

    Number of control and/or growth matrices to import and apply to the inventory.

  • SMK_TMPPATH: [default: .]

    Defines the path to use for temporary files that are written out when supplying the IDA-formatted inventory. This setting is used only when SMK_GRWIDAOUT_YN is set to Y.

6.6.3.3. Output Files

File Name Format Description
[AREA_O|MOBL_O|PNTS_O] SMOKE map Annual and average-day inventory emissions and source characteristics
[ARINV_O|MBINV_O|PTINV_O] ASCII Annual and average-day inventory emissions and source characteristics
LOGFILE ASCII Log generated from executing Grwinven
MBINV_AO ASCII Annual activity inventory and source characteristics