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

Auto PR - develop β†’ MAPL-v3 - Merge branch 'feature/amfox/basic_SM_SNOW' of github.com:GEOS-ESM/GEOSldas_GridComp into feature/amfox/basic_SM_SNOW #70

Merged
merged 31 commits into from
Dec 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
5cec219
add snow to update type 13
amfox37 Oct 31, 2024
2854d0b
Merge branch 'develop' into feature/amfox/basic_SM_SNOW
amfox37 Nov 1, 2024
b4a29c8
working code
amfox37 Nov 4, 2024
87a7e6c
Merge main into develop in prep for future release (#59)
gmao-rreichle Nov 5, 2024
02b29dc
Merge develop into main in prep for release v1.0.3 (#62)
gmao-rreichle Nov 5, 2024
4417567
updated CHANGELOG in prep for release v1.1.0 (#66)
gmao-rreichle Nov 5, 2024
cef3711
Merge main into develop in prep for future release (#67)
gmao-rreichle Nov 5, 2024
995a414
single do loop
amfox37 Nov 7, 2024
d3546c8
rename to update type 14
amfox37 Nov 8, 2024
7d8c26b
add update type to check_compact_support
amfox37 Nov 9, 2024
1a678a3
minor edits
amfox37 Nov 18, 2024
5d7ec72
Merge branch 'feature/amfox/basic_SM_SNOW' of github.com:GEOS-ESM/GEO…
amfox37 Nov 18, 2024
d94d405
edit comments
amfox37 Nov 18, 2024
96ab270
Merge branch 'develop' into feature/amfox/basic_SM_SNOW
amfox37 Nov 19, 2024
aa4c601
update log message when adding increments
amfox37 Nov 19, 2024
4d84eb2
Merge branch 'feature/amfox/basic_SM_SNOW' of github.com:GEOS-ESM/GEO…
amfox37 Nov 19, 2024
fdf417f
try to fix white space change
amfox37 Nov 19, 2024
321f5e9
try to fix to enable easy Github diff
amfox37 Nov 19, 2024
5415089
add obs_param%assim logical
amfox37 Nov 26, 2024
1f7f6a6
add update types 11 and 14 description to default nml
amfox37 Nov 26, 2024
e6482f7
Merge branch 'feature/amfox/basic_SM_SNOW' of github.com:GEOS-ESM/GEO…
amfox37 Nov 26, 2024
13e5f63
edited new update_type for soil moisture, soil temperature, and snow …
gmao-rreichle Nov 29, 2024
a1b9ca2
changed error message to warning (inconsistent update_type and obs_pa…
gmao-rreichle Nov 29, 2024
c88b2a2
updated CHANGELOG.md
gmao-rreichle Nov 29, 2024
f4e9626
fixed syntax error in previous commit
gmao-rreichle Nov 29, 2024
e7c91e1
fixed build error in previous commit
gmao-rreichle Nov 30, 2024
bced10a
fixed build error in previous commit
gmao-rreichle Nov 30, 2024
c4a1826
fixing linking error in previous commit
gmao-rreichle Nov 30, 2024
067305f
fixed log statement for soil moisture analysis in new update_type=12 …
gmao-rreichle Dec 2, 2024
829f229
switched order of code blocks for update_type=13 and update_type=12 i…
gmao-rreichle Dec 2, 2024
930dc28
Add new update type to jointly assimilate Tb, SM and SCF observations…
gmao-rreichle Dec 3, 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
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- New update_type for joint 3d soil moisture and 1d snow analysis (Tb+sfmc+sfds+SCF obs)

### Changed

### Fixed
Expand Down
72 changes: 66 additions & 6 deletions GEOSlandassim_GridComp/clsm_ensupd_enkf_update.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1339,6 +1339,8 @@ subroutine apply_enkf_increments( N_catd, N_ens, update_type, &

cat_progn_has_changed = .false.

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

case (4,7) select_update_type ! Tskin/ght1 update

if (logit) write (logunit,*) &
Expand All @@ -1361,13 +1363,17 @@ subroutine apply_enkf_increments( N_catd, N_ens, update_type, &

cat_progn_has_changed = .true.

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

case (5) select_update_type ! Tskin/ght1 update

if (logit) write (logunit,*) &
'apply_enkf_increments(): NOT applying Tskin/ght1 increments'

cat_progn_has_changed = .false.

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

case (6,8,9,10,13) select_update_type ! soil moisture and temperature update

! some of the increments fields below may be zero by design
Expand Down Expand Up @@ -1395,20 +1401,23 @@ subroutine apply_enkf_increments( N_catd, N_ens, update_type, &
cat_progn(n,n_e)%tc4 + cat_progn_incr(n,n_e)%tc4

cat_progn(n,n_e)%ght(1) = &
cat_progn(n,n_e)%ght(1) + cat_progn_incr(n,n_e)%ght(1)

cat_progn(n,n_e)%ght(1) + cat_progn_incr(n,n_e)%ght(1)
end do
end do

cat_progn_has_changed = .true.

check_snow = .false. ! turn off for now to maintain 0-diff w/ SMAP Tb DA test case
if (update_type==10) check_snow = .false. ! turn off for now to maintain 0-diff w/ SMAP Tb DA test case

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

case(11) select_update_type ! empirical MODIS SCF update
case(11) select_update_type ! snow update

do n=1,N_catd ! for each tile
if (logit) write (logunit,*) 'apply_enkf_increments(): applying snow increments'

do n=1,N_catd ! for each tile

do n_e=1,N_ens ! for each ensemble member
do n_e=1,N_ens ! for each ensemble member

do ii=1,N_snow ! for each snow layer

Expand All @@ -1427,6 +1436,57 @@ subroutine apply_enkf_increments( N_catd, N_ens, update_type, &

cat_progn_has_changed = .true.

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

case (12) select_update_type ! soil moisture, temperature, and snow update

! some of the increments fields below may be zero by design
! (e.g., tc[X]=ght(1)=0 in update_type=13 when only sfmc or sfds obs are assimilated;
! or catdef=0 in update_type 10 or 13 when tile has mineral soil)

if (logit) write (logunit,*) &
'apply_enkf_increments(): applying soil moisture, Tskin/ght1 and snow increments'

do n=1,N_catd
do n_e=1,N_ens

cat_progn(n,n_e)%srfexc = &
cat_progn(n,n_e)%srfexc + cat_progn_incr(n,n_e)%srfexc
cat_progn(n,n_e)%rzexc = &
cat_progn(n,n_e)%rzexc + cat_progn_incr(n,n_e)%rzexc
cat_progn(n,n_e)%catdef = &
cat_progn(n,n_e)%catdef + cat_progn_incr(n,n_e)%catdef

cat_progn(n,n_e)%tc1 = &
cat_progn(n,n_e)%tc1 + cat_progn_incr(n,n_e)%tc1
cat_progn(n,n_e)%tc2 = &
cat_progn(n,n_e)%tc2 + cat_progn_incr(n,n_e)%tc2
cat_progn(n,n_e)%tc4 = &
cat_progn(n,n_e)%tc4 + cat_progn_incr(n,n_e)%tc4

cat_progn(n,n_e)%ght(1) = &
cat_progn(n,n_e)%ght(1) + cat_progn_incr(n,n_e)%ght(1)

do ii=1,N_snow ! for each snow layer

cat_progn(n,n_e)%wesn(ii) = &
cat_progn(n,n_e)%wesn(ii) + cat_progn_incr(n,n_e)%wesn(ii)

cat_progn(n,n_e)%sndz(ii) = &
cat_progn(n,n_e)%sndz(ii) + cat_progn_incr(n,n_e)%sndz(ii)

cat_progn(n,n_e)%htsn(ii) = &
cat_progn(n,n_e)%htsn(ii) + cat_progn_incr(n,n_e)%htsn(ii)

end do

end do
end do

cat_progn_has_changed = .true.

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

case default

call ldas_abort(LDAS_GENERIC_ERROR, Iam, 'unknown update_type')
Expand Down
Loading
Loading