Figure 6.5, “Grdmat input and output files” shows the input and output files for the Grdmat program. The input files are the spatial surrogates file (AGPRO
or MGPRO
), the spatial cross-reference file (AGREF
or MGREF
), the inventory file output from Smkinven (AREA
, MOBL
, or PNTS
), and the grid description file (GRIDDESC
). For mobile sources, the mobile codes file (MCODES
) is also needed.
Grdmat outputs a gridding matrix file (AGMAT
, MGMAT
, or PGMAT
) used by other SMOKE programs, and a supplemental gridding file (AGSUP
or MGSUP
) that includes all of the spatial surrogate codes assigned to each source. Like all SMOKE programs, Grdmat writes a program log (LOGFILE
). When processing mobile activity data (i.e. VMT), Grdmat also outputs the MUMAT
ungridding matrix file.
File Name | Format | Description |
---|---|---|
[A|M]GPRO |
ASCII | Gridding surrogate coefficients |
[A|M]GREF |
ASCII | Gridding surrogate cross-reference file |
[AREA|MOBL|PNTS] |
SMOKE map | Intermediate inventory file produced by Smkinven |
GRIDDESC |
ASCII | Description of the modeling grid |
MCODES (optional)
|
ASCII | Mobile codes for converting inventory road classes and vehicle type names to SMOKE’s road types and vehicle type numbers |
IOAPI_ISPH
: See description in Section 6.3.3.2, “Input Environment Variables”
REPORT_DEFAULTS
: See description in Section 6.2.3.2, “Input Environment Variables”
SMK_DEFAULT_SRGID
: [default: 50 (Models-3 population surrogate code) or 1 (if 50 is unavailable in surrogates data)]
Defines the surrogate code number to use as a fallback surrogate when the surrogate number set by the cross-reference file would zero out the emissions for that source.
SMK_SOURCE
: See description in Section 6.2.3.2, “Input Environment Variables”
File Name | Format | Description |
---|---|---|
[A|M|P]GMAT |
I/O API NetCDF | Gridding matrix containing the factors needed to spatially allocate the input emissions to the grid cells in the modeling domain. |
[A|M]GSUP |
ASCII | Gridding supplemental file containing spatial surrogate codes for each source |
LOGFILE |
ASCII | Log generated from executing Grdmat |
MUMAT |
I/O API NetCDF | Ungridding matrix file; for mobile activity data only |