Skip to content
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

Implement support for ZARR file subsetting and downloading #34

Open
pepijn-devries opened this issue Jan 27, 2024 · 4 comments
Open

Implement support for ZARR file subsetting and downloading #34

pepijn-devries opened this issue Jan 27, 2024 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@pepijn-devries
Copy link
Owner

It should be possible to load the ZARR files in R. let's implement this feature...

@dancrear
Copy link

dancrear commented Feb 2, 2024

Hi @pepijn-devries,

Is your comment about ZARR files related to my inquiry? Can you expand more on what you are talking about here? Is this a way to download layers from BGC_001_028 product?

Thanks,
Dan

@pepijn-devries
Copy link
Owner Author

Hi @dancrear,

The Copernicus Marine Service providing the ZARR files is not the same as the STAC service, so in that respect it is not related to your earlier inquiry (issue #36 for the record). Copernicus Marine Services provide a subsetting services that delivers ZARR files, which is related to the service I have implemented as cms_download_subset() (which delivers netcdf files instead). The first produces smaller files and is therefore faster. But because of issue r-spatial/stars#564, I will wait with implementing this feature until that issue has been resolved.

The issue reported here: #33 is about the currently implemented subsetting feature (cms_download_subset()), which apparently does not work for that particular product. As it is unclear what is going wrong there, I will contact the people at Copernicus Marine about that. As an alternative I wish to implement the 'ZARR-feature', which has the problem stated above.

Hopefully, it's a bit more clear now? I wanted to add some links to some documentation about the services and their API, but I could not find any. Which is why I have to rely on reverse engineering on my part (which is not most efficient, I know).

Cheers,

Pepijn

@dancrear
Copy link

dancrear commented Feb 7, 2024 via email

@pepijn-devries
Copy link
Owner Author

Hi @dancrear ,

Note that I'm touch now with the Copernicus Service desk, it may take a while to sort things out. I'll keep you posted here...

Cheers,

Pepijn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants