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

Code Examples for the Common Cases in Multiple Languages #91

Open
wildintellect opened this issue Nov 1, 2023 · 3 comments
Open

Code Examples for the Common Cases in Multiple Languages #91

wildintellect opened this issue Nov 1, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@wildintellect
Copy link
Contributor

There are 2 main users stories: Data Producers and Data Users

  • Each of these groups needs some examples (overlapping if a User then becomes a Producer)
    • Producer - Making data in the format
    • User - Reading data in a cloud-optimized way
  • The examples need to exist in several languages, some are better for Producers and others Users
    • Producer - Python, R, Julia?, Commandline GDAL/OGR?
    • Users - Python, R, Julia, Javascript, Commandline GDAL/OGR?

The matrix of Producer/User * Language * Format = number of code samples

Level 2 would be to also include various common authentication issues, also in all the languages.

  • rasterio/GDAL env variables
  • S3/Azure/GCP
  • NASA/USGS EarthData
  • ESA SentinelHub?
  • Planetary Computer

As pointed out in #83 using quarto tabsets would be a nice way to keep adding languages as people make examples for the same thing.

@wildintellect wildintellect added the enhancement New feature or request label Nov 1, 2023
@wildintellect
Copy link
Contributor Author

Generally we should defer the STAC portion to https://stacspec.org/en/tutorials/ with the exception if STAC results are the input to the loading (e.g. stackstac). So we should start with knowing the URL to the item we want to read.

Also depth examples that do more than just read parts of a file should find similar appropriate homes like
https://projectpythia.org/
Maybe R depth examples can go to https://r-spatial.org

@wildintellect
Copy link
Contributor Author

Quick check, we're looking at up to 72 code examples with the proposed options (not all may be valid)
9 languages(across 2 use types) * 8 = 72

@wildintellect
Copy link
Contributor Author

Note for R examples:

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

No branches or pull requests

1 participant