0

The cube in a box comes with an indexing script for Sentinel2 data, as below

lon_center = XX.YY
lat_center = XZ.XY
buffer = 0.5

bbox = [lon_center - buffer, lat_center - buffer, lon_center + buffer, lat_center + buffer]

start_date = '2019-02-01'
end_date = '2020-02-28'

collections = ['sentinel-s2-l2a-cogs']

config = {
    'collections': collections,
    'bbox': bbox,
    'datetime': f"{start_date}/{end_date}"
}

STAC_API_URL = 'https://explorer.sandbox.dea.ga.gov.au/stac/'

os.environ['STAC_API_URL'] = STAC_API_URL 

How to index the Landsat data and other datasets such as MODIS ?

3
  • Is your question about: how to index new data in the datacube? – Andrea Massetti Apr 13 at 8:13
  • @AndreaMassetti, Yes – chetan Apr 19 at 5:50
  • What is not clear from the documentation? Have you tried the use cases provided in the docs but you get stuck somewhere? – Andrea Massetti Apr 20 at 12:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.