mss_Raingauge

tables.auto_generated.mss_Raingauge

Classes

Name Description
mss_RaingaugeTable Table for mss_Raingauge (Raingauge).
mss_RaingaugeTableColumns Column names for mss_Raingauge (Raingauge).

mss_RaingaugeTable

tables.auto_generated.mss_Raingauge.mss_RaingaugeTable(net_table)

Table for mss_Raingauge (Raingauge).

Attributes

Name Description
columns Get the columns for the table.
description Get the table description.
display_name Get the display name for the table.
name Get the table name.

Methods

Name Description
delete Create a DELETE query for this table.
get_downstream_links Get links MUIDs where specified node MUID is the downstream node.
get_muids Get a list of MUIDs for the table.
get_number_of_links Get the number of links connected to a node.
get_number_of_links_enabled Get the number of enabled links connected to a node.
get_upstream_links Get link MUIDs where specified node MUID is the upstream node.
insert Insert a row with the given values.
select Create a SELECT query for this table.
update Create an UPDATE query for this table.
delete
tables.auto_generated.mss_Raingauge.mss_RaingaugeTable.delete()

Create a DELETE query for this table.

Returns
Name Type Description
DeleteQuery A new DeleteQuery object
get_muids
tables.auto_generated.mss_Raingauge.mss_RaingaugeTable.get_muids(
    order_by=None,
    descending=False,
)

Get a list of MUIDs for the table.

Parameters
Name Type Description Default
order_by str or None Column to order the MUIDs by None
descending bool Whether to order in descending order False
Returns
Name Type Description
list of str A list of MUIDs
insert
tables.auto_generated.mss_Raingauge.mss_RaingaugeTable.insert(
    values,
    execute=True,
)

Insert a row with the given values.

Parameters
Name Type Description Default
values dict of str to Any Column-value pairs to insert required
execute bool Whether to execute the query immediately (default: True) True
Returns
Name Type Description
str or InsertQuery If execute is True, returns the ID of the newly inserted row (MUID) If execute is False, returns an InsertQuery instance
select
tables.auto_generated.mss_Raingauge.mss_RaingaugeTable.select(columns=[])

Create a SELECT query for this table.

Parameters
Name Type Description Default
columns list of str The columns to select []
Returns
Name Type Description
SelectQuery A new SelectQuery object
update
tables.auto_generated.mss_Raingauge.mss_RaingaugeTable.update(values)

Create an UPDATE query for this table.

Parameters
Name Type Description Default
values dict of str to Any Column-value pairs to set in the UPDATE required
Returns
Name Type Description
UpdateQuery A new UpdateQuery object

mss_RaingaugeTableColumns

tables.auto_generated.mss_Raingauge.mss_RaingaugeTableColumns(table)

Column names for mss_Raingauge (Raingauge).

Attributes

Name Description
Description Description
FileNameSeries File
FormNo Format
GeomX X coordinate [m]
GeomY Y coordinate [m]
MUID ID
Scf Snow catch deficiency correction factor, SCF
StationName Station name
Tag Tag
TimeInterval Time interval [h]
TimeSeriesID TimeSeries ID
TypeNo Source data format
UnitNo Unit type