File Formats:Nutrient Files

From Gsshawiki
Revision as of 07:41, 22 July 2008 by Aabyrd (talk | contribs) (The Point Source Files)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

There are a few files that specify the nutrient models setup outside of the mapping table files (.cmt, .smt). These are primarily the aquifer environment file and the point source file.

These file formats are for GSSHA v3.0b.


The Aquifer Environment File

The aquifer environment file is set up to look much like a mapping table. The file has the header

AQUATIC_ENV_NSM10

followed by two index map specifier cards. These index maps do not need to be referenced in the mapping table files to be valid here.

OV_MAP "ov_map.idx" "map name here"

ST_MAP "st_map.idx" "map name here"

These index map specifiers are followed by the more typical mapping table entries:

NUM_IDS ##

ID ##

The main difference here being that the ID lines do not have a list of parameter values, but rather the parameter values follow on the next line or lines.

There are two options for specifying the aquifer environment paramter values. The first is to simply put:

DEFAULT

on the line following the ID. This assumes that all default parameter values are applicable. The other option is to specify all of the parameter values. This comprises 11 lines of values.

...


The Point Source Files

There are two point source formats, one that contains constant point source inputs and another that contains time variable point and non-point sources.

The time varying point and non-point source file can actually specify constant values as well, and is somewhat easier to work with when specifying several points, and must be used for any non-point source loadings. Please refer to the Point/Non-Point Constituent Source File section of this manual for more information on setting up this file.

The constant point source file is a little more difficult to work with in that you need to know the exact order of all the constituents as they are in GSSHA. The order is as follows: the generic constituents (in the same order as in the mapping table file) NO2, NO3, NH4, ON, OP, DP, ALG, CBOD, DO. There are 9 NSM constituents. For example, if you have two generic constituents and the NSM constituents, you should have 11 concentrations specified.

[# of point source locations]
[node] [link] [Q] [C1] [C2] [C3] ... [Cn]
[node] [link] [Q] [C1] [C2] [C3] ... [Cn]
...
[node] [link] [Q] [C1] [C2] [C3] ... [Cn]

The order of the concentrations is: first the simple constituents in their listed order in the mapping table file, then the nutrient concentrations in the following order: NO2, NO3, NH4, Organic Nitrogen, Organic Phosphorous, Dissolved Phosphorous, PO4, Algae, CBOD, Dissolved Oxygen.

To add a point source file to the project file, include the card:

CHAN_CON_INPUT filename.ext

The units of Q are cms, and the units of concentration are mg/l (ppm).


GSSHA User's Manual

17 GSSHA File Formats
17.1     Project File
17.2     Mapping Tables
17.3     Stream Network Files
17.4     GRASS grid files
17.5     Nutrient Files
17.6     Time and Elevation Series Files