-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #272 from MetOffice/271-extent-cset-operator-const…
…raint-model-level Model level constraint operator
- Loading branch information
Showing
3 changed files
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
src/CSET/recipes/meaned_model_level_air_temperature_spatial_plot.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
title: Meaned Model Level Air Temperature Spatial Plot | ||
description: | | ||
Extracts out the instantaneous model level air temperature from a file and writes it | ||
to a new one. | ||
steps: | ||
- operator: read.read_cubes | ||
constraint: | ||
operator: constraints.generate_var_constraint | ||
varname: air_temperature | ||
|
||
- operator: filters.filter_cubes | ||
constraint: | ||
operator: constraints.combine_constraints | ||
varname_constraint: | ||
operator: constraints.generate_var_constraint | ||
varname: air_temperature | ||
model_level_number_constraint: | ||
operator: constraints.generate_model_level_constraint | ||
model_level_number: 2 | ||
cell_methods_constraint: | ||
operator: constraints.generate_cell_methods_constraint | ||
cell_methods: [] | ||
|
||
- operator: collapse.collapse | ||
coordinate: time | ||
method: MEAN | ||
|
||
- operator: plot.spatial_contour_plot | ||
file_path: CSET_OUTPUT_PATH | ||
|
||
- operator: write.write_cube_to_nc | ||
file_path: CSET_OUTPUT_PATH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters