SciTools / iris

A powerful, format-agnostic, and community-driven Python package for analysing and visualising Earth science data
https://scitools-iris.readthedocs.io/en/stable/
BSD 3-Clause "New" or "Revised" License
633 stars 283 forks source link

Make it easy to extract coords as separate cubes, and the reverse "injection" #3726

Open pp-mo opened 4 years ago

pp-mo commented 4 years ago

Motivating examples:

Actually, this should almost certainly apply to other multidimensional cube components, not just coords. I.E. cell-measures + ancillaries as well. ( cf. https://github.com/SciTools/iris/pull/3600, which proposes similar extensions to iris.util.new_axis )

See reference code ideas in : https://github.com/pp-mo/iris/pull/61


This idea was originally pushed as a WIP PR : https://github.com/SciTools/iris/pull/3485 , but that was confusing. So, now it's an issue instead.

stephenworsley commented 2 years ago

This is still of interest and we believe there is enough demand to justify doing some work on this.