Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
7faae9f
branch feature/yujinz/Routing_GEOSroute started, offline model was pu…
Oct 24, 2024
54950b8
change some paths for Discover
Oct 28, 2024
982bdd9
script build is replaced by run
Oct 29, 2024
f2a19da
readme.txt added
Oct 29, 2024
bf8b9a8
update K_str
Oct 31, 2024
71e44c5
Merge remote-tracking branch 'origin/develop' into feature/yujinz/Rou…
Oct 31, 2024
c6e341b
removing some Chinese characters in the comments
Oct 31, 2024
d2a0c95
more cleaning up
Nov 5, 2024
0d8ebcb
Merge remote-tracking branch 'origin/develop' into feature/yujinz/Rou…
Dec 2, 2024
5e9377a
move offline model to dir offline
Dec 2, 2024
7ceed5a
routing model was implemented to GEOSldas
Dec 2, 2024
17b7d4b
back to TAKI
Dec 6, 2024
431674c
back to Discover
Dec 6, 2024
5d98b30
a small bug fix for the offline model
Dec 18, 2024
abcf705
update the offline model to the coupled model
Jan 8, 2025
416a94f
Merge branch 'develop' into feature/yujinz/Routing_GEOSroute
gmao-rreichle Feb 26, 2025
96cbcd6
reservoir module added
Mar 10, 2025
ebe5287
temporarily disable flood control for dams
Mar 19, 2025
a81bcea
preprocessing for routing model added
Mar 20, 2025
0c5d779
code clean up, and comment&documents added
May 8, 2025
af2ec8b
Merge remote-tracking branch 'origin/develop' into feature/yujinz/Rou…
May 8, 2025
9a08d7b
'==' changed to '.eqv.'
May 8, 2025
32fe955
'.eqv.' replaces '=='
May 9, 2025
1fb57bb
Merge branch 'develop' into feature/yujinz/Routing_GEOSroute
gmao-rreichle May 21, 2025
ef58210
changed variable name NUM_CATCH -> NUM_CATCH_ENS for clarity (GEOS_La…
gmao-rreichle May 21, 2025
85af5a7
avoid duplicate hard-coding of #Pfaf catchments; fixed indent, alignm…
gmao-rreichle May 21, 2025
4e3cfec
added comments to clarify connected "RUNOFF" variable (GEOS_LandGridC…
gmao-rreichle May 21, 2025
e367061
Update CMakeLists.txt
weiyuan-jiang May 23, 2025
f1c450d
copying river_input through make_bcs
Jun 18, 2025
c60c59b
river routing input data pointing to bcs
Jun 19, 2025
636cbf1
-diag-disable=10448 added in the building of routing_model preproc
Jun 19, 2025
7305bb9
some modifications to address the comments from Weiyuan, yet to be te…
Aug 10, 2025
ff16f13
change name ntiles
weiyuan-jiang Aug 14, 2025
e2b66c6
add internal, export and catchment grid support
weiyuan-jiang Aug 25, 2025
dca6882
redistrubuted runnoff and collect qout
weiyuan-jiang Sep 5, 2025
3bf435f
more changes
weiyuan-jiang Sep 9, 2025
7f739aa
refactoring...
weiyuan-jiang Sep 10, 2025
58a7406
cleanup RUN1
weiyuan-jiang Sep 12, 2025
5fedcb5
create tile_pfaf file
Sep 17, 2025
0b7326a
rename and move get_pfaf_frac to mkEASETilesParam
weiyuan-jiang Sep 18, 2025
ab9ceaf
Merge branch 'develop' into feature/yujinz/Routing_GEOSroute
weiyuan-jiang Sep 18, 2025
1840281
Merge branch 'feature/yujinz/Routing_GEOSroute' into feature/wjiang/R…
weiyuan-jiang Sep 18, 2025
54008e6
Merge branch 'feature/wjiang/Routing_GEOSroute_on_yujin' into feature…
weiyuan-jiang Sep 19, 2025
06bfaf0
Merge pull request #1158 from GEOS-ESM/feature/wjiang/river_bcs
weiyuan-jiang Sep 19, 2025
1b2b95f
Merge branch 'feature/wjiang/Routing_GEOSroute_on_yujin' of github.co…
weiyuan-jiang Sep 19, 2025
ee0c6aa
reading restart from internal rst file
weiyuan-jiang Sep 22, 2025
6ca800d
read from tile_pfaf file
weiyuan-jiang Sep 22, 2025
ed2dc1b
reading areacat
weiyuan-jiang Sep 22, 2025
38a5c54
read more from river_input. remove internal mpi
weiyuan-jiang Sep 22, 2025
b026421
correct acc and change pointer to allocatable
weiyuan-jiang Sep 22, 2025
aab5b97
refactoring reservoir...
weiyuan-jiang Sep 23, 2025
d90f0cc
more clean up
weiyuan-jiang Sep 23, 2025
13578c8
cleanup fieldcreate
weiyuan-jiang Sep 24, 2025
e3396d4
Merge branch 'develop' into feature/yujinz/Routing_GEOSroute
gmao-rreichle Sep 24, 2025
d0bf2be
Merge branch 'feature/yujinz/Routing_GEOSroute' into feature/wjiang/R…
gmao-rreichle Sep 24, 2025
aae0ac1
fixed some issues
Nov 5, 2025
4fd39bf
pre-processing of routing model added
Nov 10, 2025
fd495b3
Merge branch 'develop' into feature/wjiang/Routing_GEOSroute_on_yujin
weiyuan-jiang Dec 1, 2025
039a536
offline routing code removed
Dec 4, 2025
dd2f4e2
move Route gridComp one level up
weiyuan-jiang Dec 4, 2025
d3eec53
Merge branch 'feature/wjiang/Routing_GEOSroute_on_yujin' of github.co…
weiyuan-jiang Dec 4, 2025
855e542
minor fixes, mostly white-space changes (documentation, typos, indent…
gmao-rreichle Dec 8, 2025
1fd3582
Clean up files in Utils/Raster/preproc/routing_model/
Dec 8, 2025
4cfab92
removed unused files under Utils/Raster/preproc/routing_model/
Dec 8, 2025
a37b5ab
Add routing_model in Utils/Raster/preproc/CMakeLists.txt
Dec 8, 2025
fb7e50a
updated input path for the Utils/Raster/preproc/routing_model
Dec 8, 2025
dc267f1
removing unused var in k_module_cali.f90
Dec 9, 2025
9c1e988
addressed some Rolf's comments
Dec 9, 2025
5176805
preproc reading M and m from routing_model.f90
Dec 10, 2025
50a9eed
fixed a bug
Dec 10, 2025
c9148e3
refactoring...
weiyuan-jiang Dec 10, 2025
43110cc
addressed comments from Rolf
Dec 10, 2025
dfb8528
Merge branch 'feature/wjiang/Routing_GEOSroute_on_yujin' of github.co…
weiyuan-jiang Dec 11, 2025
24ee069
support cubed-sphere grid
weiyuan-jiang Dec 11, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ set (alldirs
GEOSlandice_GridComp
GEOSlake_GridComp
GEOSland_GridComp
GEOSroute_GridComp
GEOSsaltwater_GridComp
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ set (alldirs
GEOScatch_GridComp
GEOScatchCN_GridComp
GEOSlana_GridComp
GEOSroute_GridComp
GEOSigni_GridComp
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ module GEOS_LandGridCompMod
use GEOS_CatchGridCompMod, only : CatchSetServices => SetServices
use GEOS_CatchCNGridCompMod, only : CatchCNSetServices => SetServices
use GEOS_IgniGridCompMod, only : IgniSetServices => SetServices
! use GEOS_RouteGridCompMod, only : RouteSetServices => SetServices

implicit none
private
Expand All @@ -45,8 +44,8 @@ module GEOS_LandGridCompMod


integer :: VEGDYN
integer, allocatable :: CATCH(:), ROUTE (:), CATCHCN (:)
integer :: LSM_CHOICE, RUN_ROUTE, DO_GOSWIM
integer, allocatable :: CATCH(:), CATCHCN(:)
integer :: LSM_CHOICE, DO_GOSWIM
integer :: IGNI
logical :: DO_FIRE_DANGER

Expand All @@ -68,7 +67,7 @@ subroutine SetServices ( GC, RC )
! !DESCRIPTION: The SetServices for the Physics GC needs to register its
! Initialize and Run. It uses the MAPL\_Generic construct for defining
! state specs and couplings among its children. In addition, it creates the
! children GCs (VegDyn, Catch, CatchCN, Route) and runs their respective SetServices.
! children GCs (VegDyn, Catch, CatchCN) and runs their respective SetServices.

!EOP

Expand All @@ -84,7 +83,7 @@ subroutine SetServices ( GC, RC )

character(len=ESMF_MAXSTR) :: GCName
type(ESMF_Config) :: CF, SCF
integer :: NUM_CATCH
integer :: NUM_CATCH_ENS
integer :: I
character(len=ESMF_MAXSTR) :: TMP
type(MAPL_MetaComp),pointer :: MAPL=>null()
Expand Down Expand Up @@ -134,7 +133,7 @@ subroutine SetServices ( GC, RC )
call MAPL_GridCompSetEntryPoint ( GC, ESMF_METHOD_RUN, Run2, RC=STATUS )
VERIFY_(STATUS)

call ESMF_ConfigGetAttribute ( CF, NUM_CATCH, Label="NUM_CATCH_ENSEMBLES:", default=1, RC=STATUS)
call ESMF_ConfigGetAttribute ( CF, NUM_CATCH_ENS, Label="NUM_CATCH_ENSEMBLES:", default=1, RC=STATUS)
VERIFY_(STATUS)

!------------------------------------------------------------
Expand All @@ -154,7 +153,6 @@ subroutine SetServices ( GC, RC )
call MAPL_GetResource (MAPL, SURFRC, label = 'SURFRC:', default = 'GEOS_SurfaceGridComp.rc', RC=STATUS) ; VERIFY_(STATUS)
SCF = ESMF_ConfigCreate(rc=status) ; VERIFY_(STATUS)
call ESMF_ConfigLoadFile(SCF,SURFRC,rc=status) ; VERIFY_(STATUS)
call MAPL_GetResource (SCF, RUN_ROUTE, label='RUN_ROUTE:', DEFAULT=0, __RC__ )
call MAPL_GetResource (SCF, DO_GOSWIM, label='N_CONST_LAND4SNWALB:', DEFAULT=0, __RC__ )
call MAPL_GetResource (SCF, DO_FIRE_DANGER, label='FIRE_DANGER:', DEFAULT=.false., __RC__ )
call ESMF_ConfigDestroy (SCF, __RC__)
Expand All @@ -163,13 +161,13 @@ subroutine SetServices ( GC, RC )

CASE (1)

allocate (CATCH(NUM_CATCH), stat=status)
allocate (CATCH(NUM_CATCH_ENS), stat=status)
VERIFY_(STATUS)
if (NUM_CATCH == 1) then
if (NUM_CATCH_ENS == 1) then
CATCH(1) = MAPL_AddChild(GC, NAME='CATCH'//trim(tmp), SS=CatchSetServices, RC=STATUS)
VERIFY_(STATUS)
else
do I = 1, NUM_CATCH
do I = 1, NUM_CATCH_ENS
WRITE(TMP,'(I3.3)') I
GCName = 'ens' // trim(TMP) // ':CATCH'
CATCH(I) = MAPL_AddChild(GC, NAME=GCName, SS=CatchSetServices, RC=STATUS)
Expand All @@ -179,13 +177,13 @@ subroutine SetServices ( GC, RC )

CASE (2,3)

allocate (CATCHCN(NUM_CATCH), stat=status)
allocate (CATCHCN(NUM_CATCH_ENS), stat=status)
VERIFY_(STATUS)
if (NUM_CATCH == 1) then
if (NUM_CATCH_ENS == 1) then
CATCHCN(1) = MAPL_AddChild(GC, NAME='CATCHCN'//trim(tmp), SS=CatchCNSetServices, RC=STATUS)
VERIFY_(STATUS)
else
do I = 1, NUM_CATCH
do I = 1, NUM_CATCH_ENS
WRITE(TMP,'(I3.3)') I
GCName = 'ens' // trim(TMP) // ':CATCHCN'
CATCHCN(I) = MAPL_AddChild(GC, NAME=GCName, SS=CatchCNSetServices, RC=STATUS)
Expand All @@ -195,20 +193,6 @@ subroutine SetServices ( GC, RC )

END SELECT

! IF(RUN_ROUTE == 1) THEN
! if (NUM_CATCH == 1) then
! ROUTE(1) = MAPL_AddChild(GC, NAME='ROUTE', SS=RouteSetServices, RC=STATUS)
! VERIFY_(STATUS)
! else
! do I = 1, NUM_CATCH
! WRITE(TMP,'(I3.3)') I
! GCName = 'ens' // trim(TMP) // ':ROUTE'
! ROUTE(I) = MAPL_AddChild(GC, NAME=GCName, SS=RouteSetServices, RC=STATUS)
! VERIFY_(STATUS)
! end do
! end if
! ENDIF

if (DO_FIRE_DANGER) then
IGNI = MAPL_AddChild(GC, NAME='IGNI'//trim(tmp), SS=IgniSetServices, RC=STATUS)
VERIFY_(STATUS)
Expand Down Expand Up @@ -1377,14 +1361,6 @@ subroutine SetServices ( GC, RC )
CHILD_ID = VEGDYN,&
RC=STATUS )
VERIFY_(STATUS)
! IF(RUN_ROUTE == 1) THEN
! call MAPL_AddExportSpec ( GC, &
! SHORT_NAME = 'QOUTFLOW', &
! CHILD_ID = ROUTE(1), &
! RC=STATUS )
! VERIFY_(STATUS)
! ENDIF


if (DO_FIRE_DANGER) then
call MAPL_AddExportSpec ( GC, SHORT_NAME = 'FFMC', CHILD_ID = IGNI, __RC__ )
Expand Down Expand Up @@ -1426,7 +1402,7 @@ subroutine SetServices ( GC, RC )

! !CONNECTIONS:

DO I = 1, NUM_CATCH
DO I = 1, NUM_CATCH_ENS

SELECT CASE (LSM_CHOICE)

Expand All @@ -1453,17 +1429,6 @@ subroutine SetServices ( GC, RC )
VERIFY_(STATUS)
end if

! IF(RUN_ROUTE == 1) THEN
! call MAPL_AddConnectivity ( &
! GC ,&
! SHORT_NAME = (/'RUNOFF '/) ,&
! SRC_ID = CATCH(I) ,&
! DST_ID = ROUTE(I) ,&
!
! RC=STATUS )
! VERIFY_(STATUS)
! ENDIF

CASE (2,3)
call MAPL_AddConnectivity ( &
GC , &
Expand All @@ -1486,19 +1451,9 @@ subroutine SetServices ( GC, RC )
VERIFY_(STATUS)
end if

! IF(RUN_ROUTE == 1) THEN
! call MAPL_AddConnectivity ( &
! GC ,&
! SHORT_NAME = (/'RUNOFF '/) ,&
! SRC_ID = CATCHCN(I) ,&
! DST_ID = ROUTE(I) ,&
!
! RC=STATUS )
! VERIFY_(STATUS)
! ENDIF
END SELECT
END DO


call MAPL_TimerAdd(GC, name="INITIALIZE" ,RC=STATUS)
VERIFY_(STATUS)
Expand Down Expand Up @@ -1714,7 +1669,7 @@ subroutine Run2(GC, IMPORT, EXPORT, CLOCK, RC )
type (ESMF_State), pointer :: GEX(:)
character(len=ESMF_MAXSTR),pointer :: GCnames(:)

integer :: I
integer :: I, phase

!=============================================================================

Expand Down

This file was deleted.

Loading
Loading