It seems that because of the changed dtype casting rules in numpy>=2, the numeric timestamps are not automatically promoted to 64-bit floating point values anymore so we have to do this manually.
[x] Closes #9179
[x] Closes xarray-contrib/xarray-tutorial#271
[x] Tests added
[x] User visible changes (including notable bug fixes) are documented in whats-new.rst
It seems that because of the changed dtype casting rules in
numpy>=2
, the numeric timestamps are not automatically promoted to 64-bit floating point values anymore so we have to do this manually.whats-new.rst