-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
release/gfsda.v16.30 updates #474
Comments
… in read_prepbufr.f90 (NOAA-EMC#474)
getsigensmeanp_smooth_ncep.f90 bug Examination of parallel output found that The one character bug fix was added to a working copy of |
Close this issue with merge of PR #475 into authoritative |
This issue is opened to document two updates in forked branch
RussTreadon-NOAA/GSI/release/gfsda.v16.3.0
:bufr/11.7.0
gsi.x
compiled with-check all
seg faulted inread_prepbufr.f90
due to VADWND quality controlbufr/11.7.0
The GSI references bufr routine
isetprm
which exercise dynamic allocation. Whengsi.x
is built using non-DA versions ofbufr/11.5.0
or lower, the following run time message is generatedbufr/11.6.0
and above include dynamic allocation in the standard modules. Tests thus far indicate that moving tobufr/11.7.0
does not alter analysis results. To buildgsi.x
withbufr/11.7.0
, the default bufr version inmodulefiles/gsi_common.lua
is changed from11.5.0
to11.7.0
. With the switch tobufr/11.7.0
the above warning message is not generated at run time.VADWND quality control
The GFS v16.3.0
gsi.x
was built with the-check all
compiler option. NCO performs this test in their pre-implementation IT testing. The 2021121400 gdas was run on Cactus.gsi.x
aborts inread_prepbufr.f90
when processing observation typekx=224
(VADWND) withnewvad=.true.
The section in
read_prepbufr.f90
which loads thecdata_all
array for uv observations includes VADWND quality control.Quality control tests if
.true.
cause program execution to jump to the top ofloop_k_levs
orloop_readsb
. This is problematic.The observation counter
iout
is incremented prior to these quality control tests. If VADWND quality control tiggers a cycle, the observation counteriout
is not decremented. As a result, there areiout
for whichcdata_all
is not loaded with actual data. In this casecdata_all(:,iout)
retains the0.0
to which the entire array was initialized. This, in turn, causes the-check all
gsi.x
to fail when it executes the following block later on inread_prepbufr.f90
cdata_out(10,k)=0.0
soikx=0
. Array elementictype(0)
is out of bounds. Execution aborts.A check of read_prepbufr.f90 shows that for all
obstype
except uv,cycle_loop_k_levs
andcycle loop_readsb
occur beforeiout
is incremented. Onlykx==224.and.newvad
has cycle lines afteriout
is incremented.The following short term patch is proposed
Tests of this patch have shown that it does not alter analysis results.
The text was updated successfully, but these errors were encountered: