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

handle zarr files #42

Open
rafaqz opened this issue Apr 25, 2020 · 9 comments
Open

handle zarr files #42

rafaqz opened this issue Apr 25, 2020 · 9 comments
Labels
enhancement New feature or request

Comments

@rafaqz
Copy link
Owner

rafaqz commented Apr 25, 2020

xarray writes zarr files with additional attributes. We should be able to read and write those attributes.

@alex-s-gardner
Copy link
Contributor

alex-s-gardner commented Jan 10, 2022

@rafaqz how big of lift do you think this would be? I’m too new to Julia to be of much use (yet) but I’d really like to start using your package to build tools for analyzing massive S3 hosted zarr arrays .. which I see as the future of geo raster data… we’re currently using xarray but i’d like to move away from python. Anyway… amazing work

@rafaqz
Copy link
Owner Author

rafaqz commented Jan 10, 2022

Zarr is actually supported by netcdf now. So all we have to do is add .zarr to the list of netcdf file types. Making it efficient may be another story, as DiskArrays.jl chunking is not implemented for NCDatasets.jl, that wraps netcdf.

Also, thanks for the support. But excercise some caution switching from Python, and make sure the other benefits are clear. These are immature and unfunded compared to python raster tools.

The ease of development means probably we can match xarray/rasterio in a few years, but you will need to be prepared to make bug reports and work through some problems.

@alex-s-gardner
Copy link
Contributor

@rafaqz thanks for your thoughts and for tempering my expectations... I'll play around with package as is to test performance. Very keen to see Julia become the de-facto tool for analyzing RS data but I see there is still a lot of work to be done. I'll also look around for call that might provide funding to advance capabilities.

@rafaqz
Copy link
Owner Author

rafaqz commented Jan 10, 2022

Be sure to make issues here for anything that is not competetive with Python. There is a new PR aboit to merge that will improve a lot, but lots more use and feedback will be needed to get there.

@alex-s-gardner
Copy link
Contributor

@rafaqz I'm sure you've already stumbled on this package but it has similar goals with some attention given to Zarr format: https://github.com/meggart/YAXArrays.jl

@rafaqz
Copy link
Owner Author

rafaqz commented Jan 11, 2022

Yes, we actually collaborate on DiskArrays.jl that is underneath both packages. But the ecosystem still has no settled on raster packages yet.

@alex-s-gardner
Copy link
Contributor

Just to follow up. I was unsuccessful at reading Zarr files with ArchGDAL or Rasters .... I suspect this functionality will come in the near future

@rafaqz
Copy link
Owner Author

rafaqz commented Jan 14, 2022

Try NCDatasets.jl...

The zarr extension hasnt been added here, as I said above?

@alex-s-gardner
Copy link
Contributor

@rafaqz thanks for the suggestions. I've also had some success with Yaxarry.jl and ESDL.jl but I'm still fumbling around in the dark early in the learning curve... but at least I can see shadows now ;-)

@rafaqz rafaqz added the enhancement New feature or request label May 19, 2024
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