Skip to content

Commit c89d9f7

Browse files
committed
Merge branch 'support/lisf-public-7.5'
2 parents 240c887 + c70a372 commit c89d9f7

File tree

10 files changed

+6
-5
lines changed

10 files changed

+6
-5
lines changed

lis/metforcing/gefs/read_gefs_operational.F90

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,9 +329,10 @@ subroutine read_gefs_operational(n, m, findex, order, filename, ferror)
329329
call gefs_shift_longitude( gefs_struc(n)%nc, gefs_struc(n)%nr, &
330330
numpts, gefs_grib_data )
331331

332-
pcp_flag = .true.
333332
! Spatially interp GEFS forcing field to LIS domain:
333+
pcp_flag = .true.
334334
call interp_gefs(n, findex, gefs_grib_data, pcp_flag, varfield )
335+
pcp_flag = .false.
335336

336337
do r=1,LIS_rc%lnr(n)
337338
do c=1,LIS_rc%lnc(n)

lis/metforcing/gefs/timeinterp_gefs.F90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ subroutine timeinterp_gefs(n,findex)
7676
call LIS_time2date(btime,bdoy,gmt2,byr,bmo,bda,bhr,bmn)
7777

7878

79-
!== Interpolate data in time
79+
!== Interpolate data in time
8080

8181
! Check if bookend times differ, else stop ...
8282
if( (gefs_struc(n)%fcsttime2-gefs_struc(n)%fcsttime1)==0 ) then
@@ -130,14 +130,14 @@ subroutine timeinterp_gefs(n,findex)
130130
call ESMF_FieldGet(swdField,localDE=0,farrayPtr=swd,rc=status)
131131
call LIS_verify(status)
132132

133-
zdoy=LIS_rc%doy
134133
do t=1,LIS_rc%ntiles(n)/LIS_rc%nensem(n)
135134
do m=1,gefs_struc(n)%max_ens_members
136135
do k=1,mfactor
137136
tid = (t-1)*LIS_rc%nensem(n)+(m-1)*mfactor+k
138137
index1 = LIS_domain(n)%tile(tid)%index
139138

140139
! Compute and apply zenith angle weights
140+
zdoy=LIS_rc%doy
141141
call zterp( 0, LIS_domain(n)%grid(index1)%lat, &
142142
LIS_domain(n)%grid(index1)%lon, gmt1, gmt2, &
143143
LIS_rc%gmt,zdoy,zw1,zw2,czb,cze,czm,LIS_rc )

lis/testcases/metforcing/gefs/MODEL_OUTPUT_LIST.TBL

100755100644
File mode changed.

lis/testcases/metforcing/gefs/README

100755100644
File mode changed.

lis/testcases/metforcing/gefs/input.ctl

100755100644
File mode changed.

lis/testcases/metforcing/gefs/input_testcase.ctl

100755100644
File mode changed.

lis/testcases/metforcing/gefs/ldt.config

100755100644
File mode changed.

lis/testcases/metforcing/gefs/lis.config

100755100644
File mode changed.

lis/testcases/metforcing/gefs/output.ctl

100755100644
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
DSET ./OUTPUT/SURFACEMODEL/%y4%m2/LIS_HIST_%y4%m2%d2%h200.d01.nc
1+
DSET ^OUTPUT/SURFACEMODEL/%y4%m2/LIS_HIST_%y4%m2%d2%h200.d01.nc
22
DTYPE netcdf
33
OPTIONS template
44
UNDEF -9999

lis/testcases/metforcing/gefs/testcase.ctl

100755100644
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
DSET ./TARGET_OUTPUT/SURFACEMODEL/%y4%m2/LIS_HIST_%y4%m2%d2%h200.d01.nc
1+
DSET ^TARGET_OUTPUT/SURFACEMODEL/%y4%m2/LIS_HIST_%y4%m2%d2%h200.d01.nc
22
DTYPE netcdf
33
OPTIONS template
44
UNDEF -9999

0 commit comments

Comments
 (0)