Skip to content

Fix writing/reading for subsecond outputdt - #2806

Merged
erikvansebille merged 3 commits into
Parcels-code:mainfrom
erikvansebille:subsecond_particlefile_support
Aug 12, 2026
Merged

Fix writing/reading for subsecond outputdt#2806
erikvansebille merged 3 commits into
Parcels-code:mainfrom
erikvansebille:subsecond_particlefile_support

Conversation

@erikvansebille

Copy link
Copy Markdown
Member

Description

As mentioned in #2804, the parsing of subsecond output time in parcels.read_particlefile() did not go well. This PR provides a unit test and a quick fix.

Perhaps the fix should be a bit more robust? Open to suggestions!

Checklist

AI Disclosure

None

@erikvansebille
erikvansebille enabled auto-merge (squash) August 12, 2026 12:20
@erikvansebille
erikvansebille merged commit e94e10e into Parcels-code:main Aug 12, 2026
15 of 16 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in Parcels development Aug 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Output time column truncated to seconds, causing duplicate timestamps at milli-second output frequency

2 participants