-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0660206
commit cbae185
Showing
2 changed files
with
14 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1401,7 +1401,7 @@ SUBROUTINE modis_scale_para_high (ease_grid,MA,gfile) | |
integer :: yy,j,month | ||
integer, allocatable, dimension (:) :: vegcls | ||
real, allocatable, dimension (:) :: & | ||
modisvf, modisnf,albvf,albnf, lat,lon, & | ||
modisvf, modisnf,albvf,albnf, & | ||
green,lai,lai_before,lai_after,grn_before,grn_after | ||
real, allocatable, dimension (:) :: & | ||
calbvf,calbnf, zero_array, one_array, albvr,albnr | ||
|
@@ -1435,8 +1435,8 @@ SUBROUTINE modis_scale_para_high (ease_grid,MA,gfile) | |
close (10,status='keep') | ||
|
||
fname=trim(gfile)//'.til' | ||
|
||
open (10,file=fname,status='old',action='read',form='formatted') | ||
|
||
fname='clsm/mosaic_veg_typs_fracs' | ||
open (20,file=fname,status='old',action='read',form='formatted') | ||
|
||
|
@@ -1451,9 +1451,9 @@ SUBROUTINE modis_scale_para_high (ease_grid,MA,gfile) | |
|
||
do n = 1,ip | ||
if (ease_grid) then | ||
read(10,*,IOSTAT=ierr) typ,pfs,lon,lat,ig,jg,fr_gcm | ||
read(10,*,IOSTAT=ierr) typ !,pfs,lont,latt,ig,jg,fr_gcm | ||
else | ||
read(10,'(I10,3E20.12,9(2I10,E20.12,I10))',IOSTAT=ierr) & | ||
read(10,'(I10,3E20.12,9(2I10,E20.12,I10))',IOSTAT=ierr) & | ||
This comment has been minimized.
Sorry, something went wrong. |
||
typ,tarea,lont,latt,ig,jg,fr_gcm,indx_dum,pfs,j_dum,fr_cat,j_dum | ||
endif | ||
This comment has been minimized.
Sorry, something went wrong.
gmao-rreichle
Contributor
|
||
if (typ == 100) then | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@weiyuan-jiang, shouldn't lines 1456-1457 be edited similar to the change in line 1454? That is:
read(10,'(I10))',IOSTAT=ierr) typ ! ,tarea, lont, latt, ig, jg, fr_gcm, indx_dum, pfs, j_dum, fr_cat, j_dum
Note the change in the format string.
Also, I think the following variables are still declared but are not needed anymore:
ig, jg, lont, latt, pfs, indx_dum, fr_cat, tarea
Note that
j_dum
is still used above.Please double-check what I'm proposing here.