Open whatnick opened 1 week ago
Thanks for opening your first issue here at xarray! Be sure to follow the issue template! If you have an idea for a solution, we would really welcome a Pull Request with proposed changes. See the Contributing Guide for more. It may take us a while to respond here, but we really value your contribution. Contributors like you help make xarray better. Thank you!
@whatnick Thanks for the report. It would help here if you could provide an MCVE.
What happened?
Data was loaded into Xarray via OpenDataCube
dc.load
method. This Xarray was persisted to Zarr usingWhen this zarr is loaded back using
The round tripped dataset has scaling applied with encodings saved in bands e.g.
ds_z.red.encoding
asThe values returned do not have the scaling auto-applied.
What did you expect to happen?
Scaling to DataArrays is auto-applied when rounding tripping to-from Zarr via Xarray.
Minimal Complete Verifiable Example
MVCE confirmation
Relevant log output
No response
Anything else we need to know?
No response
Environment