Initial allocated memory of 31GB per CPU would work fine with smaller netCDF files, however cog conversion fails if we input stackednetCDF files.
Also, insufficient memory also resulted in cogconversion 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.
Request for this pull request
Initial allocated memory of
31GB
perCPU
would work fine with smallernetCDF
files, howevercog
conversion fails if we inputstacked
netCDF
files. Also, insufficient memory also resulted incog
conversion
errors while copying source overviews.Proposed solution
1) Increase memory to
62GB
perNode
. 2) Enablecopy_src_overviews
to true as part ofdefault profile template
instead of enabling them withinrasterio.shutil.copy
process.