Skip to content

Commit

Permalink
Issue:A indexing out of bounds issue shown in the global_4denvar regr…
Browse files Browse the repository at this point in the history
…ession test in setuprad.f90 #676
  • Loading branch information
TingLei-daprediction committed Jan 11, 2024
1 parent 275ee0d commit 70ed687
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/gsi/setuprad.f90
Original file line number Diff line number Diff line change
Expand Up @@ -1103,9 +1103,9 @@ subroutine setuprad(obsLL,odiagLL,lunin,mype,aivals,stats,nchanl,nreal,nobs,&

predbias=zero
abi2km_bc = zero
abi2km_bc(2) = 233.5_r_kind
abi2km_bc(3) = 241.7_r_kind
abi2km_bc(4) = 250.5_r_kind
if (2.le.size(abi2km_bc)) abi2km_bc(2) = 233.5_r_kind
if(3.le.size(abi2km_bc)) abi2km_bc(3) = 241.7_r_kind
if(4.le.size(abi2km_bc)) abi2km_bc(4) = 250.5_r_kind

!$omp parallel do schedule(dynamic,1) private(i,mm,j,k,tlap,node,bias)
do i=1,nchanl
Expand Down

0 comments on commit 70ed687

Please sign in to comment.