Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync develop into main #949

Merged
merged 62 commits into from
Jun 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
f1f6dd3
skip snow compaction once max density has been reached (StieglitzSnow…
gmao-rreichle Aug 31, 2023
e46339f
additional snow module exports from Catch (catchment.F90, GEOS_CatchG…
gmao-rreichle Aug 31, 2023
fa88ef5
Merge branch 'feature/rreichle/newsnowexports' into bugfix/rreichle/s…
gmao-rreichle Aug 31, 2023
ef21114
change snow depth, not snow mass, when snow density exceeds max densi…
gmao-rreichle Aug 31, 2023
8e5da61
capital MLTWTR and PREOUT
biljanaorescanin Sep 5, 2023
818202c
capital letters for MLTWTR and PREOUT
biljanaorescanin Sep 5, 2023
3d764c6
Merge branch 'bugfix/rkoster/snow_excs' into bugfix/rreichle/snow_excs
gmao-rreichle Sep 15, 2023
70bb999
Merge branch 'develop' into bugfix/rreichle/snow_excs
gmao-rreichle Oct 3, 2023
7e6f8f0
restrict bugfix to LAND tiles; keep SWE adjustment for LANDICE tiles …
gmao-rreichle Oct 4, 2023
754300a
remove EXCS exports; rename FICE[n] exports; bug fix for PREOUT and M…
gmao-rreichle Oct 4, 2023
9e8ad9a
fix bug in previous commit (keywords/optional arguments) (GEOS_CatchG…
gmao-rreichle Oct 4, 2023
76fadb3
removed PRE, MLTWTR exports again for LAND tiles (GEOS_CatchGridComp.…
gmao-rreichle Oct 5, 2023
65465f6
Merge branch 'feature/rreichle/snow_check_after_apply_LDAS_incr' into…
gmao-rreichle Oct 15, 2023
3444029
Merge branch 'develop' into bugfix/rreichle/snow_excs
gmao-rreichle Oct 18, 2023
e4f0490
Merge branch 'develop' into bugfix/rreichle/snow_excs
biljanaorescanin Dec 21, 2023
496b651
disable use of heritage threshold factors in StieglitzSnow_calc_tpsno…
gmao-rreichle Jan 8, 2024
ca51376
added check for positive snow heat content into StieglitzSnow_calc_tp…
gmao-rreichle Jan 10, 2024
8403d6c
fix syntax error in previous commit (StieglitzSnow.F90)
gmao-rreichle Jan 10, 2024
0f6c0ac
refined check for positive snow temperature (StieglitzSnow.F90)
gmao-rreichle Jan 14, 2024
b888602
fix error in previous commit
gmao-rreichle Jan 14, 2024
9d562a9
non-0-diff change: abandoned check that (ice10,tzero) conditions are …
gmao-rreichle Jan 17, 2024
a87349a
Merge branch 'develop' into bugfix/rreichle/snow_excs
gmao-rreichle Jan 25, 2024
c29d497
Merge branch 'develop' into bugfix/rreichle/snow_excs
gmao-rreichle Jan 26, 2024
de6f691
added optional return code for positive snow temperature (StieglitzSn…
gmao-rreichle Jan 28, 2024
2f101cf
Merge branch 'develop' into bugfix/rreichle/snow_excs
gmao-rreichle Jan 31, 2024
a69cabd
clarified radians units of longitude and latitude vectors (*CatchCNCL…
gmao-rreichle Jan 31, 2024
20028da
added LONS, LATS as inputs to StieglitzSnow_snowrt(); revised detecti…
gmao-rreichle Jan 31, 2024
573276e
fixed index error in previous commit (GEOS_LandIceGridComp.F90)
gmao-rreichle Feb 1, 2024
f5aaff0
cleaned up disabled heritage threshold factors in StieglitzSnow_calc_…
gmao-rreichle Feb 1, 2024
f58bfaf
converted sequence of if block into easier-to-read if/else construct …
gmao-rreichle Feb 1, 2024
802765e
reinstated (ice10,tzero) checks after snow relayer (StieglitzSnow.F90)
gmao-rreichle Feb 14, 2024
a28a897
fixed syntax and variable name errors in previous commit (StieglitzSn…
gmao-rreichle Feb 14, 2024
34b0cc3
additional fixes of previous commit (StieglitzSnow.F90)
gmao-rreichle Feb 14, 2024
ebbb84b
0-diff trivial: removed obsolete comment lines (StieglitzSnow.F90)
gmao-rreichle Feb 16, 2024
eeb3748
Merge branch 'develop' into bugfix/rreichle/snow_excs
sdrabenh Feb 26, 2024
0816dfb
Merge branch 'develop' into bugfix/rreichle/snow_excs
gmao-rreichle Mar 8, 2024
83d4d72
modify cice6_cmake/CMakeLists.txt due to changes from upstream
zhaobin74 Apr 24, 2024
90b0e93
remove deprecated nml vars post 650
zhaobin74 Apr 25, 2024
b798b8f
Merge branch 'develop' into feature/zhaobin74/merge-main-post650
zhaobin74 May 2, 2024
22f8b57
Merge branch 'develop' into feature/zhaobin74/merge-main-post650
sdrabenh May 15, 2024
dd2ef19
Merge branch 'develop' into bugfix/rreichle/snow_excs
gmao-rreichle May 15, 2024
4633293
roll back non-0-diff changes:
gmao-rreichle May 15, 2024
8d9ff40
minimal edit of comment (StieglitzSnow.F90)
gmao-rreichle May 16, 2024
b9466db
make_bcs fix for bad HWSDv1.21 data in Argentina "peatland" (mkCatchP…
gmao-rreichle May 24, 2024
1e61ab0
fix syntax error in previous commit (mod_process_hres_data.F90)
gmao-rreichle May 25, 2024
644bf23
fixing syntax error in earlier commit (mod_process_hres_data.F90)
gmao-rreichle May 25, 2024
6e20a28
added "v12" to list of bcs (make_bcs_questionary.py)
gmao-rreichle May 26, 2024
26acca5
make_bcs: add Argentina peatland fix to create_README.csh
gmao-rreichle May 28, 2024
8670278
make_bcs: add link with .nc4 file extension for vegdyn_*.dat file (ma…
gmao-rreichle May 28, 2024
fb06070
make_bcs: remove #SBATCH constraint (make_bcs_shared.py)
gmao-rreichle May 28, 2024
26d5600
Merge pull request #813 from GEOS-ESM/bugfix/rreichle/snow_excs
sdrabenh May 29, 2024
8fd5fe3
add explicit #SBATCH constraint (make_bcs_shared.py)
gmao-rreichle May 29, 2024
cfb2493
Merge branch 'develop' into bugfix/rreichle/bcs_HWSD_Argentina_peatland
gmao-rreichle May 29, 2024
7cc9f5b
added missing update of EVP and associated SUBLIM and EVAPOUT
zhaobin74 May 30, 2024
e628943
Merge branch 'develop' into feature/zhaobin74/merge-main-post650
zhaobin74 May 30, 2024
1d1eca8
submitted job by built
weiyuan-jiang May 30, 2024
42bdaa3
rm unnecesary var
weiyuan-jiang May 30, 2024
f511efa
fix indent and CMakeList
weiyuan-jiang May 30, 2024
eaf7cfb
minimal update of documentation (GEOS_SurfaceGridComp.rc)
gmao-rreichle Jun 4, 2024
aea9319
Merge pull request #944 from GEOS-ESM/bugfix/rreichle/bcs_HWSD_Argent…
sdrabenh Jun 10, 2024
d57fb14
Merge branch 'develop' into feature/zhaobin74/merge-main-post650
sdrabenh Jun 10, 2024
462d45d
Merge pull request #925 from GEOS-ESM/feature/zhaobin74/merge-main-po…
mathomp4 Jun 10, 2024
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 @@ -5186,8 +5186,8 @@ subroutine Driver ( RC )
call MAPL_Get ( MAPL ,&
RUNALARM = ALARM ,&
ORBIT = ORBIT ,&
TILELATS = LATS ,&
TILELONS = LONS ,&
TILELATS = LATS ,& ! [radians]
TILELONS = LONS ,& ! [radians]
INTERNAL_ESMF_STATE = INTERNAL ,&
RC=STATUS )
VERIFY_(STATUS)
Expand Down Expand Up @@ -7238,7 +7238,7 @@ subroutine Driver ( RC )

if (ntiles > 0) then

call CATCHCN ( NTILES, LONS, LATS, DT,catchcn_internal%USE_FWET_FOR_RUNOFF, &
call CATCHCN ( NTILES, LONS, LATS, DT,catchcn_internal%USE_FWET_FOR_RUNOFF, & ! LONS, LATS are in [radians] !!!
catchcn_internal%FWETC, catchcn_internal%FWETL, cat_id, VEG1,VEG2,FVEG1,FVEG2,DZSF ,&
PCU , PLSIN , SNO, ICE, FRZR ,&
UUU ,&
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5205,8 +5205,8 @@ subroutine Driver ( RC )
call MAPL_Get ( MAPL ,&
RUNALARM = ALARM ,&
ORBIT = ORBIT ,&
TILELATS = LATS ,&
TILELONS = LONS ,&
TILELATS = LATS ,& ! [radians]
TILELONS = LONS ,& ! [radians]
INTERNAL_ESMF_STATE = INTERNAL ,&
RC=STATUS )
VERIFY_(STATUS)
Expand Down Expand Up @@ -7518,7 +7518,7 @@ subroutine Driver ( RC )
! -----------------------
if (ntiles > 0) then

call CATCHCN ( NTILES, LONS, LATS, DT,catchcn_internal%USE_FWET_FOR_RUNOFF, &
call CATCHCN ( NTILES, LONS, LATS, DT,catchcn_internal%USE_FWET_FOR_RUNOFF, & ! LONS, LATS are in [radians] !!!
catchcn_internal%FWETC, catchcn_internal%FWETL, cat_id, VEG1,VEG2,FVEG1,FVEG2,DZSF ,&
PCU , PLSIN , SNO, ICE, FRZR ,&
UUU ,&
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ MODULE CATCHMENT_CN_MODEL
! and the most recent version of the "unified" model (from Sept. 20, 2006).

SUBROUTINE CATCHCN ( &
NCH, LONS, LATS, DTSTEP, UFW4RO, FWETC, FWETL, cat_id, &
NCH, LONS, LATS, DTSTEP, UFW4RO, FWETC, FWETL, cat_id, & ! LONS, LATS are in [radians] !!!
ITYP1,ITYP2,FVEG1,FVEG2, &
DZSF, TRAINC,TRAINL, TSNOW, TICE, TFRZR, UM, &
ETURB1, DEDQA1, DEDTC1, HSTURB1,DHSDQA1, DHSDTC1, &
Expand Down Expand Up @@ -870,6 +870,7 @@ SUBROUTINE CATCHCN ( &
sumdepth=sum(sndz)

CALL StieglitzSnow_snowrt( &
LONS(N), LATS(N), & ! in [radians] !!!
N_sm, N_snow, MAPL_Land, & ! in
CATCH_SNOW_MAXDEPTH, CATCH_SNOW_RHOFS, CATCH_SNOW_DZPARAM, & ! in
t1, area, tkgnd, pr, snowf, ts, DTSTEP, & ! in
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4183,13 +4183,12 @@ subroutine Driver ( RC )
call MAPL_Get ( MAPL ,&
RUNALARM = ALARM ,&
ORBIT = ORBIT ,&
TILELATS = LATS ,&
TILELONS = LONS ,&
TILELATS = LATS ,& ! [radians]
TILELONS = LONS ,& ! [radians]
INTERNAL_ESMF_STATE = INTERNAL ,&
RC=STATUS )
VERIFY_(STATUS)



! --------------------------------------------------------------------------
! Get name of albedo files from configuration
! --------------------------------------------------------------------------
Expand Down Expand Up @@ -4631,7 +4630,7 @@ subroutine Driver ( RC )
! Catchment Id and vegetation types used to index into tables
! --------------------------------------------------------------------------

CAT_ID = 1
CAT_ID = -999 ! meaningless!!!
VEG = nint(ITY)

! --------------------------------------------------------------------------
Expand Down Expand Up @@ -5469,10 +5468,10 @@ subroutine Driver ( RC )

if (ntiles >0) then

call CATCHMENT ( NTILES, LONS, LATS ,&
call CATCHMENT ( NTILES, LONS, LATS ,& ! LONS, LATS are in [radians] !!!
DT,CATCH_INTERNAL_STATE%USE_FWET_FOR_RUNOFF ,&
CATCH_INTERNAL_STATE%FWETC, CATCH_INTERNAL_STATE%FWETL,&
cat_id, VEG, DZSF ,&
cat_id, VEG, DZSF ,& ! cat_id is set to no-data above !!!
PCU , PLS , SNO, ICE, FRZR ,&
UUU ,&

Expand Down Expand Up @@ -5582,7 +5581,7 @@ subroutine Driver ( RC )
currTime=CURRENT_TIME+DELT, &
RC=STATUS )
VERIFY_(STATUS)

ZTH = max(0.0,ZTH)

! --------------------------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ MODULE CATCHMENT_MODEL
CONTAINS

SUBROUTINE CATCHMENT ( &
NCH, LONS, LATS, DTSTEP, UFW4RO, FWETC, FWETL, &
cat_id,ITYP,DZSF,TRAINC,TRAINL, TSNOW, TICE, TFRZR, UM, &
NCH, LONS, LATS, DTSTEP, UFW4RO, FWETC, FWETL, & ! LONS, LATS are in [radians] !!!
cat_id,ITYP,DZSF,TRAINC,TRAINL, TSNOW, TICE, TFRZR, UM, & ! cat_id is set to no-data in GEOS_CatchGridcomp !!!
ETURB1, DEDQA1, DEDTC1, HSTURB1,DHSDQA1, DHSDTC1, &
ETURB2, DEDQA2, DEDTC2, HSTURB2,DHSDQA2, DHSDTC2, &
ETURB4, DEDQA4, DEDTC4, HSTURB4,DHSDQA4, DHSDTC4, &
Expand Down Expand Up @@ -297,6 +297,8 @@ SUBROUTINE CATCHMENT ( &
integer n_out
integer n_outs(20)

! ---------------------------------

numout = 0

! choose output point by lon and lat Input lons and lats are in radians
Expand Down Expand Up @@ -911,8 +913,9 @@ SUBROUTINE CATCHMENT ( &
tpsn1in(n) = tpsn1(n) ! tpsn1 is "intent(out)", should NOT be used here, use catch_calc_tpsnow instead? shouldn't this be the same as tcs_orig? - reichle, 8/8/2014

sumdepth=sum(sndz)

CALL StieglitzSnow_snowrt( &
LONS(N), LATS(N), & ! in [radians] !!!
N_sm, N_snow, MAPL_Land, & ! in
CATCH_SNOW_MAXDEPTH, CATCH_SNOW_RHOFS, CATCH_SNOW_DZPARAM, & ! in
t1, area, tkgnd, pr, snowf, ts, DTSTEP, & ! in
Expand All @@ -924,8 +927,7 @@ SUBROUTINE CATCHMENT ( &
EVSN, SHFLS, alhfsn, hcorr, ghfluxsno(n), & ! out
sndzsc, wesnprec, sndzprec, sndz1perc, & ! out
wesnperc, wesndens, wesnrepar, mltwtr, & ! out
excs, drho0, wesnbot, tksno, dtss ) ! out

excs, drho0, wesnbot, tksno, dtss ) ! out

FICESOUT(:,N) = fices

Expand Down Expand Up @@ -2938,8 +2940,6 @@ subroutine catch_calc_tsurf( NTILES, tc1, tc2, tc4, wesnn, htsnn, &

logical :: ice1, tzero

logical, parameter :: use_threshold_fac = .false.

! ------------------------------------------------------------------

! Compute tsurf excluding snow
Expand All @@ -2959,7 +2959,7 @@ subroutine catch_calc_tsurf( NTILES, tc1, tc2, tc4, wesnn, htsnn, &
! StieglitzSnow_calc_tpsnow() returns snow temperature in deg Celsius

call StieglitzSnow_calc_tpsnow( htsnn(1,n), wesnn(1,n), tpsn1, real_dummy, &
ice1, tzero, use_threshold_fac )
ice1, tzero, .false. )

tsurf(n) = (1. - asnow(n))*tsurf(n) + asnow(n)*(tpsn1 + TF)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3086,7 +3086,8 @@ subroutine LANDICECORE(RC)
#endif
TKSNO = condice

call SNOWRT(1,NUM_SNOW_LAYERS,MAPL_LANDICE, & ! in
call SNOWRT( LONS(k), LATS(k), & ! in [radians] !!!
1,NUM_SNOW_LAYERS,MAPL_LANDICE, & ! in
MAXSNDZ, RHOFRESH, DZMAX, & ! in
LANDICELT(k),ZONEAREA,TKGND,PRECIP(k),SNO(k),TA(k),DT, & ! in
EVAPI(k),DEVAPDT(k),SHF(k),SHD(k),ULW(k),BLW(k), & ! in
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2704,9 +2704,13 @@ subroutine CICECORE(NT,RC)
DQS = GEOS_QSAT(TS(:,N), PS, RAMP=0.0, PASCALS=.TRUE.) - QS(:,N)
QS(:,N) = QS(:,N) + DQS

LHF = LHF + EVD * MAPL_ALHS * DTS
EVP = EVP + EVD * DTS
SHF = SHF + SHD * DTS
LHF = EVP * MAPL_ALHS


if(associated(SUBLIM )) SUBLIM = SUBLIM + EVP *FR(:,N)
if(associated(EVAPOUT)) EVAPOUT = EVAPOUT + EVP *FR(:,N)
if(associated(DELTS )) DELTS = DELTS + DTS*CFT*FR(:,N)
if(associated(DELQS )) DELQS = DELQS + DQS*CFQ*FR(:,N)
if(associated(TST )) TST = TST + TS(:,N)*FR(:,N)
Expand All @@ -2724,6 +2728,8 @@ subroutine CICECORE(NT,RC)
if(associated(QST )) call Normalize(QST, FRCICE)
if(associated(HLATICE)) call Normalize(HLATICE,FRCICE)
if(associated(SHICE )) call Normalize(SHICE, FRCICE)
if(associated(SUBLIM )) call Normalize(SUBLIM, FRCICE)
if(associated(EVAPOUT)) call Normalize(EVAPOUT, FRCICE)

if(associated(LWNDICE)) call Normalize(LWNDICE, FRCICE, set_undef=.True.)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
# - backfilled with global land average snow albedo where unavailable
# - must use compatible bcs version that includes MODIS-based snow albedo (e.g., v06, v08, v09, ...)
# - NOTE: bcs v06, v08, and v09 used approximate averaging of MODIS-based snow albedo to tile space;
# later bcs versions employ more accurate, raster-based averaging
# bcs v11 and v12 employ more accurate, raster-based averaging.
#
# GEOSagcm=>SNOW_ALBEDO_INFO: 0
# GEOSldas=>SNOW_ALBEDO_INFO: 0
Expand Down
Loading
Loading