Skip to content

supplementary variables disappear from cubes after extract_region #2162

Description

@rebeccaherman1

After poking around a bit more, I believe that the cell_measures and all other supplementary variables actually are disappearing from the cubes upon applying extract_region, whereas I would have expected information from spatially-anchored supplementary variables simply to be extracted over the same region. This seems like a major shortcoming to me, not least because to use area_statistics (which requires cell_area) over any specific region, you need to use extract_region first.

Discussed in #2161

Originally posted by rebeccaherman1 August 1, 2023
I am using this notebook as a guide while I attempt to develop my recipe and diagnostic scripts. Upon loading the initial cube, I believe I see that the supplementary variable areacella included in the cube as cell_area under Cell measures, but the moment I restrict the domain with extract_region, Cell measures disappears, taking cell_area with it. Is areacella no longer part of the cube? If it is, where did it go?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions