GeoscienceAustralia / dea-cogger

Convert NetCDFs to Cloud Optimized GeoTIFFs
15 stars 4 forks source link

Make interpolation of overviews configurable #4

Closed andrewdhicks closed 6 years ago

andrewdhicks commented 6 years ago

Overviews are being created with 'average' interpolation hard-coded: https://github.com/GeoscienceAustralia/COG-Conversion/blob/master/netcdf-cog.py#L138-L139

For categorical data like WOFLS and PQ, we need the default 'nearest' interpolation, so that values are not altered to a new category.

emmaai commented 6 years ago

Done!