You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I might be missing something or it's just an internal xarray implementation (to handle missing values in integer data types), and I would appreciate if somebody could, please, clarify.
I am saving int16 data to Zarr store and provide the type in encodings settings. When reading data back in from the Zarr store the datatype is of float32 type.
Is it expected?
Is original data still saved to the Zarr as int16 type?
I see expected dtype of int16 of the read back in data if I omit the missing_value setting for the encoding.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I might be missing something or it's just an internal
xarrayimplementation (to handle missing values in integer data types), and I would appreciate if somebody could, please, clarify.I am saving
int16data to Zarr store and provide the type in encodings settings. When reading data back in from the Zarr store the datatype is offloat32type.Is it expected?
Is original data still saved to the Zarr as
int16type?I see expected
dtypeofint16of the read back in data if I omit themissing_valuesetting for the encoding.Produces output:
Beta Was this translation helpful? Give feedback.
All reactions