[Bug]: qbo
set unify_plev()
does not return new variable with sorted Z axis
#825
Labels
bug
Bug fix (will increment patch version)
What happened?
This bug was caught while working on #664.
unify_plev()
is supposed to sort the Z axis in ascending order. However, this operation is not performed in-place/in-memory on the object so the Z axis is never updated.e3sm_diags/e3sm_diags/driver/qbo_driver.py
Lines 180 to 182 in 898329f
e3sm_diags/e3sm_diags/driver/qbo_driver.py
Lines 22 to 35 in 898329f
I'm not sure if this bug has been affecting any downstream computations or plotting.
What did you expect to happen? Are there are possible answers you came across?
unify_plev()
needs to return thevar
objecttest_region = unify_plev(test_region)
andref_region = unify_plev(ref_region)
Minimal Complete Verifiable Example (MVCE)
No response
Relevant log output
No response
Anything else we need to know?
No response
Environment
Latest
e3sm_diags
onmain
and stable buildThe text was updated successfully, but these errors were encountered: