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
This contains the entry NaN which should be converted to null according to JSON spec. I don't know if the error comes from the xarray, zarr or some other python package, but could we work around this issue by setting non-existing attributes in python to either None, which should be converted to null when encoding to JSON or to empty strings?
The text was updated successfully, but these errors were encountered:
If allow_nan is false (default: True), then it will be a ValueError to serialize out of range float values (nan, inf, -inf) in strict compliance of the JSON specification. If allow_nan is true, their JavaScript equivalents (NaN, Infinity, -Infinity) will be used.
I have problems reading the new datacubes from the Julia API, because the attributes contain some invalid JSON, for example:
This contains the entry
NaN
which should be converted tonull
according to JSON spec. I don't know if the error comes from the xarray, zarr or some other python package, but could we work around this issue by setting non-existing attributes in python to eitherNone
, which should be converted tonull
when encoding to JSON or to empty strings?The text was updated successfully, but these errors were encountered: