Output Location Files¶
File extensions: Variable (e.g.: ihl, isl, igf)
File Object¶
-
class
gsshapy.orm.
OutputLocationFile
[source]¶ Bases:
sqlalchemy.ext.declarative.api.Base
,gsshapy.base.file_base.GsshaPyFileObjectBase
Object interface for the output location type files.
There are several files that are used to specify output at internal locations in the model. These files are specified by the following cards in the project file: IN_HYD_LOCATION, IN_THETA_LOCATION, IN_GWFLUX_LOCATION, IN_SED_LOC, OVERLAND_DEPTH_LOCATION, OVERLAND_WSE_LOCATION, and OUT_WELL_LOCATION.
Output location files contain either a list of cell addresses (i and j) for output from the grid or a list of link node addresses (link number and node number) for output requested from the stream network. The output is generated as timeseries at each location. The contents of this file is abstracted to one other object:
OutputLocation
.See: http://www.gsshawiki.com/Project_File:Output_Files_%E2%80%93_Required
-
tableName
= u'loc_output_location_files'¶ Database tablename
-
id
¶ PK
-
projectFileID
¶ FK
-
fileExtension
¶ STRING
-
numLocations
¶ INTEGER
-
projectFile
¶ RELATIONSHIP
-
outputLocations
¶ RELATIONSHIP
-
Supporting Objects¶
-
class
gsshapy.orm.
OutputLocation
(linkOrCellI, nodeOrCellJ)[source]¶ Bases:
sqlalchemy.ext.declarative.api.Base
Object containing the data for a single output location coordinate pair. Depending on whether the file requests output on the grid or on the stream network, the coordinate pair will represent either cell i j or link node coordinates, respectively.
-
tableName
= u'loc_output_locations'¶ Database tablename
-
id
¶ PK
-
outputLocationFileID
¶ FK
-
outputLocationFile
¶ RELATIONSHIP
-
linkOrCellI
¶ INTEGER
-
nodeOrCellJ
¶ INTEGER
-