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

✨ PySTACAPISearchIterDataPipe to query dynamic STAC Catalogs #59

Merged
merged 8 commits into from
Sep 17, 2022

Commits on Sep 14, 2022

  1. ➕ Add pystac-client

    Python client for STAC Catalogs and APIs!
    weiji14 committed Sep 14, 2022
    Configuration menu
    Copy the full SHA
    c144144 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2022

  1. ✨ PySTACAPISearchIterDataPipe for searching STAC Catalogs

    An iterable-style DataPipe to make STAC API queries! Uses pystac-client to perform the STAC API Item Search. Included a doctest that does a STAC API search which returns an iterable list of STAC item objects. Added a new section in the API docs and an intersphinx mapping.
    weiji14 committed Sep 16, 2022
    Configuration menu
    Copy the full SHA
    f36ea26 View commit details
    Browse the repository at this point in the history
  2. ✅ Unit test to do STAC query and return ItemSearch

    Ensure that a spatiotemporal query can be made to a STAC API /search/ endpoint to produce an instance of a pystac_client.ItemSearch object containing pointers to multiple pystac.Item objects. Also removed a for-loop that was accidentally added after a yield statement.
    weiji14 committed Sep 16, 2022
    Configuration menu
    Copy the full SHA
    9429d01 View commit details
    Browse the repository at this point in the history
  3. ♻️ Reserve kwargs for Client.open instead of Client.search

    Decided that it is cleaner to pass in all the STAC API query parameters via the source_datapipe, rather than through both the source_datapipe and kwargs. The kwargs can then be kept for keyword arguments into pystac.Client.open. Documented some example parameters for pystac_client.Client.search and pystac_client.Client.open. Updated the unit test and doctest, adding a teaser way to sign planetary_computer assets inplace too!
    weiji14 committed Sep 16, 2022
    Configuration menu
    Copy the full SHA
    a379091 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2022

  1. ✅ Unit test to set pystac_client.Client.open parameters

    Ensure that parameters such as authentication keys can be passed to pystac_client.Client.open. Using a fake API key for Radiant MLHub, which can only take us so far as to getting a title and description.
    weiji14 committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    e800f90 View commit details
    Browse the repository at this point in the history
  2. 💚 Remove client validate because jsonschema not installed

    Fix Continuous Integration failure because jsonschema had to be installed but it is an optional dependency.
    weiji14 committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    0b786b9 View commit details
    Browse the repository at this point in the history
  3. 🔀 Merge branch 'main' into pystac_client/item_search

    Bump oauthlib from 3.2.0 to 3.2.1
    weiji14 committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    f1f85c1 View commit details
    Browse the repository at this point in the history
  4. 📦 Create new extras dependency section for the STAC stack

    Move pystac and pystac-client to a dedicated `stac` extras section for spatiotemporal dependencies! Also updated index page with instructions on installing these STAC dependencies.
    weiji14 committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    3aa2143 View commit details
    Browse the repository at this point in the history