|
| 1 | +# Name of the recipe. |
| 2 | +title: Surface air temperature spatial plot |
| 3 | +# Category of recipe, used to group together multiple recipes in output. |
| 4 | +category: Quick look |
| 5 | +# Description will be displayed alongside output. |
| 6 | +description: | |
| 7 | + Extended description that can go across multiple lines. It is written in |
| 8 | + [Markdown](https://commonmark.org/help/) and can thus contain links and |
| 9 | + _formatting_. |
| 10 | +
|
| 11 | +# Sequence of steps to run. |
| 12 | +steps: |
| 13 | + # Specify the operator to run in each step. |
| 14 | + - operator: read.read_cubes |
| 15 | + # Specify the name of the argument, and its value. |
| 16 | + file_paths: "/users/sowens/WeatherGenerator/test_CSETinput/*.nc" |
| 17 | + |
| 18 | + - operator: filters.filter_cubes |
| 19 | + # Can specify extra keyword arguments as sub-maps. |
| 20 | + constraint: |
| 21 | + operator: constraints.combine_constraints |
| 22 | + var_constraint: |
| 23 | + # Can nest in another operator to use its output as an argument, |
| 24 | + # multiple levels deep if needed. |
| 25 | + operator: constraints.generate_var_constraint |
| 26 | + # Input implicitly taken from the previous step, but can be overridden |
| 27 | + # by using the appropriate keyword argument. |
| 28 | + varname: m01s03i236 |
| 29 | + cell_method_constraint: |
| 30 | + operator: constraints.generate_cell_methods_constraint |
| 31 | + # Values can be more than just strings, such as this empty list. |
| 32 | + cell_methods: [] |
| 33 | + |
| 34 | + # Save a sequence of plots, one per time. |
| 35 | + - operator: plot.spatial_pcolormesh_plot |
| 36 | + |
| 37 | + # Save a single cube with all the processed data. |
| 38 | + - operator: write.write_cube_to_nc |
| 39 | + overwrite: True |
0 commit comments