We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Array fld_info is allocated to have the size of NRECOUT+100 elements, here:
fld_info
NRECOUT+100
UPP/sorc/ncep_post.fd/SET_OUTFLDS.f
Line 147 in 7830246
but only first nrecout elements are initialized.
nrecout
allocate(fld_info(NRECOUT+100)) do i=1,nrecout fld_info(i)%ifld = 0 fld_info(i)%lvl = 0 fld_info(i)%lvl1 = 0 fld_info(i)%lvl2 = 0 fld_info(i)%ntrange = 0 fld_info(i)%tinvstat = 0 enddo
Why are this 100 extra elements needed? If they are needed, then the loop that initializes fld_info must be extended to nrecout+100.
The text was updated successfully, but these errors were encountered:
@HuiyaChuang-NOAA Do you have any background information for the this inurement?
Sorry, something went wrong.
This section was written by Lin Gan. I assumed he did that to avoid array out of bound?
No branches or pull requests
Array
fld_info
is allocated to have the size ofNRECOUT+100
elements, here:UPP/sorc/ncep_post.fd/SET_OUTFLDS.f
Line 147 in 7830246
but only first
nrecout
elements are initialized.Why are this 100 extra elements needed? If they are needed, then the loop that initializes fld_info must be extended to nrecout+100.
The text was updated successfully, but these errors were encountered: