Skip to content

Commit ff111ad

Browse files
authored
Merge pull request #1423 from GEOS-ESM/bugfix/zhaobin74/seaice-radiation-export
V11: fix the zero export bug
2 parents c82d08d + a78247e commit ff111ad

1 file changed

Lines changed: 7 additions & 9 deletions

File tree

GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/GEOSsaltwater_GridComp/GEOS_SeaiceInterfaceGridComp.F90

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2343,15 +2343,6 @@ subroutine CICECORE(NT,RC)
23432343

23442344

23452345
real :: YDAY
2346-
real, dimension(NT) :: ALBVRI
2347-
real, dimension(NT) :: ALBVFI
2348-
real, dimension(NT) :: ALBNRI
2349-
real, dimension(NT) :: ALBNFI
2350-
2351-
real, allocatable :: ALBVRN (:,:)
2352-
real, allocatable :: ALBNRN (:,:)
2353-
real, allocatable :: ALBVFN (:,:)
2354-
real, allocatable :: ALBNFN (:,:)
23552346

23562347
real, allocatable :: TS_OLD (:,:)
23572348

@@ -2747,6 +2738,7 @@ subroutine CICECORE(NT,RC)
27472738
if(associated(HLATICE)) HLATICE = HLATICE + LHF *FR(:,N)
27482739
if(associated(SHICE )) SHICE = SHICE + SHF *FR(:,N)
27492740
if(associated(LWNDICE)) LWNDICE = LWNDICE + (LWDNSRF - ALW - BLW*TS(:,N))*FR(:,N)
2741+
if(associated(LWNDSRF)) LWNDSRF = LWNDSRF + (LWDNSRF - ALW - BLW*TS(:,N))*FR(:,N)
27502742
end do update_surf
27512743

27522744
EMISS = EMSICE
@@ -2759,6 +2751,7 @@ subroutine CICECORE(NT,RC)
27592751
if(associated(SHICE )) call Normalize(SHICE, FRCICE)
27602752
if(associated(SUBLIM )) call Normalize(SUBLIM, FRCICE)
27612753
if(associated(EVAPOUT)) call Normalize(EVAPOUT, FRCICE)
2754+
if(associated(LWNDSRF)) call Normalize(LWNDSRF, FRCICE)
27622755

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

@@ -2794,6 +2787,11 @@ subroutine CICECORE(NT,RC)
27942787
XFORM_O2A, locstreamO, __RC__)
27952788
endif
27962789

2790+
if(associated(SWNDSRF)) then
2791+
SWNDSRF = &
2792+
(1.-ALBVR)*VSUVR + (1.-ALBVF)*VSUVF + &
2793+
(1.-ALBNR)*DRNIR + (1.-ALBNF)*DFNIR
2794+
endif
27972795

27982796
!************************************************************************************************
27992797
!

0 commit comments

Comments
 (0)