Bugfix: Fix Stat-Analysis errors for jobs using the -dump_row
option and the -line_type
option with VCNT, RPS, DMAP, or SSIDX
#2888
Labels
MET: Aggregation Tools
priority: medium
Medium Priority
requestor: NOAA/EMC
NOAA Environmental Modeling Center
type: bug
Fix something that is not working
Milestone
Describe the Problem
This bug arose via dtcenter/METplus#2583. Recommend fixing it in the develop branch for inclusion in the MET-12.0.0 release.
The
STATAnalysisJob::dump_stat_line(...)
function instat_job.cc
writes output to the file specified by the-dump_row
command line option. When-line_type
specifies exactly one line type to be written, the header columns for that specific line type are written to the first line of that-dump_row
file. Logic is missing for writing header columns for the VCNT, WDIR, RPS, DMAP, and SSIDX line types. Note that WDIR and SSIDX are only written by Stat-Analysis itself. Need to check whether Stat-Analysis can actually read those lines back in as input.Here's an example error message that's written:
Expected Behavior
Update Stat-Analysis to support
-dump_row dump.stat -line_type ABC
for allABC
line types that exist.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.
No impacts.
Bugfix Checklist
See the METplus Workflow for details.
Branch name:
bugfix_<Issue Number>_main_<Version>_<Description>
Pull request:
bugfix <Issue Number> main_<Version> <Description>
Select: Reviewer(s) and Development issue
Select: Milestone as the next bugfix version
Select: Coordinated METplus-X.Y Support project for support of the current coordinated release
Branch name:
bugfix_<Issue Number>_develop_<Description>
Pull request:
bugfix <Issue Number> develop <Description>
Select: Reviewer(s) and Development issue
Select: Milestone as the next official version
Select: MET-X.Y.Z Development project for development toward the next official release
The text was updated successfully, but these errors were encountered: