MetOffice / MetOffice/CSET

Handle vertical levels generically

Open
#1,103 9 comments 0 reactions 1 assignee Claimed by @jwarner8 View on GitHub
enhancement
Dominant language
Python
Stars
33
Forks
19
Avg merge
1d 22h
Merged PRs (30d)
30

Description

### What problem does your feature request solve?

There are multiple kinds of vertical levels, such as pressure or model level. This is exacerbated in LFRic world, where we also have half_levels and full_levels, and the names are different. This prevents recipes that handle vertical levels from being model agnostic.

### Describe the solution you'd like

We should have a lookup for the vertical coordinate in a cube, similar to the `get_cube_yxcoordnames` utility function. This will allow operators to correctly handle any cube without regard to the vertical levels. Then a single recipe and rose-edit entry can be added.

### Describe alternatives you've considered

Pressure should probably be handled separately, at least in rose edit, as it would be more meaningful to select specific pressure values than for other levels.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.