Is there a way to disable run_post task in the workflow (I'm using the develop branch) #848
-
Hi- I'm using the develop branch for some work at NCAR on Online-CMAQ, and I see that the config param RUN_TASK_RUN_POST: has gone away in recent months. I don't see any equivalent in config_defaults.yaml -- the only mention is that using WRITE_DOPOST: true will disable the run_post task. But I do not need WRITE_DOPOST. Is there any way to turn off run_post without enabling some other post-processing step? Thank you, -Paddy McCarthy. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi Paddy, Yes! There has been a restructuring of the workflow recently, and documentation is still catching up. Now, workflow tasks live in the
To turn off run_post, I believe you just remove the Hope this helps! Best, |
Beta Was this translation helpful? Give feedback.
-
Thank you for the tip Gillian! This worked just as you described. I wanted to add one piece of info to this thread, for future readers. If you enable a taskgroup, but don't want all the child tasks to execute, the solution is to add those tasks as parameters with empty values. My example may not apply to all users, because it's for running Online-CMAQ. But the same principle applies. Here, we needed to run
Thank you again for the pointer, -Paddy. |
Beta Was this translation helpful? Give feedback.
Hi Paddy,
Yes! There has been a restructuring of the workflow recently, and documentation is still catching up. Now, workflow tasks live in the
parm/wflow
yaml files. Inconfig.yaml
, you can set which of these files/tasks run in therocoto: tasks: taskgroups:
section:To turn off run_post, I believe you just remove the
parm/wflow/post.yaml
from the list of taskgroups to run.Hope this helps!
Best,
Gillian Petro | EPIC Advanced User Support Team