# USGS Watershed Boundary Dataset (WBD): Hydrologic Unit (HUC2 to HUC16) Boundaries, The National Map Staged Products

## Facts

- Provider: U.S. Geological Survey, National Geospatial Program (The National Map)
- License: Public Domain (US Government work) (https://www.usgs.gov/faqs/what-are-terms-uselicensing-map-services-and-data-national-map)
- Format: JPEG (in sampled files)
- Stored at: Amazon S3, s3://prd-tnm/StagedProducts/Hydrography/WBD (us-west-2)
- Access: public, readable without an account
- Category: Environmental Science
- Source: https://www.usgs.gov/national-hydrography/watershed-boundary-dataset
- Page: https://scigantic.com/archive/393284ce-4cf4-5e1d-88ec-5fc22a1d0800
- Keywords: Environmental Science, JPEG, AWS Open Data

## About

The Watershed Boundary Dataset (WBD) is the seamless national set of hydrologic unit boundaries for the United States, the companion to the National Hydrography Dataset and a component of NHDPlus High Resolution. Each hydrologic unit outlines the land area draining to a point on the stream network, delineated from topographic and hydrologic features rather than political lines. Units nest in eight levels identified by 2- to 16-digit hydrologic unit codes (HUC2 region, HUC4 subregion, HUC6 basin, HUC8 subbasin, HUC10 watershed, HUC12 subwatershed, plus optional HUC14 and HUC16); the dataset is complete nationally through the 12-digit level, including the 10- and 12-digit units across the Canada and Mexico borders, while the 14- and 16-digit levels are partial. This is the publisher's staged copy on The National Map: National/ with a single Esri File Geodatabase (about 2.9 GB zipped) and GeoPackage (about 6.0 GB), and HU2/ with one download per 2-digit region in GDB, GPKG and Shapefile; the TNM Access API lists about 69 WBD downloads. USGS has published an authoritative snapshot as focus moves to the 3D Hydrography Program (3DHP). Open with GDAL/OGR, geopandas or QGIS. U.S. Public Domain; cite U.S. Geological Survey, Watershed Boundary Dataset.

## Load the data

```python
import boto3
from botocore import UNSIGNED
from botocore.client import Config
s3 = boto3.client('s3', region_name='us-west-2', config=Config(signature_version=UNSIGNED))
s3.list_objects_v2(Bucket='prd-tnm', Prefix='StagedProducts/Hydrography/WBD/', Delimiter='/')
```

Lists the files with anonymous access. Runs on any machine, with no cloud account.

## Data structure

File types in sampled files: JPEG

Example file: `StagedProducts/Hydrography/WBD/HU2/GDB/`

## Open it

- In a hosted notebook with the data mounted: https://scigantic.com/archive/393284ce-4cf4-5e1d-88ec-5fc22a1d0800
- Full record as JSON (schema card included): https://api.scigantic.com/api/archives/393284ce-4cf4-5e1d-88ec-5fc22a1d0800
- Over MCP: `get_schema_card` with id `393284ce-4cf4-5e1d-88ec-5fc22a1d0800` at https://api.scigantic.com/mcp

## Related topics

- [Environmental Science datasets](https://scigantic.com/topics/environmental-science)
- [JPEG datasets](https://scigantic.com/topics/jpeg)
