Skip to content

Rename asset_names to variable_names #40

@konstntokas

Description

@konstntokas

Pro

Cons

  • A STAC item contains multiple assets, and each asset links to a dataset that may include one or more data variables. When the store opens a STAC item, it merges all assets into a single dataset and handles variable naming as follows:
    • Single-variable dataset: The variable is renamed to the asset name. (This is useful for rioxarray, where the variable is often called band_1.)
    • Multi-variable dataset: Each variable is renamed to <asset_name>_<variable_name>.

The idea is that users select data according to the STAC catalog — seeing asset names — but the dataset’s internal variable names don’t always match those asset names. Therefore, these are referred to as asset_names.

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