Skip to content

xarray_as_sits to support zarr #1397

@dpabon

Description

@dpabon

Describe the requested improvement

Hi Gilberto @gilbertocamara thanks again for the workshop yesterday. To follow the discussion, I think having the functionality to convert an xarray object as sits will be remarkable to use local Zarr cubes. One way to achieve this can be the following in Python:

A zarr file local or remote through S3 that follows the GeoZarr convention -> open zarr with xarray -> transform the xarray to sits using xarray_as_sits -> do your analysis using sits -> convert the results to xarray using sits_as_xarray -> write the results to disk as zarr


Currently (as far as I know), in R there is not an easy way to read zarr or GeoZarr. There is a blog entry from Pebezma: https://r-spatial.org/r/2022/09/13/zarr.html and some development in stars r-spatial/stars#663

So for the potential R implementation of xarray_as_sits or zarr_as_sits I'm not sure how this can work. Or if out of the scope of sits package.

Thanks in advance for your time and help.

Cheers,
Daniel

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions