Skip to content

Archive Enhancement — Migrate Template Variables from Jinja to Python #3910

@AntonMFernando-NOAA

Description

@AntonMFernando-NOAA

What new functionality do you need?

  • The archiving process includes two separate components: local archiving (arch_vrfy) and external tar creation (arch_tar).

  • Local archiving includes, archiving of ensemble output files and archiving of deterministic (control) output files.

  • The logic, cycle variables, and COM path definitions for local archiving should be moved into the Python scripts. The YAML files should be limited to specifying only the details of which files are archived.

What are the requirements for the new functionality?

Upon completion, archive workflows will rely solely on Python-based logic for all template variable generation and substitution, with reduced reliance on Jinja. This will result in:

  • Better modularity and testing

  • Unified configuration and error handling

  • Smoother future enhancements to archive processing

Acceptance Criteria

  • All cycle and archive-related variable substitution previously in Jinja templates is fully migrated to Python (archive.py or similar)

Suggest a solution (optional)

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions