You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
UFSDA jobs were not included in the initial COM refactor work (#1421). These jobs will all need to be updated to use the new structure and templates before they can run again.
Requirements
UFSDA jobs that utilize the new COM templates to generate COM directory paths.
Acceptance Criteria (Definition of Done)
Functional UFSDA jobs
(Optional): Suggest A Solution
There are two approaches we can take. The first is to define the full paths in the j-job using the templates, as is done for most of the existing global-workflow jobs, and update the python to expect full paths (with dates and cycles). The second is to use the templates directly in the python (reading the *_TMPL variables from the environment) and using Rahul's Template class to fill in the variables.
Recommend the first for now where feasible, though the latter may be needed if iterating over members in python (similar to how the EnKF exscripts have to do it). The Template class will need a minor update to proceed with option 2: The templates reply on the bash substitution replacing undefined variables with an empty string (mainly to replacing $MEMDIR for the deterministic files), but the class currently leaves any variables it doesn't have substitutions for as-is. It will need to be updated to provide the option to replace undefined variables with an empty string.
I've converted this issue into an Epic and created sub-issues for each UFSDA job. For each, I assigned whoever has been making the PRs for that job (and myself). If I messed up or something has changed, please go ahead and change the assignees (or ask me to if you can't).
After my COM refactor presentation this afternoon, please let me know how I can assist you to get these all back up and running as quickly as possible.
Description
UFSDA jobs were not included in the initial COM refactor work (#1421). These jobs will all need to be updated to use the new structure and templates before they can run again.
Requirements
UFSDA jobs that utilize the new COM templates to generate COM directory paths.
Acceptance Criteria (Definition of Done)
Functional UFSDA jobs
(Optional): Suggest A Solution
There are two approaches we can take. The first is to define the full paths in the j-job using the templates, as is done for most of the existing global-workflow jobs, and update the python to expect full paths (with dates and cycles). The second is to use the templates directly in the python (reading the
*_TMPL
variables from the environment) and using Rahul's Template class to fill in the variables.Recommend the first for now where feasible, though the latter may be needed if iterating over members in python (similar to how the EnKF exscripts have to do it). The Template class will need a minor update to proceed with option 2: The templates reply on the bash substitution replacing undefined variables with an empty string (mainly to replacing
$MEMDIR
for the deterministic files), but the class currently leaves any variables it doesn't have substitutions for as-is. It will need to be updated to provide the option to replace undefined variables with an empty string.Dependency: #1421
EPIC Issues:
Update UFSDA Aerosols for COM refactor
Update UFSDA ATM anl for COM refactor
Update UFSDA ATM EnKF for COM refactor
Update UFSDA Marine for COM refactor
Update UFSDA Land for COM refactor
The text was updated successfully, but these errors were encountered: