# USGS National Hydrography Dataset (NHD) High Resolution: Streams, Lakes and Flowlines, 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/NHD (us-west-2)
- Access: public, readable without an account
- Category: Environmental Science
- Source: https://www.usgs.gov/national-hydrography/national-hydrography-dataset
- Page: https://scigantic.com/archive/a07073a5-d79d-5a6d-824e-3a71f4d9734c
- Keywords: Environmental Science, JPEG, AWS Open Data

## About

The USGS National Hydrography Dataset (NHD) at high resolution maps the surface-water drainage network of the United States at 1:24,000 or larger scale (1:63,360 or larger in Alaska): rivers, streams, canals, lakes, ponds, reservoirs, swamps and marshes, coastline, dams and streamgages. The core flow network is the NHDFlowline feature class, with NHDWaterbody and NHDArea polygons, NHDLine and NHDPoint features, linear-referenced event layers (point, line and area events such as streamgages), and tables for flow relations, reach-code history, source citations and feature-code domains. The Watershed Boundary Dataset (WBD) ships as a second feature dataset in the geodatabase. This is the publisher's own staged copy on The National Map, partitioned into National/, State/, HU4/ and HU8/ folders, each offered as Esri File Geodatabase (GDB), GeoPackage (GPKG) and, for state and subregion cuts, Shapefile; the national GeoPackage is about 43 GB zipped and the TNM Access API lists about 8,160 NHD downloads. USGS retired NHD maintenance on 1 October 2023 in favor of the 3D Hydrography Program (3DHP); the files remain available as the final snapshot. Read with GDAL/OGR, geopandas, pyogrio or QGIS. U.S. Public Domain; cite U.S. Geological Survey, National Hydrography 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/NHD/', 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/NHD/HU4/GDB/`

## Open it

- In a hosted notebook with the data mounted: https://scigantic.com/archive/a07073a5-d79d-5a6d-824e-3a71f4d9734c
- Full record as JSON (schema card included): https://api.scigantic.com/api/archives/a07073a5-d79d-5a6d-824e-3a71f4d9734c
- Over MCP: `get_schema_card` with id `a07073a5-d79d-5a6d-824e-3a71f4d9734c` at https://api.scigantic.com/mcp

## Related topics

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