HmsGaugeData¶
Compatibility facade for gauge-first metadata, basin, HUC, and pour-point primitives.
hms_commander.HmsGaugeData
¶
Gauge-first hydrology primitives.
This is a thin compatibility facade over HmsHydrologyContext so older code
can keep importing HmsGaugeData while the actual implementation lives in the
study module.
HmsGaugeData
¶
Primitive-first USGS/NLDI gauge and gauge-driven context helpers.
Source code in hms_commander/HmsGaugeData.py
normalize_site_id(site_id)
staticmethod
¶
get_nldi_feature_id(site_id)
staticmethod
¶
get_usgs_gauge_metadata(site_id, session=None)
staticmethod
¶
Fetch combined NLDI and NWIS metadata for a gauge.
get_usgs_gauge_point_feature(site_id=None, gauge_metadata=None, session=None)
staticmethod
¶
Build a point FeatureCollection for a gauge site.
Source code in hms_commander/HmsGaugeData.py
get_nldi_basin_from_gauge(site_id, session=None)
staticmethod
¶
Fetch the NLDI basin for a gauge.
get_nhdplus_upstream_flowlines_from_gauge(site_id, distance_km=25.0, session=None)
staticmethod
¶
Fetch upstream flowlines for a gauge.
Source code in hms_commander/HmsGaugeData.py
get_nhd_huc_boundary_from_gauge(site_id, huc_level='huc12', session=None)
staticmethod
¶
Fetch the containing HUC boundary for a gauge location.
Source code in hms_commander/HmsGaugeData.py
get_nhd_huc8_boundary_from_gauge(site_id, session=None)
staticmethod
¶
Convenience wrapper for HUC8 context.
Source code in hms_commander/HmsGaugeData.py
get_nhd_huc12_boundary_from_gauge(site_id, session=None)
staticmethod
¶
Convenience wrapper for HUC12 context.
Source code in hms_commander/HmsGaugeData.py
build_pour_point_feature(coordinates=None, gauge_metadata=None, properties=None)
staticmethod
¶
Build a TauDEM-style pour point FeatureCollection.