Skip to content

Issue: Consistent dimensions order #2374#2663

Merged
erikvansebille merged 6 commits into
Parcels-code:mainfrom
PeterWolfram:peter_init_branch
Jun 16, 2026
Merged

Issue: Consistent dimensions order #2374#2663
erikvansebille merged 6 commits into
Parcels-code:mainfrom
PeterWolfram:peter_init_branch

Conversation

@PeterWolfram

Copy link
Copy Markdown
Contributor

Changed dimension order to time,z,lat,lon or time,z,y,x for consistency

As requested in issue #2374 changed order of dimensions to be consistent throughout the code.

@erikvansebille erikvansebille left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, two small comments

Comment thread src/parcels/_core/particleset.py
Comment thread src/parcels/_core/particleset.py Outdated
"Y": grid_positions["Y"]["index"],
"Z": grid_positions["Z"]["index"],
}
} # TODO check if reordering to Z,Y,X for dimension order consistency is possible

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So still needs to be done?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, but no change needed and comment is removed.

@erikvansebille erikvansebille left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good; thanks for your contribution, @PeterWolfram

@erikvansebille erikvansebille merged commit 9be378b into Parcels-code:main Jun 16, 2026
16 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in Parcels development Jun 16, 2026
@PeterWolfram PeterWolfram deleted the peter_init_branch branch June 16, 2026 08:15
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.

2 participants