GeoscienceAustralia / dea-cogger

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

Patch cog stackfiles #20

Closed santoshamohan closed 5 years ago

santoshamohan commented 5 years ago

Request for this pull request

Initial allocated memory of 31GB per CPU would work fine with smaller netCDF files, however cog conversion fails if we input stacked netCDF files. Also, insufficient memory also resulted in cog conversion errors while copying source overviews.

Proposed solution

1) Increase memory to 62GB per Node. 2) Enable copy_src_overviews to true as part of default profile template instead of enabling them within rasterio.shutil.copy process.