GeoscienceAustralia / dea-orchestration

4 stars 1 forks source link

STAC configuration update for all the products #97

Closed ashoka1234 closed 5 years ago

ashoka1234 commented 5 years ago

Introduction

The scope of this PR is the configuration update to handle flexible catalogue structure. The following types of catalog structure configurations were tested:

      - x_{x}
      - x_{x}/y_{y}
      - lon_{lon}
      - lon_{lon}/lat_{lat}
      - mangrove_cover/{x}_{y}
      - L2/sentinel-2-nrt/S2MSIARD
      - L2/sentinel-2-nrt/S2MSIARD/{year:4}-{month:2}-{day:2}

In addition to serverless script that deploy the lambda function given in stac.py, there are four scripts that can be used to maintain the STAC catalog for all the products. The README.md explains in detail each of the scripts as well as configuration information. The default configuration file is stac_config.yaml.

Testing

The following are example runs that could be cross checked with the STAC catalog files in dea-public-data-dev AWS bucket: