-
-
Notifications
You must be signed in to change notification settings - Fork 267
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
Recipes for loading Zarr arrays onto Spark RDD #523
Comments
cc @ryan-williams (in case you have thoughts 😉) |
@dokooh - I can't speak for Spark RDD specifically, but the general approach would be to implement a lightweight https://docs.python.org/3/library/collections.abc.html#collections.abc.MutableMapping If you take care to make sure your mapping is pickleable, it can be serialized and used for distributed computations using dask. |
cc @tomwhite (who also may have thoughts here 🙂) |
@dokooh Did you succeed in loading |
There are a few ways you could do this, but my guess is that strategies similar to those we use in Xarray-Beam could be effective. Beam has a very similar data model to Spark's RDD. |
We did as I have been told, although the smaller the chunks the easier it was to load them so we kept the zarr sizes to only several months per each year and faced no issues. |
Thanks Stephen, have heard of Beam as it has gained attention in wider large data processing community, it will be added to my to-do list for a try out. |
Hi,
I am experimenting with a large count of NetCDF ND-arrays which I have compressed (Blosc/level3) and stored in Zarr, using the latest stable version via PyPi, and with help of Azure Blob container (ABStore) integration.
Momentarily I am trying to parallelize a selection of the variables onto Spark RDD. I was wondering if anyone here has been down this road, and knows the optimal way of doing this? Any tips and tricks are more than helpful.
The most relevant library I have spotted seems to be Zappy:
https://github.com/lasersonlab/zappy
Which has been archived and the build status is not stable, so I am hesitant to try it.
Thanks for your attention before hand.
The text was updated successfully, but these errors were encountered: