Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Connection to xarray-assets STAC extension pilot? #16

@weiji14

Description

@weiji14

Hi there, I've started using xpystac recently after the v0.0.1 release and really like the simple xr.open_dataset(stac_asset, engine="stac") interface that's just a single entrypoint to any STAC Asset!

Question though on what are the next steps for this? I've been reading the discussion at stac-utils/pystac#846 (comment), and also noticed https://github.com/stac-extensions/xarray-assets (cc @TomAugspurger). At the moment, xpystac=0.0.1 seems to only handle the engine parameter in xr.open_dataset:

https://github.com/jsignell/xpystac/blob/051d0ac15b42a60dfc330b6cacf5e8653d4edbd9/xpystac/core.py#L55-L63

Is the idea that other xr.open_dataset parameters like chunks, decode_cf, backend_kwargs, etc would need to be passed in by the user, or read automatically from the xarray-assets STAC extension (xref stac-extensions/xarray-assets#3) if available? This is starting to sound very similar to https://github.com/intake/intake-xarray in some ways, but I'd like to hear more thoughts on how things should 'ideally' work.

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