Skip to content

STATIC FILES: Read combined yaml directly for static source information#50

Merged
ceblanton merged 17 commits intomainfrom
48.wf-script-edits
Apr 1, 2025
Merged

STATIC FILES: Read combined yaml directly for static source information#50
ceblanton merged 17 commits intomainfrom
48.wf-script-edits

Conversation

@singhd789
Copy link
Copy Markdown
Contributor

@singhd789 singhd789 commented Mar 6, 2025

Files rewritten to parse yaml file directly instead of rose-app.conf:

  • remap-pp-components
  • form_task_parameters.py
  • form_remap_dep.py

Static, per-component, implementation also includes:

  • removing DO_STATICS from flow.cylc
  • creating DO_REGRID_STATIC and DO_NATIVE_STATIC

@singhd789 singhd789 marked this pull request as ready for review March 11, 2025 21:46
@singhd789 singhd789 requested review from ceblanton and ilaflott March 12, 2025 19:00
@singhd789 singhd789 marked this pull request as draft March 12, 2025 20:38
Dana Singh added 4 commits March 13, 2025 17:13
- update remap-pp-components to load and read yaml file
- update flow.cylc to actually use combine-statics script
@singhd789
Copy link
Copy Markdown
Contributor Author

Note: regrid-xy rose-app.conf still needs to include static sources. It seems this might work if the static sources were added to the source list in the rose-app configs (fre-cli configure-script-yaml edit).

@ceblanton
Copy link
Copy Markdown
Contributor

Looks good! Thank you especially for getting rid of the rose parsing from form-task-parameters. One down, and a few to go :)

@singhd789 singhd789 marked this pull request as ready for review March 21, 2025 13:33
- remove "rewrite"
- in addressing a plyint message about `form_remap_dep`, I messed up the flow.cylc b/c the arguments were not in the right order (corrected!)
# else
# echo "$(ls $outputDir/$comp)"
# fi

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much Dana for this big update. It works well, hooray!

A commented debug code block here is a victimless crime in this shell script whose days are numbered...

Copy link
Copy Markdown
Contributor

@ceblanton ceblanton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fantastic! Thank you! I tested it and it worked as expected.

@ceblanton ceblanton merged commit d495b93 into main Apr 1, 2025
1 check passed
@ilaflott ilaflott deleted the 48.wf-script-edits branch August 12, 2025 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants