-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Dataset.encode_cf function #4412
Comments
Not at the moment. I think we should add an Lines 740 to 793 in 66259d1
It'll also need to wrap this logic: Lines 1113 to 1127 in 66259d1
For simple use cases, you could write a small wrapper for |
Ok thanks @dcherian! I'll try that (feel free to close this). |
Related request for This came up in the discussion today. |
I would like to be able to apply CF encoding to an existing DataArray (or multiple in a Dataset) and then store the encoded forms elsewhere. Is this already possible?
More specifically, I would like to encode a large array of 32-bit floats as 8-bit ints and then write them to a Zarr store using rechunker.
I'm essentially after this pangeo-data/rechunker#45 (Xarray support in rechunker), but I'm looking for what functionality exists in Xarray to make it possible in the meantime.
The text was updated successfully, but these errors were encountered: