Opened 9 years ago
Closed 9 years ago
#430 closed defect (fixed)
Fix bug in OmA and OmB diagnostics
Reported by: | Ian Culverwell | Owned by: | Ian Culverwell |
---|---|---|---|
Priority: | normal | Milestone: | 9.0 |
Component: | ropp_1dvar | Version: | 8.0 |
Keywords: | Cc: |
Description
One can sometimes find (eg attached)
*** max(omb), min(omb) = 9.99990e+07 -9.99990e+07 *** max(oma), min(oma) = 9.99990e+07 -9.99990e+07
when examining the diagnostic output variables OmB and OmA from ropp_1dvar_{bangle/refrac}. The -ropp_MDFV values presumably come from unmasked missing A (or B) values being used in the differencing.
This can probably (needs checking) be cured by replacing
WHERE (obs % bangle > ropp_MDTV) diag % OmA = (obs % bangle - diag % res_bangle % bangle) ELSEWHERE diag % OmA = ropp_MDFV END WHERE
with
WHERE ( (obs % bangle > ropp_MDTV) .AND. & (diag % res_bangle % bangle > ropp_MDTV) ) diag % OmA = (obs % bangle - diag % res_bangle % bangle) ELSEWHERE diag % OmA = ropp_MDFV END WHERE
in ropp_1dvar_diagnostics.f90. Similarly for OmB in ropp_qc_omb.f90.
Attachments (2)
Change history (6)
by , 9 years ago
Attachment: | atm20120612_neut.nc added |
---|
comment:1 by , 9 years ago
Yes, that seems to work. Changes
ncks -Q -H -ddim_unlim,2 -ddim_lev1b,0 -vOmA,OmB IT-1DVAR-04_y_cntl.nc OmA[600]=9.9999e+07 OmB[600]=9.9999e+07 ncmax OmA IT-1DVAR-04_y_cntl.nc 9.9999e+07 ncmax OmB IT-1DVAR-04_y_cntl.nc 9.9999e+07
to
ncks -H -Q -ddim_unlim,2 -ddim_lev1b,0 -vOmA,OmB IT-1DVAR-04_y_test1.nc OmA[600]=-9.9999e+07 OmB[600]=-9.9999e+07 ncmax OmA IT-1DVAR-04_y_test1.nc 0.00444357 ncmax OmB IT-1DVAR-04_y_test1.nc 0.00522239
Code changes committed at r4772.
comment:2 by , 9 years ago
($ROPP_ROOT/Work/ROPP9.0/ropp_1dvar/OmA/test1.sh test script attached for reference.)
comment:4 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
atm20120612_neut.nc