Skip to content

Commit

Permalink
Merge pull request #12 from jswhit/bugfix/enkf-readobs
Browse files Browse the repository at this point in the history
GitHub Issue #15.  Fix a bug in EnKF that can cause segfault in a diagnostic print.
  • Loading branch information
MichaelLueken committed Jun 12, 2020
2 parents e2a33cc + afb30bb commit 93cd14b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/enkf/mpi_readobs.f90
Original file line number Diff line number Diff line change
Expand Up @@ -317,8 +317,8 @@ subroutine mpi_getobs(obspath, datestring, nobs_conv, nobs_oz, nobs_sat, nobs_to
maxval(sprd_ob(nobs_conv+nobs_oz+1:nobs_tot))
do nob =nobs_conv+nobs_oz+1 , nobs_tot
if (sprd_ob(nob) > 1000.) then
print *, nob, ' sat spread: ', sprd_ob(nob), ', ensmean_ob: ', ensmean_obbc(nob), &
', anal_ob: ', anal_ob(:,nob), ', mem_ob: ', mem_ob(nob)
print *, nob, trim(obtype(nob)),ob(nob),' sat spread: ', sprd_ob(nob), ', ensmean_ob: ', ensmean_obbc(nob), &
', anal_ob: ', anal_ob(:,nob)
endif
enddo
endif
Expand Down

0 comments on commit 93cd14b

Please sign in to comment.