GeoscienceAustralia / dea-cogger

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

Cog new ard collection upgrade sample #29

Closed santoshamohan closed 4 years ago

santoshamohan commented 5 years ago

Abstract for this pull request

Existing cog conversion tool only works on netCDF file. Update the code to cog tif files as per odc-metadata document and also generate a legacy metadata file that is compatible with datacube rc1.7.

Proposed solutions

1) Add new ard sample product configurations in converter/aws_products_config.yaml file 2) Update the qsub-cog function in converter/cog_conv_app.py file, to scan the *odc-metadata.yaml file and generate work list. Also, add new code for creating the legacy metadata file for datacube indexing purpose. 3) Add logic to convert tif files to geotiff files in converter/cogeo.py file.

omad commented 4 years ago

Outdated PR. Closing