Skip to content

Commit 2c42079

Browse files
Yujin ZengYujin Zeng
authored andcommitted
fixed catchment area unit bug
1 parent 7545ae4 commit 2c42079

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/GEOSroute_GridComp/GEOS_RouteGridComp.F90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,10 +423,10 @@ subroutine INITIALIZE (GC,IMPORT, EXPORT, CLOCK, RC )
423423
endif
424424
call MAPL_CommsBcast(layout, tmp_real, n_pfaf_g, MAPL_Root, status)
425425
allocate(areacat_glob(n_pfaf_g))
426+
tmp_real=tmp_real*1.e6
426427
areacat_glob = tmp_real
427428
allocate(route%areacat(n_pfaf_local), source = tmp_real(minCatch:maxCatch))
428-
route%areacat=route%areacat*1.e6
429-
429+
430430
!read lengsc
431431
if (MAPL_AM_I_Root()) then
432432
call formatter%get_var('lengsc', tmp_real(:), _RC)

0 commit comments

Comments
 (0)