Bugfix: Fix PB2NC to report accurate total observation counts in log messages #2387
Labels
MET: PreProcessing Tools (Point)
priority: high
High Priority
reporting: DTC NCAR Base
NCAR Base DTC Project
reporting: DTC NOAA BASE
NOAA Office of Atmospheric Research DTC Project
requestor: METplus Team
METplus Development Team
type: bug
Fix something that is not working
Milestone
This was discovered while going through the METplus tutorial first pb2nc example
Describe the Problem
Since MET 10.1, the incorrect total number of obs is reported in the logs. It looks like the total number is higher than the actual number of obs that are written to the output file.
Potential fixes (unverified):
Expected Behavior
The number of observations written to the NetCDF output file should match the number from the log noting the "Total observations retained or derived."
Environment
Describe your runtime environment:
1. Machine: (e.g. HPC name, Linux Workstation, Mac Laptop)
2. OS: (e.g. RedHat Linux, MacOS)
3. Software version number(s)
To Reproduce
Describe the steps to reproduce the behavior:
1. Go to the METplus tutorial first pb2nc example
2. Set the values from the instructions
3. Run the command (or something similar):
4. Confirm the log message looks like this:
5. Run again using pb2nc from MET 10.0.0 or earlier and confirm that the log message looks like this:
and the NetCDF output matches this number.
Relevant Deadlines
List relevant project deadlines here or state NONE.
Funding Source
2792542 NOAA Base
Define the Metadata
Assignee
Labels
Projects and Milestone
Define Related Issue(s)
Consider the impact to the other METplus components.
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: Organization level software support Project for the current coordinated release
Select: Milestone as the next bugfix version
Branch name:
bugfix_<Issue Number>_develop_<Description>
Pull request:
bugfix <Issue Number> develop <Description>
Select: Reviewer(s) and Development issue
Select: Repository level development cycle Project for the next official release
Select: Milestone as the next official version
The text was updated successfully, but these errors were encountered: