Bugfix: Fix PBL derivation bug in main_v11.1
by porting over fix from develop
#2902
Closed
9 of 23 tasks
Labels
MET: PreProcessing Tools (Point)
priority: high
High Priority
requestor: DTC/SRW
DTC Short Range Weather T&E
type: bug
Fix something that is not working
Milestone
Describe the Problem
This issue arose via the dtcenter/METplus#2599. @gsketefian points out that the PB2NC tool does not create reproducible results for MET version 11.1.0. Testing reveals that the differences arise when deriving the following 2 PBL observations:
Here's detailed log output that demonstrate the issue:
Note that bad values being passed as input the
calpbl_
function.This bad data arises during the pressure-level-reversal step. Pressure level data is read from the PREPBUFR file in decreasing pressure level order (i.e. surface level first). The PBL derivation logic expects data in the opposite order (i.e. surface level last). The bug occurs in the reversal step.
This bug does NOT exist in the develop branch since it was fixed by this commit:
f051fac88e9e5e2632d2c9ef38de8fa8a3315fc3
For this issue, simply cherry-pick that commit from develop into main_v11.1 and confirm that the log messages listed above no longer contain garbage values.
To Reproduce
Go to
seneca:/d1/projects/METplus/discussions/2599
and runtest_pb2nc.sh
.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 expected.
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: