Skip to content

Improve cfdm.read performance for UGRID datasets - #422

Merged
davidhassell merged 14 commits into
NCAS-CMS:mainfrom
davidhassell:ugrid-speed
Aug 26, 2026
Merged

davidhassell merged 14 commits into
NCAS-CMS:mainfrom
davidhassell:ugrid-speed

Conversation

@davidhassell

Copy link
Copy Markdown
Contributor

Fixes #421

@davidhassell davidhassell added this to the NEXTVERSION milestone Aug 13, 2026
@davidhassell davidhassell added bug Something isn't working performance Relating to speed and memory performance UGRID Relating to UGRID mesh topologies dataset read Relating to reading datasets labels Aug 13, 2026

@sadielbartholomew sadielbartholomew 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.

Great stuff! I also see much improvement in read-in speed for UGRID datasets on this branch, as per the goal. Even with the fairly humble ugrid_global_2.nc file from the cf-python test suite it is about 3 times as fast to read in with these changes 🚀

Please merge after the typo fix suggestion.

Comment thread cfdm/read_write/netcdf/netcdfread.py Outdated
@davidhassell
davidhassell merged commit 1f7fd8c into NCAS-CMS:main Aug 26, 2026
@davidhassell davidhassell removed the bug Something isn't working label Aug 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dataset read Relating to reading datasets performance Relating to speed and memory performance UGRID Relating to UGRID mesh topologies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve cfdm.read performance for UGRID datasets

2 participants