mapgwm.lookups module¶
Module for importing lookup tables with information that covers the MERAS region (stored in the lookups folder).
e.g. so that the contents of lookups/streamflow_site_comids.csv can be import as a python dictionary with >>> from mapgwm.lookups import streamflow_site_comids
-
mapgwm.lookups.
get_nhdplus_v2_flowline_routing
()[source]¶ read in the NHDPLUS v2 flow routing table from a csv specified in the program /mapgwm/lookups/nhdplus_v2_flowline_routing.csv
User adds:
from mapgwm.lookups import flowline_routing
to a script to retrieve flowline_routing as a dict
-
mapgwm.lookups.
get_streamflow_site_comids
(group=None, groups=None)[source]¶ read in the site comid ID table from a csv specified in the program /mapgwm/lookups/streamflow_site_comids.csv
User adds:
from mapgwm.lookups import streamflow_site_comids
to a script to retrieve streamflow_site_comids as a dict