-
Notifications
You must be signed in to change notification settings - Fork 25
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
_yaml method for stac obj #108
Conversation
@jhamman Can you approve the workflow? |
@scottyhq and @martindurant - if you have a minute to take a look here, your review would be appreciated. To review, the goal here is to enabling serialization of intake-stac objects. Things got complicated because intake-stac maintains a reference to underlying stac objects which, requires some careful packing/unpacking. |
@@ -354,7 +363,7 @@ def __init__(self, key, asset): | |||
name=key, | |||
description=asset.title, | |||
driver=driver, | |||
direct_access=True, | |||
direct_access='allow', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In hindsight, this is far from obvious! It won't matter to anyone not running an Intake server.
Thanks again for working on this @jukent! |
Per NASA-ACCESS work with @jhamman
This PR makes it so
.yaml()
will accept a stac-obj and create a YAML that includes all of the data for its assets.Recreation of #103 in a safe branch.
One file (
sandbox.ipynb
) will be removed before push.