Skip to content

Commit 8261b17

Browse files
authored
Merge pull request #46 from ESCOMP/bugfix/enable_b4b_reproducibility_in_esmf_regridding
Enable b4b reproducibility in ESMF regridding
2 parents f4df113 + e09d4b6 commit 8261b17

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

CHANGELOG.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22

33
This file documents all notable changes to the HEMCO-CESM interface since late 2022.
44

5-
## [2.0.1] - TBD
5+
## [2.1.1] - TBD
6+
### Fixed
7+
- Enable b4b reproducibility in all CAM <-> HCO regridding by passing srcTermProcessing=1 to ESMF_RegridFieldStore
8+
9+
## [2.1.0] - 2024-12-16
610
### Added
711
- Added fleximod capability to .gitmodules
812
- Added print target LUN for atm.log to arguments passed to HEMCO ConfigInit to direct HEMCO root prints to atm.log rathe rather than cesm.log

hco_esmf_grid.F90

+4-4
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,7 @@ subroutine HCO_Grid_UpdateRegrid( RC )
860860
poleMethod=ESMF_POLEMETHOD_ALLAVG, &
861861
extrapMethod=ESMF_EXTRAPMETHOD_NEAREST_IDAVG, &
862862
routeHandle=CAM2HCO_RouteHandle_2D, &
863-
!srcTermProcessing=smm_srctermproc, &
863+
srcTermProcessing=smm_srctermproc, &
864864
pipelineDepth=smm_pipelinedep, rc=RC)
865865
ASSERT_(RC==ESMF_SUCCESS)
866866

@@ -877,7 +877,7 @@ subroutine HCO_Grid_UpdateRegrid( RC )
877877
poleMethod=ESMF_POLEMETHOD_ALLAVG, &
878878
extrapMethod=ESMF_EXTRAPMETHOD_NEAREST_IDAVG, &
879879
routeHandle=CAM2HCO_RouteHandle_3D, &
880-
!srcTermProcessing=smm_srctermproc, &
880+
srcTermProcessing=smm_srctermproc, &
881881
pipelineDepth=smm_pipelinedep, rc=RC)
882882
ASSERT_(RC==ESMF_SUCCESS)
883883

@@ -892,7 +892,7 @@ subroutine HCO_Grid_UpdateRegrid( RC )
892892
regridMethod=ESMF_REGRIDMETHOD_CONSERVE , &
893893
poleMethod=ESMF_POLEMETHOD_NONE, &
894894
routeHandle=HCO2CAM_RouteHandle_2D, &
895-
!srcTermProcessing=smm_srctermproc, &
895+
srcTermProcessing=smm_srctermproc, &
896896
pipelineDepth=smm_pipelinedep, rc=RC)
897897
ASSERT_(RC==ESMF_SUCCESS)
898898

@@ -909,7 +909,7 @@ subroutine HCO_Grid_UpdateRegrid( RC )
909909
regridMethod=ESMF_REGRIDMETHOD_CONSERVE , &
910910
poleMethod=ESMF_POLEMETHOD_NONE, &
911911
routeHandle=HCO2CAM_RouteHandle_3D, &
912-
!srcTermProcessing=smm_srctermproc, &
912+
srcTermProcessing=smm_srctermproc, &
913913
pipelineDepth=smm_pipelinedep, rc=RC)
914914
ASSERT_(RC==ESMF_SUCCESS)
915915

0 commit comments

Comments
 (0)