Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any plans to include metadata URLs alongside the visual.tif URLs? #5

Closed
marklit opened this issue Oct 26, 2023 · 1 comment · Fixed by #9
Closed

Any plans to include metadata URLs alongside the visual.tif URLs? #5

marklit opened this issue Oct 26, 2023 · 1 comment · Fixed by #9

Comments

@marklit
Copy link

marklit commented Oct 26, 2023

Maxar's ARD deliverables can contain ~17 metadata files for any given visual.tif https://ard.maxar.com/docs/getting-started/about-sample-data-001/

📁 {bucket) maxar-data-samples
└── 📁 {prefix} sample-001
    └── 📁 {UTM-zone} 10
        └── 📁 {quadkey} 120020223032
            └── 📁 {date of acquisition} 2016-10-08
            └─╴📄 103001005D31F500-cloud-mask.gpkg
            └─╴📄 103001005D31F500-cloud-shadow-mask.gpkg
            └─╴📄 103001005D31F500-clouds.tif
            └─╴📄 103001005D31F500-data-mask.gpkg
            └─╴📄 103001005D31F500-healthy-vegetation.tif
            └─╴📄 103001005D31F500-healthy-vegetation-mask.gpkg
            └─╴📄 103001005D31F500-pan-flare.tif
            └─╴📄 103001005D31F500-pan-flare-mask.tif
            └─╴📄 103001005D31F500-ms-saturation-mask.gpkg
            └─╴📄 1103001005D31F500-ms-saturation.tif
            └─╴📄 103001005D31F500-ms.tif
            └─╴📄 103001005D31F500-pan.tif
            └─╴📄 103001005D31F500-terrain-shadow-mask.gpkg
            └─╴📄 103001005D31F500-terrain-shadows.tif
            └─╴📄 103001005D31F500-visual.tif
            └─╴📄 103001005D31F500-water-mask.gpkg
            └─╴📄 103001005D31F500-water.tif
            └─╴📄 103001005D31F500.json

I tested some URLs and they do look to occasionally be accessible for some of the datasets linked to in this project.

$ for FILENAME in 10300100DE4D9300-cloud-mask.gpkg \
                  10300100DE4D9300-cloud-shadow-mask.gpkg \
                  10300100DE4D9300-clouds.tif \
                  10300100DE4D9300-data-mask.gpkg \
                  10300100DE4D9300-healthy-vegetation.tif \
                  10300100DE4D9300-healthy-vegetation-mask.gpkg \
                  10300100DE4D9300-pan-flare.tif \
                  10300100DE4D9300-pan-flare-mask.tif \
                  10300100DE4D9300-ms-saturation-mask.gpkg \
                  10300100DE4D9300-ms.tif \
                  10300100DE4D9300-pan.tif \
                  10300100DE4D9300.json; do
      RESP=`curl -Is https://maxar-opendata.s3.amazonaws.com/events/New-Zealand-Flooding23/ard/60/213311212310/2022-12-11/$FILENAME | head -n1`
      if [[ $RESP == *"HTTP/1.1 200 OK"* ]]; then
          echo $FILENAME
      fi
  done
10300100DE4D9300-data-mask.gpkg
10300100DE4D9300-ms.tif
10300100DE4D9300-pan.tif
10300100DE4D9300.json

Any plans to name these URLs specifically within the GeoJSON manifest files?

@giswqs
Copy link
Member

giswqs commented Nov 11, 2023

Sorry for the delay. I somehow missed this issue. Looking into it now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants