creare-com / podpac

Pipeline for Observational Data Processing Analysis and Collaboration
https://podpac.org
Apache License 2.0
45 stars 6 forks source link

ENH: Implementing direct reading from Rasterio Overviews. #475

Closed mpu-creare closed 3 years ago

mpu-creare commented 3 years ago

Adding option to pull data from overviews when the request is coarser than the data resolution.

To use this new functionality, set the prefer_overviews attribute to True.

mpu-creare commented 3 years ago

I merged rapidly, but would still like someone to look at the code. I needed this on geowatch.

coveralls commented 3 years ago

Coverage Status

Coverage increased (+2.9%) to 90.075% when pulling 93b6f071995e499aa9d06398e1999f867ae753a6 on features/rasterio_overviews into f1e47655148fcf41079b8029bce621e55f1e9eda on develop.

jmilloy commented 3 years ago

I'll take a look on Monday.

mpu-creare commented 3 years ago

Shall we add some tests?

Yes I/we should... but I didn't have a geotiff with overviews handy.