Accessing watershed boundary-level data through web services.
- class pygeohydro.watershed.WBD(layer, outfields='*', crs=4326)#
Access Watershed Boundary Dataset (WBD).
This web service offers Hydrologic Unit (HU) polygon boundaries for the United States, Puerto Rico, and the U.S. Virgin Islands. For more info visit: https://hydro.nationalmap.gov/arcgis/rest/services/wbd/MapServer
str, optional) – A valid service layer. Valid layers are:
list, optional) – Target field name(s), default to “*” i.e., all the fields.
pyproj.CRS, optional) – Target spatial reference, default to
Get the full watershed boundary for a given HUC level.
This function is designed for cases where the full watershed boundary is needed for a given HUC level. If only a subset of the HUCs is needed, then use the
pygeohydro.WBDclass. The full dataset is downloaded from the National Maps’ WBD staged products.
int) – HUC level, must be even numbers between 2 and 16.
geopandas.GeoDataFrame– The full watershed boundary for the given HUC level.
Get monthly water use for irrigation at HUC12-level for CONUS.
Dataset is retrieved from https://doi.org/10.5066/P9FDLY8P.