Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make time consistent in floating-point seconds since epoch across adapters and datasets #287

Closed
milancurcic opened this issue Oct 2, 2023 · 0 comments · Fixed by #336
Closed
Labels
enhancement New feature or request

Comments

@milancurcic
Copy link
Member

See #282 (comment)

We should consistently across datasets return time in xr.Datasets as floating point seconds since epoch (rather than decoding to np.datetime64[ns].

Users can still decode to np.datetime64[ns] if they want and the functions that accept time (and support the same set of arithmetic operators) will continue to work.

@milancurcic milancurcic added the enhancement New feature or request label Oct 2, 2023
@milancurcic milancurcic mentioned this issue Dec 6, 2023
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant