Skip to content

Remove t_array to prevent duplicate times in dataset#346

Merged
dschwoerer merged 2 commits intomasterfrom
remove-t_array
Apr 28, 2026
Merged

Remove t_array to prevent duplicate times in dataset#346
dschwoerer merged 2 commits intomasterfrom
remove-t_array

Conversation

@mikekryjak
Copy link
Copy Markdown
Collaborator

This is already handled in apply_geometry
Previously, this would only happen if "t" was in dims but not in coords, which could be legacy BOUT++ behaviour?
Keeping two time arrays is asking for trouble.
@mikekryjak mikekryjak added the bugfix Fix for a bug label Apr 27, 2026
@mikekryjak mikekryjak requested a review from dschwoerer April 27, 2026 14:53
@dschwoerer
Copy link
Copy Markdown
Contributor

I am running the tests here with #345 merged into this, to enable tests on lazy loading:
https://github.com/boutproject/xBOUT/actions/runs/25033411523

@dschwoerer
Copy link
Copy Markdown
Contributor

I think the remaining errors are due to dz - I pushed a commit, lets see whether that fixes it.

@dschwoerer dschwoerer merged commit 836ba17 into master Apr 28, 2026
13 checks passed
@dschwoerer dschwoerer deleted the remove-t_array branch April 28, 2026 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Fix for a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants