Allow raster_to_numpy_array
to return arrays from overviews
#315
Labels
enhancement
New feature or request
raster_to_numpy_array
to return arrays from overviews
#315
In the NCI water quality pipeline, it's convenient to be able to read overviews for some rasters, especially for use in a matplotlib graphic which will be downsampled anyways, rather than the full-resolution array. We can do this with GDAL, but it might be nice to have some of this boilerplate in a nicer function.
I'm thinking that it might be nice to be able to request `pygeoprocessing.raster_to_numpy_array(path, overview=2) and then have it determine the correct overview based on the resolution.
The text was updated successfully, but these errors were encountered: