The srgcreate program is used to generate surrogates from weight shapefiles such as population or road shapefiles. The generate_surrogates script is provided with the software. These scripts specify:
The scripts contain both mandatory and optional environment variables that control the functioning of the program. The environment variables described in the Environment Variables section that impact the functioning of the srgcreate program are the ones listed in subsections with headings that relate to surrogates. Note that the output file containing the gridded surrogate numerators is output only if the OUTPUT_FILE_NAME is set to something other than NONE. This file is output using the map projection of the output grid, egrid, or polygon.
The selection of the weight for the surrogates with the WEIGHT_ATTR_LIST variable is an important decision. For example, if you want to weight the surrogates based on the population at the census tract level, but the surrogates are created at the county level, you must specify the census tract file as your WEIGHT_FILE_NAME file and the name of the population attribute from that file as the WEIGHT_ATTR_LIST. Some important items to note are the following:
|
|
|
|
|
#GRID |
|
Grid name |
|
|
X origin in units of the projection |
|
|
Y origin in units of the projection |
|
|
X direction cell length in units of the projection |
|
|
Y direction cell length in units of the projection |
|
|
Number of columns |
|
|
Number of rows |
|
|
Number of boundary cells |
|
|
Projection types: |
|
|
Projection units |
|
|
Projection alpha value |
|
|
Projection beta value |
|
|
Projection gamma value |
|
|
X-dir projection center in units of the projection |
|
|
Y-dir projection center in units of the projection |
|
|
|
Spatial Surrogates code (area) or County feature/roadway type (mobile) (Integer) |
|
Country/State/County Code (integer) |
|
|
Grid column number (Integer) |
|
|
Grid row number (Integer) |
|
|
Spatial surrogate ratio (area) or fraction of county feature in cell (mobile) (Real) |
To Section 5.1:Creating Inputs to SMOKE Biogenic Processing