GeoscienceAustralia / digitalearthau

Code and tools for Digital Earth Australia (a deployment of Open Data Cube)
https://geoscienceaustralia.github.io/digitalearthau/
31 stars 21 forks source link

Add string representation of CRS as a new metadata field in C3 products #280

Closed robbibt closed 3 years ago

robbibt commented 3 years ago

It would be valuable for users to be able to query GA Collection 3 data by a dataset's native CRS. For example, this could be used as a filter to load only EPSG:32656 data along a UTM boundary where both EPSG:32655 and EPSG:32656 CRSs exist (e.g. to ensure all data is loaded in native CRS with no resampling).

This could be resolved by:

dc.load(product='ga_ls8c_ard_3',
        crs_str='epsg:32656',
        **query)

This would be required for the following GA Collection 3 products only (with the longer term aim to also include this metadata for Sentinel-2 too if those products are upgraded to become part of Collection 3 in the future):

This change would also need to be implemented on both the NCI and Sandbox/AWS environments so that data can be loaded consistently across DEA environments.

jeremyh commented 3 years ago

❯ # Can we see it in the fields? Yes! ❯ datacube dataset search product=ga_ls8c_ard_3 --limit 1 id: 9781d762-6f48-4da5-b1a4-3657bb5abdfc product: ga_ls8c_ard_3 status: active locations:

@whatnick Who should we assign to run the same update on AWS+Sandbox datacubes?

alexgleith commented 3 years ago

Probably needed to have assigned me, @jeremyh!

jeremyh commented 3 years ago

Deployed by @omad to the AWS sandbox and dev databases.

Closing issue (reopen if you find problems)