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

Use datetime64 natively for particle time throughout codebase (and drop TimeConverter and time_origin) #1876

Draft
wants to merge 1 commit into
base: v4-dev
Choose a base branch
from

Conversation

erikvansebille
Copy link
Member

@erikvansebille erikvansebille commented Feb 24, 2025

This PR removes the TimeConverter Class and time_origin variable for Fields (as suggested in #1844). It als implements native use of numpy.datetime64 and numpy.timedelta64 in the particle execution.

  • Chose the correct base branch (main for v3 changes, v4-dev for v4 changes)
  • Fix the calendar attribute for the output files (particle zarr and field netcdf)

And first attempt at implementing native numpy.datetime64 support for time
@erikvansebille erikvansebille marked this pull request as draft February 24, 2025 11:43
Base automatically changed from 1861-rename-particle to v4-dev February 24, 2025 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Backlog
Status: In progress
Development

Successfully merging this pull request may close these issues.

1 participant