hydromt.DataArray.raster.sample#
- DataArray.raster.sample(gdf, wdw=0)#
Sample from map at point locations with optional window around the points.
- Parameters:
gdf (
geopandas.GeoDataFrame
) – GeoDataFrame with Point geometrieswdw (
int
) – Number of cells around point location to sample from
- Returns:
ojb_out – Output sample data
- Return type:
xr.Dataset
orxr.DataArray