Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Parsing of float in workflow #802

Merged
merged 1 commit into from
Aug 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
[runtime]
{% for model_field in LFRIC_MODEL_LEVEL_MODEL_FIELDS %}
{% for mlevel in LFRIC_MODEL_LEVELS %}
[[process_lfric_generic_mlevel_spatial_plot_sequence_{{model_field}}_{{mlevel}}]]
{% set formatted_level = mlevel|string|replace('.', 'p') %}
[[process_lfric_generic_mlevel_spatial_plot_sequence_{{model_field}}_{{formatted_level}}]]
inherit = PARALLEL
[[[environment]]]
CSET_RECIPE_NAME = "lfric_generic_mlevel_spatial_plot_sequence.yaml"
CSET_ADDOPTS = "--VARNAME='{{model_field}}' --MLEVEL='{{mlevel}}'"

[[collate_lfric_generic_mlevel_spatial_plot_sequence_{{model_field}}_{{mlevel}}]]
[[collate_lfric_generic_mlevel_spatial_plot_sequence_{{model_field}}_{{formatted_level}}]]
inherit = COLLATE
[[[environment]]]
CSET_RECIPE_NAME = "lfric_generic_mlevel_spatial_plot_sequence.yaml"
Expand Down
5 changes: 3 additions & 2 deletions cset-workflow/includes/plot_spatial_mlevel_model_field.cylc
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
[runtime]
{% for model_field in MODEL_LEVEL_MODEL_FIELDS %}
{% for mlevel in UM_MODEL_LEVELS %}
[[process_generic_mlevel_spatial_plot_sequence_{{model_field}}_{{mlevel}}]]
{% set formatted_level = mlevel|string|replace('.', 'p') %}
[[process_generic_mlevel_spatial_plot_sequence_{{model_field}}_{{formatted_level}}]]
inherit = PARALLEL
[[[environment]]]
CSET_RECIPE_NAME = "generic_mlevel_spatial_plot_sequence.yaml"
CSET_ADDOPTS = "--VARNAME='{{model_field}}' --MLEVEL='{{mlevel}}'"

[[collate_generic_mlevel_spatial_plot_sequence_{{model_field}}_{{mlevel}}]]
[[collate_generic_mlevel_spatial_plot_sequence_{{model_field}}_{{formatted_level}}]]
inherit = COLLATE
[[[environment]]]
CSET_RECIPE_NAME = "generic_mlevel_spatial_plot_sequence.yaml"
Expand Down