opendatacube / de_hackathon_2024

For the joint Digital Earth Australia/Antarctica/Pacific ODC hackathon, September 2024.
Apache License 2.0
0 stars 1 forks source link

de_hackathon_2024

For the joint Digital Earth Australia/Antarctica/Pacific ODC hackathon, September 2024.

Antimeridian examples

Sentinel-2 GeoMAD

This STAC Item crosses the antimeridian (180/-180 degrees longitude).

Sentinel-2 Scene (from Element-84)

This STAC Item also crosses the antimeridian.

Copernicus DEM

Two adjoining STAC Items that cross the antimeridian a bit

Opinionated dev environment

The environment folder has an opinionated dev environment, with a range of antimeridian dataset indexing examples. All examples can be indexed, but fail when loading.

To get the environment set up, you need to have installed Docker as well as some Python libraries:

pip install odc-apps-dc-tools datacube

Export some environment variables:

export ODC_DEFAULT_DB_HOSTNAME=localhost
export ODC_DEFAULT_DB_USERNAME=dearth
export ODC_DEFAULT_DB_PASSWORD=dearthdbpassword
export ODC_DEFAULT_DB_DATABASE=dearth
export ODC_DEFAULT_INDEX_DRIVER=postgis

Then use Make to set things up: