Skip to content

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

License

Notifications You must be signed in to change notification settings

opendatacube/de_hackathon_2024

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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:

  • make up do this in its own tab, runs PostGIS
  • make init initialises the database
  • make product sets up Datacube product definitions
  • make index indexes examples for three products.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published