Skip to content

Commit

Permalink
MARS2GRIB update MapLevel rule
Browse files Browse the repository at this point in the history
  • Loading branch information
geier1993 committed Jul 24, 2024
1 parent 6975635 commit 0a05af2
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion share/metkit/mars2grib/rules/MapLevel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,20 @@
key: typeOfLevel
dict: work
default:
pass: null
write:
level:
key: level
default: 0
value-map:
# Level unrelated?? At least according to ClimateDT runs
meanSea: &mapLevelUnrelated
pass: null
lowCloudLayer: *mapLevelUnrelated
mediumCloudLayer: *mapLevelUnrelated
highCloudLayer: *mapLevelUnrelated
oceanSurface: *mapLevelUnrelated


# One surface
snow: &mapLevelToFirstFixedSurface
write:
Expand Down Expand Up @@ -33,3 +45,10 @@ value-map:
seaIceLayer: *mapLevelFixedSurfaces
hybridLayer: *mapLevelFixedSurfaces
oceanModelLayer: *mapLevelFixedSurfaces

# Special
iceLayerAboveWaterSurface: *mapLevelToFirstFixedSurface
waterSurfaceToIsothermalOceanLayer: &mapLevelToSecondFixedSurface
write:
scaledValueOfSecondFixedSurface:
key: level

0 comments on commit 0a05af2

Please sign in to comment.