Skip to content

Make stage-in more user-friendly #93

Description

@pont-us

This issue is a follow-up of #23.

Once basic handling of Directory input parameters for EOAP-compliant stage-in is implemented, we can consider user-friendly automated processing options to present staged-in data to the notebook code.

  • The simplest implementation would be just to read each catalog.json into a pystac Catalog object and place it in the global namespace for the user to traverse. This should probably be implemented as well as any more sophisticated solutions, to ensure that everything is accessible even if xcengine's heuristics don't pick it up.

  • xcengine could traverse the STAC catalogue itself, pulling out likely-looking assets (probably by MIME type) and populating a dictionary for the user. This would be more convenient for the user than the rather boilerplatey process of digging through a STAC hierarchy with pystac.

See commits in cc69d74 and 2bdddff for some initial work in this direction.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions