Skip to content

Read a 2D var from a "in file" or "in memory" 3D var #30

@andreapiacentini

Description

@andreapiacentini

The usage of the UFO AODMetOffice operator require a separate geoval for the surface pressure (2D field) and the pressure at interfaces (3D field).
In the case of the MONARCH BSC model, the last level of the pressure at interfaces (top to bottom) is exactly the surface pressure, therefore there is no 2D field for the surface pressure in the MONARCH output files. We can preprocess the files for extracting the last level and creating the 2D field, but that could be done by the VIND I/O too.
In the current implementation we cannot

  • alias the surface pressure to the same in file variable as the pressure at interfaces. Even if the number of levels is different, it is forbidden as a duplicate. Mainly for avoiding output rush conditions.
  • read in a 2D variable a single level of a 3D field from a NetCDF file.

We could see hot to work it out, but we could also think about creating specialized variables which extract a subset of levels from an existing already loaded variable. These specialized variables would not be in the write either.

Food for thoughts.

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions