Assignment Table
The Assignments Table is the core of the saber
python package. It is a pandas
dataframe which is saved to disk as a
parquet
file. It has 1 row per subbasin in your hydrologic model. It is generated from the drain_table
, gauge_table
,
and regulate_table
input files. The table has the following columns:
model_id
: The unique ID of the stream segment. This is the same as themodel_id
in thedrain_table
anddrain_gis
.downstream_model_id
: The ID of the next downstream reach, used to trace the network programmatically. This comes from thedrain_table
.strahler_order
: The strahler stream order of each reach. This comes from thedrain_table
.x
: The x coordinate of the centroid of each subbasin. This comes from thedrain_table
.y
: The y coordinate of the centroid of each subbasin. This comes from thedrain_table
.gauge_id
: The unique ID of the gauge contained by the subbasin. This comes from thegauge_table
. This will be blank for most rows.regulated_id
: The unique ID of the regulatory structure contained by the subbasin. This comes from theregulate_table
. This will be blank for most rows.latitude
: The latitude of each gauge. This comes from thegauge_table
.longitude
: The longitude of each gauge. This comes from thegauge_table
.cluster_label
: The cluster label of each subbasin. This is used to group subbasins together for calibration. This column is generated by SABER.