Skip to content

Commit

Permalink
Correct level coordinate read in recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
jfrost-mo committed Aug 23, 2024
1 parent 38b0e5c commit 2636cf0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/CSET/operators/read.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ def _check_input_files(input_path: Path | str, filename_pattern: str) -> Iterabl
FileNotFoundError:
If the provided arguments don't resolve to at least one existing file.
"""
logging.debug("Checking '%s' for pattern '%s'", input_path, filename_pattern)
# Convert string paths into Path objects.
if isinstance(input_path, str):
input_path = Path(input_path)
Expand Down
2 changes: 1 addition & 1 deletion src/CSET/recipes/generic_plevel_histogram_series.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ steps:
varname: $VARNAME
model_level_constraint:
operator: constraints.generate_level_constraint
coordinate: "model_level_number"
coordinate: pressure
levels: $PLEVEL

- operator: plot.plot_histogram_series
Expand Down

0 comments on commit 2636cf0

Please sign in to comment.