coincident.io.xarray.load_usgs_dem#
- coincident.io.xarray.load_usgs_dem(aoi, project, tnmdataset='Digital Elevation Model (DEM) 1 meter', res=1, clip=False, clip_box=True)[source]#
Load and merge USGS 1-meter DEM tiles based on an AOI by querying the TNM API.
- Parameters:
aoi (
GeoDataFrame) – Area of interest geometry to query againstproject (
str) – Project identifier to filter resultstnmdataset (
str) – TNM dataset identifierres (
int) – Resolution factor to coarsen DEM byclip (
bool) – Use AOI to crop extent and apply valid data maskclip_box (
bool) – Use AOI bounding box to crop extent
- Return type:
- Returns:
The merged (and optionally clipped) DEM mosaic.