Skip to content

Convert from/to iris cubes - #981

Merged
davidhassell merged 4 commits into
NCAS-CMS:mainfrom
davidhassell:iris-from-to
Nov 25, 2026
Merged

davidhassell merged 4 commits into
NCAS-CMS:mainfrom
davidhassell:iris-from-to

Conversation

@davidhassell

Copy link
Copy Markdown
Collaborator

Fixes #979

Needs PR #980 (cf.from_xarray and cf.to_xarray) to be merged first!

@davidhassell davidhassell added this to the NEXTVERSION milestone Nov 20, 2026
@davidhassell davidhassell added the enhancement New feature or request label Nov 20, 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.

Lovely. Minor comments only. One in general: following on from a point from I missed in post-review discussion in sister PR NCAS-CMS/cfdm#444, that applies here also, it would be nice to add an 'iris interconversion' section to the packaging extras_requires so that it is easy to install and track the required deps.

cf-python/setup.py

Lines 157 to 193 in ec14876

extras_require = {
"required C libraries": ["udunits2==2.2.25"],
"test": [
"pytest",
"pycodestyle",
"coverage",
],
"release": [
"build",
"twine",
],
"regridding": ["esmpy>=8.7.0", "ESMF>=8.0"],
"convolution filters, derivatives, relative vorticity": ["scipy>=1.1.0"],
"subspacing with multi-dimensional construct cells": ["matplotlib>=3.0.0"],
"documentation": [
"sphinx>=7.0.0",
"sphinx-copybutton",
"sphinx-toggleprompt",
"sphinxcontrib-spelling",
],
"pre-commit hooks": [
"pre-commit",
"black",
"docformatter",
"flake8",
],
"zarr": [
"zarr>=3.1.3",
],
"xarray": [
"xarray>=2026.7.0",
],
"coordinates": [
"healpix>=2025.1",
"pyproj>=3.7.2",
],
}

Please merge when ready.

Comment thread cf/test/test_iris.py Resolved
Comment thread cf/test/test_iris.py Resolved
Comment thread cf/test/test_iris.py Resolved
Comment thread cf/iris_utils.py Resolved
davidhassell and others added 3 commits November 25, 2026 08:28
Co-authored-by: Sadie L. Bartholomew <sadie.bartholomew@ncas.ac.uk>
Co-authored-by: Sadie L. Bartholomew <sadie.bartholomew@ncas.ac.uk>
@davidhassell
davidhassell merged commit 2912cf2 into NCAS-CMS:main Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Convert to/from iris cubes

2 participants