pydata / xarray

N-D labeled arrays and datasets in Python
https://xarray.dev
Apache License 2.0
3.49k stars 1.04k forks source link

promote floating-point numeric datetimes to 64-bit before decoding #9182

Closed keewis closed 5 days ago

keewis commented 5 days ago

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.

keewis commented 5 days ago

let's merge, then!