dtcenter / METplus

Python scripting infrastructure for MET tools.
https://metplus.readthedocs.io
Apache License 2.0
97 stars 37 forks source link

Enhance the Stat Analysis Additional Filename Template Tags #2639

Open CPKalb opened 1 month ago

CPKalb commented 1 month ago

Describe the Enhancement

The lead time templates in Stat Analysis do not allow formatting. So, {lead?fmt=%3H} in Stat-Analysis always produces the lead time in HHMMSS (like 030000); the time templates have no effect. The specific tags this applies to are listed below. We should allow formatting for lead time in the Stat-Analysis special templates. Allowing formatting will also mean that we have some redundant tags. I don't know if these are used for another purpose in the wrapper or in use cases, or if they could be removed.

Tags that should allow formatting and currently don't support it: lead fcst_lead obs_lead

Tags that don't allow formatting but will become redundant once formatting is supported in the above tags: lead_hour lead_min lead_sec lead_totalsec fcst_lead_hour fcst_lead_min fcst_lead_sec fcst_lead_totalsec obs_lead_hour obs_lead_min obs_lead_sec obs_lead_totalsec

Time Estimate

Estimate the amount of work required here. Issues should represent approximately 1 to 3 days of work.

Sub-Issues

Consider breaking the enhancement down into sub-issues.

Relevant Deadlines

List relevant project deadlines here or state NONE.

Funding Source

Define the source of funding and account keys here or state NONE.

Define the Metadata

Assignee

Labels

Milestone and Projects

Define Related Issue(s)

Consider the impact to the other METplus components.

Enhancement Checklist

See the METplus Workflow for details.