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 datacubeindexing purpose.
3) Add logic to convert tif files to geotiff files in converter/cogeo.py file.
Abstract for this pull request
Existing
cog
conversion tool only works onnetCDF
file. Update the code to cogtif
files as perodc-metadata
document and also generate a legacymetadata
file that is compatible withdatacube rc1.7
.Proposed solutions
1) Add new ard sample product configurations in
converter/aws_products_config.yaml
file 2) Update theqsub-cog
function inconverter/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 fordatacube
indexing
purpose. 3) Add logic to converttif
files togeotiff
files inconverter/cogeo.py
file.