Check the Setup
- Python 3.10 or newer
- An internet connection
- The requests and rasterio Python packages
USGS one arc-second elevation GeoTIFF tiles for measuring terrain relief and ruggedness across mapped regions.
Report a ProblemFrom Source to Product Signal
The National Map stages 3DEP one arc-second GeoTIFF tiles, including historical versions pinned by HouseHunter. Start with one small coastal tile; a bare raster value cannot be interpreted without no-data, unit, and datum metadata.
Install the packages, then run the notebook cell.
python -m pip install requests rasterio
import requests
from rasterio.io import MemoryFile
url = "https://prd-tnm.s3.amazonaws.com/StagedProducts/Elevation/1/TIFF/historical/n32w081/USGS_1_n32w081_20220725.tif"
response = requests.get(url, timeout=35)
response.raise_for_status()
with MemoryFile(response.content) as memory:
with memory.open() as tile:
overview = tile.read(1, out_shape=(36, 36), masked=True)
print(tile.bounds, tile.nodata, float(overview.min()), float(overview.max()))Test a Useful Signal
Show a tile's geographic bounds and the range of sampled elevation values.
U.S. Geological Survey is a government source. Last verified 2026-09-28. Temporal coverage: current and historical one arc-second tile vintages.