For the joint Digital Earth Australia/Antarctica/Pacific ODC hackathon, September 2024.
This STAC Item crosses the antimeridian (180/-180 degrees longitude).
This STAC Item also crosses the antimeridian.
Two adjoining STAC Items that cross the antimeridian a bit
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:
make up
do this in its own tab, runs PostGISmake init
initialises the databasemake product
sets up Datacube product definitionsmake index
indexes examples for three products.