Skip to content

SUGGESTION: STAC asset read properties; add chunks size and other xarray read kwargs to assets #50

@Scartography

Description

@Scartography

The chunk sizes are available as part of .zmetadata

The zmetadata also contains potentially other useful information, especially for I/O drivers implementation.

But for now the chunk size of the written file chunks (saved arrays) should be visible at the asset/assets group level this would an "equivalent" of BLOCKXSIZE and BLOCKYSIZE for tiffs for instance [BLOCKXSIZE](https://gdal.org/en/stable/drivers/raster/gtiff.html#creation-options).

Bottom line is that this would expose this information for user to read only the chunks as they are written and multitude if they wish to do so to stick to or enforce default I/O (read) behavior based on the written data.

There might be some other useful xarray.open_dataset kwargs, but this one is important especially to optimize read request for targeted chunks.

Petr

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