MetOffice / CSET

Toolkit for evaluation and investigation of numerical models for weather and climate applications.
https://metoffice.github.io/CSET/
Apache License 2.0
8 stars 1 forks source link

COLLATE and PARALLEL families trip cylc validate when no recipes requested #616

Closed JorgeBornemann closed 1 month ago

JorgeBornemann commented 1 month ago

Describe the bug

This is a side effect of having recipes and METPlus tasks in include files: When trying to run cset-workflow for METPlust tasks only, there are no collate and parallel tasks imported from the includes/{recipe}.cylc files and cylc verify fails with GraphParseError: family trigger on non-family namespace {expr} Note that METPlus tasks have cycling over meteorological variables and other cycling options already built in, so it is unlikely that this problem will disappear with future development; this may also be the case for simple diagnostics that don't need a parallel/collate approach.

How to reproduce

Steps to reproduce the behaviour:

  1. Set to False all diagnostics
  2. run cylc validate ./

Expected behaviour

cset-workflow will pass cylc validate and launch OK, triggering the METPlus tasks.

Environment