Closed gdkrmr closed 1 year ago
I have figured out the reason: Some of the variables have add_offset
and scale_factor
as attributes, which makes DiskArrays
fail the way it does. While adding an offset of zero and scale of 1 does not make much sense, DiskArrays
should not choke on it either.
me@mycomputer:/DataCube/v3.0.1/esdc-8d-0.25deg-256x128x128-3.0.1.zarr$ rg -n \"add_offset\" */.*
latent_energy/.zattrs
8: "add_offset": 0.0,
net_ecosystem_exchange/.zattrs
8: "add_offset": 0.0,
net_radiation/.zattrs
8: "add_offset": 0.0,
sensible_heat/.zattrs
8: "add_offset": 0.0,
terrestrial_ecosystem_respiration/.zattrs
8: "add_offset": 0.0,
I am having trouble opening the new Data Cube with YAXArrays when setting
fill_as_missing = true
, it works fine without the parameter.Maybe it is because the time axis is an Int instead of a Float.