Skip to content

Commit 71891d8

Browse files
authored
Merge pull request #382 from GEOS-ESM/hotfix/fix-ni-yaml
v2.6: Fix start-stop and missing GMI_HNO3 in NI AMIP ExtData yaml
2 parents b00c1e2 + dc38036 commit 71891d8

File tree

5 files changed

+14
-19
lines changed

5 files changed

+14
-19
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1515

1616
### Added
1717

18+
## [v2.6.1] - 2026-02-17
19+
20+
### Fixed
21+
22+
- Fix missing `GMI_HNO3` entry in `AMIP/NI2G_GridComp_ExtData.yaml` file
23+
- Fix start-stop regression failure in SU GridComp
24+
1825
## [v2.6.0] - 2026-02-05
1926

2027
### Changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ endif()
2929
if (GOCART_STANDALONE)
3030
project (
3131
GOCART
32-
VERSION 2.6.0
32+
VERSION 2.6.1
3333
LANGUAGES Fortran CXX C) # Note - CXX is required for ESMF
3434

3535
if ("${PROJECT_SOURCE_DIR}" STREQUAL "${PROJECT_BINARY_DIR}")

ESMF/GOCART2G_GridComp/NI2G_GridComp/AMIP/NI2G_GridComp_ExtData.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,5 +85,8 @@ Exports:
8585
collection: /dev/null
8686
climNO3an3:
8787
collection: /dev/null
88-
89-
88+
GMI_HNO3:
89+
collection: /dev/null
90+
regrid: CONSERVE
91+
sample: NI2G_sample_2
92+
variable: GMI_HNO3

ESMF/GOCART2G_GridComp/NI2G_GridComp/NI2G_GridCompMod.F90

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -860,11 +860,6 @@ subroutine Run2 (GC, import, export, clock, RC)
860860
thread = MAPL_get_current_thread()
861861
workspace => self%workspaces(thread)
862862

863-
!if (workspace%first) then
864-
!xhno3 = MAPL_UNDEF
865-
!workspace%first = .false.
866-
!end if
867-
868863
! Recycle HNO3 every 3 hours
869864
if (alarm_is_ringing) then
870865
xhno3 = NITRATE_HNO3

ESMF/GOCART2G_GridComp/SU2G_GridComp/SU2G_GridCompMod.F90

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ module SU2G_GridCompMod
9797
real :: aviation_layers(4) ! heights of the LTO, CDS and CRS layers
9898
real :: fSO4anth ! Fraction of anthropogenic emissions that are SO4
9999
!logical :: firstRun = .true.
100-
!real, pointer :: h2o2_init(:,:,:)
101100

102101
! PRC: logic for GMI coupling
103102
logical :: using_GMI
@@ -533,8 +532,6 @@ subroutine Initialize (GC, IMPORT, EXPORT, CLOCK, RC)
533532
LONS = LONS, &
534533
LATS = LATS, __RC__ )
535534

536-
!allocate(self%h2o2_init(size(lats,1),size(lats,2),self%km), __STAT__)
537-
538535
! Is SU data driven?
539536
! ------------------
540537
call determine_data_driven (COMP_NAME, data_driven, __RC__)
@@ -1256,13 +1253,6 @@ subroutine Run2 (GC, import, export, clock, RC)
12561253

12571254
xoh = 0.0
12581255
xno3 = 0.0
1259-
1260-
if (workspace%firstRun) then
1261-
xh2o2 = MAPL_UNDEF
1262-
h2o2_init = MAPL_UNDEF
1263-
workspace%firstRun = .false.
1264-
end if
1265-
12661256
xh2o2 = h2o2_init
12671257

12681258
call SulfateUpdateOxidants (nymd, nhms, LONS, LATS, airdens, self%km, self%cdt, &
@@ -1332,7 +1322,7 @@ subroutine Run2 (GC, import, export, clock, RC)
13321322
call MAPL_VarSpecGet(InternalSpec(n), SHORT_NAME=short_name, __RC__)
13331323
call MAPL_GetPointer(internal, NAME=short_name, ptr=int_ptr, __RC__)
13341324
call WetRemovalUFS (self%km, self%klid, n, self%cdt, 'sulfate', &
1335-
KIN, MAPL_GRAV, self%radius(n), rainout_eff, self%washout_tuning, &
1325+
KIN, MAPL_GRAV, self%radius(n), rainout_eff, self%washout_tuning, &
13361326
self%wet_radius_thr, int_ptr, ple, t, airdens, pfl_lsan, pfi_lsan, SUWT, __RC__)
13371327
enddo
13381328

0 commit comments

Comments
 (0)