@@ -389,7 +389,8 @@ subroutine InitializeAdvertise(comp, importState, exportState, clock, rc)
389389 _SCHISM_LOG_AND_FINALIZE_ON_ERROR_(rc)
390390 call NUOPC_FieldDictionaryAddIfNeeded(" mixed_layer_depth" , " 1" , localrc)
391391 _SCHISM_LOG_AND_FINALIZE_ON_ERROR_(rc)
392- #ifdef USE_CICE
392+
393+ #ifdef USE_CICE
393394 ! Adding CICE fields to ufs_fd
394395 call NUOPC_FieldDictionaryAddIfNeeded(" Si_uvel" , " m s-1" , localrc)
395396 _SCHISM_LOG_AND_FINALIZE_ON_ERROR_(rc)
@@ -432,7 +433,7 @@ subroutine InitializeAdvertise(comp, importState, exportState, clock, rc)
432433 call NUOPC_Advertise(importState, " Si_frzmlt" , rc= localrc)
433434 call NUOPC_Advertise(importState, " Si_CdnIO" , rc= localrc)
434435 call NUOPC_Advertise(importState, " Si_hi" , rc= localrc)
435- #endif USE_CICE
436+ #endif USE_CICE
436437
437438 ! for coupling to ATM/DATM
438439 call NUOPC_Advertise(importState, " air_pressure_at_sea_level" , rc= localrc)
@@ -669,7 +670,8 @@ subroutine InitializeRealize(comp, importState, exportState, clock, rc)
669670 call SCHISM_StateFieldCreateRealize(comp, state= importState, &
670671 name= " inst_prec_rate" , field= field, rc= localrc)
671672 _SCHISM_LOG_AND_FINALIZE_ON_ERROR_(rc)
672- #ifdef USE_CICE
673+
674+ #ifdef USE_CICE
673675 ! Adding CICE vars to import state
674676 ! > Ice_velocity ---------------------------------------------
675677 call SCHISM_StateFieldCreateRealize(comp, state= importState, &
@@ -732,7 +734,7 @@ subroutine InitializeRealize(comp, importState, exportState, clock, rc)
732734 call SCHISM_StateFieldCreateRealize(comp, state= importState, &
733735 name= " Si_CdnIO" , field= field, rc= localrc)
734736 _SCHISM_LOG_AND_FINALIZE_ON_ERROR_(rc)
735- #endif USE_CICE
737+ #endif USE_CICE
736738
737739
738740 ! > Wave parameters, for now we only have those from the WW3DATA cap in
@@ -1205,12 +1207,12 @@ subroutine SCHISM_Import(comp, importState, clock, rc)
12051207
12061208 use schism_glbl , only: RADFLAG, windx2, windy2, pr2, npa
12071209 use schism_glbl , only: airt2,shum2,srad,hradd,fluxprc
1208- #ifdef USE_CICE
1210+ #ifdef USE_CICE
12091211 use schism_glbl , only: uvice,vvice,taux_ice,tauy_ice,vol_sno,vol_ice, &
12101212 aice,ifresh_flux,isalt_flux,iheat_flux, &
12111213 isw_pen,frzmlt,tau_oi,fresh_wa_flux, &
12121214 salinity_flux,net_heat_flux,srad_th_ice,CdnIO,znl, nvrt, tr_nd
1213- #endif USE_CICE
1215+ #endif USE_CICE
12141216 use schism_esmf_util, only: SCHISM_StateImportWaveTensor
12151217 use schism_esmf_util, only: SCHISM_StateImportWave3dVortex
12161218 use schism_esmf_util, only: SCHISM_StateUpdate
@@ -1294,7 +1296,8 @@ subroutine SCHISM_Import(comp, importState, clock, rc)
12941296 call SCHISM_StateUpdate(importState, ' inst_prec_rate' , fluxprc, &
12951297 isPtr= isDataPtr, rc= localrc)
12961298 _SCHISM_LOG_AND_FINALIZE_ON_ERROR_(rc)
1297- #ifdef USE_CICE
1299+
1300+ #ifdef USE_CICE
12981301 ! >-------------------------------------------------------
12991302 ! > Allocate vars to dump cice import to
13001303 ! >-------------------------------------------------------
@@ -1464,7 +1467,8 @@ subroutine SCHISM_Import(comp, importState, clock, rc)
14641467
14651468 endif
14661469 enddo
1467- #endif USE_CICE
1470+ #endif USE_CICE
1471+
14681472 ! > Write fields on import state for debugging
14691473 if (debug_level > 0 ) then
14701474 call ESMF_ClockGet(clock, currTime= currTime, rc= localrc)
0 commit comments