Skip to content

Fixing handling singleton dimensions in NEMO - #3051

Merged
erikvansebille merged 5 commits into
Parcels-code:mainfrom
erikvansebille:fix_nemo_singleton_dimensions
Nov 13, 2026
Merged

erikvansebille merged 5 commits into
Parcels-code:mainfrom
erikvansebille:fix_nemo_singleton_dimensions

Conversation

@erikvansebille

Copy link
Copy Markdown
Member

Description

This PR improves convert.nemo_to_sgrid() by supporting singleton ("mock") dimensions, which were introduced after this convert-function. This means we can now also support NEMO files without time, as well as depth. This thus fixes #3050

Checklist

AI Disclosure

  • This PR contains AI-generated content.
    • I have tested any AI-generated content in my PR.
    • I take responsibility for any AI-generated content in my PR.
    • Describe how you used it (e.g., by pasting your prompt):

Discussion about the bit on singleton z on 2D mesh_mask variables (e.g. fmask)

@erikvansebille erikvansebille changed the title Fixing handling SIngleton dimensions in NEMO Fixing handling Singleton dimensions in NEMO Nov 9, 2026
@erikvansebille erikvansebille changed the title Fixing handling Singleton dimensions in NEMO Fixing handling singleton dimensions in NEMO Nov 10, 2026
@erikvansebille
erikvansebille enabled auto-merge (squash) November 13, 2026 06:05
@erikvansebille
erikvansebille merged commit 2db88d4 into Parcels-code:main Nov 13, 2026
20 of 21 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in Parcels development Nov 13, 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.

Support for time-constant Nemo fields

2 participants