@@ -420,7 +420,7 @@ subroutine convert_IOB_to_fluxes(IOB, fluxes, index_bounds, Time, valid_time, G,
420420 endif
421421
422422 ! obtain fluxes from IOB; note the staggering of indices
423- i0 = 0 ; j0 = 0
423+ i0 = 0 ; j0 = 0
424424 do j= js,je ; do i= is,ie
425425 ! liquid precipitation (rain)
426426 if (associated (IOB% lprec)) &
@@ -641,7 +641,7 @@ subroutine convert_IOB_to_forces(IOB, forces, index_bounds, Time, G, US, CS)
641641 IsdB = G% IsdB ; IedB = G% IedB ; JsdB = G% JsdB ; JedB = G% JedB
642642 isr = is- isd+1 ; ier = ie- isd+1 ; jsr = js- jsd+1 ; jer = je- jsd+1
643643 ! i0 = is - isc_bnd ; j0 = js - jsc_bnd
644- i0 = 0 ; j0 = 0
644+ i0 = 0 ; j0 = 0
645645
646646 Irho0 = US% L_to_Z / CS% Rho0
647647 Pa_conversion = US% kg_m3_to_R* US% m_s_to_L_T** 2 * US% L_to_Z
@@ -899,7 +899,7 @@ subroutine apply_flux_adjustments(G, US, CS, Time, fluxes)
899899 integer :: isc, iec, jsc, jec, i, j
900900 logical :: overrode_h
901901
902- isc = G% isc; iec = G% iec ; jsc = G% jsc; jec = G% jec
902+ isc = G% isc ; iec = G% iec ; jsc = G% jsc ; jec = G% jec
903903
904904 overrode_h = .false.
905905 call data_override(' OCN' , ' hflx_adj' , temp_at_h(isc:iec,jsc:jec), Time, override= overrode_h)
@@ -949,7 +949,7 @@ subroutine apply_force_adjustments(G, US, CS, Time, forces)
949949 real :: Pa_conversion ! A unit conversion factor from Pa to the internal units [R Z L T-2 Pa-1 ~> 1]
950950 logical :: overrode_x, overrode_y
951951
952- isc = G% isc; iec = G% iec ; jsc = G% jsc; jec = G% jec
952+ isc = G% isc ; iec = G% iec ; jsc = G% jsc ; jec = G% jec
953953 Pa_conversion = US% kg_m3_to_R* US% m_s_to_L_T** 2 * US% L_to_Z
954954
955955 tempx_at_h(:,:) = 0.0 ; tempy_at_h(:,:) = 0.0
@@ -1227,13 +1227,13 @@ subroutine surface_forcing_init(Time, G, US, param_file, diag, CS, restore_salt,
12271227 if (CS% read_TIDEAMP) then
12281228 TideAmp_file = trim (CS% inputdir) // trim (TideAmp_file)
12291229 call MOM_read_data(TideAmp_file,' tideamp' ,CS% TKE_tidal,G% domain,timelevel= 1 , scale= US% m_to_Z* US% T_to_s)
1230- do j= jsd, jed; do i= isd, ied
1230+ do j= jsd,jed ; do i= isd,ied
12311231 utide = CS% TKE_tidal(i,j)
12321232 CS% TKE_tidal(i,j) = G% mask2dT(i,j)* CS% Rho0* CS% cd_tides* (utide* utide* utide)
12331233 CS% ustar_tidal(i,j) = sqrt (CS% cd_tides)* utide
12341234 enddo ; enddo
12351235 else
1236- do j= jsd,jed; do i= isd,ied
1236+ do j= jsd,jed ; do i= isd,ied
12371237 utide = CS% utide
12381238 CS% TKE_tidal(i,j) = CS% Rho0* CS% cd_tides* (utide* utide* utide)
12391239 CS% ustar_tidal(i,j) = sqrt (CS% cd_tides)* utide
@@ -1327,7 +1327,7 @@ subroutine surface_forcing_init(Time, G, US, param_file, diag, CS, restore_salt,
13271327 if (present (restore_salt)) then ; if (restore_salt) then
13281328 salt_file = trim (CS% inputdir) // trim (CS% salt_restore_file)
13291329 CS% srestore_handle = init_external_field(salt_file, CS% salt_restore_var_name, domain= G% Domain% mpp_domain)
1330- call safe_alloc_ptr(CS% srestore_mask,isd,ied,jsd,jed); CS% srestore_mask(:,:) = 1.0
1330+ call safe_alloc_ptr(CS% srestore_mask,isd,ied,jsd,jed) ; CS% srestore_mask(:,:) = 1.0
13311331 if (CS% mask_srestore) then ! read a 2-d file containing a mask for restoring fluxes
13321332 flnam = trim (CS% inputdir) // ' salt_restore_mask.nc'
13331333 call MOM_read_data(flnam,' mask' , CS% srestore_mask, G% domain, timelevel= 1 )
@@ -1337,7 +1337,7 @@ subroutine surface_forcing_init(Time, G, US, param_file, diag, CS, restore_salt,
13371337 if (present (restore_temp)) then ; if (restore_temp) then
13381338 temp_file = trim (CS% inputdir) // trim (CS% temp_restore_file)
13391339 CS% trestore_handle = init_external_field(temp_file, CS% temp_restore_var_name, domain= G% Domain% mpp_domain)
1340- call safe_alloc_ptr(CS% trestore_mask,isd,ied,jsd,jed); CS% trestore_mask(:,:) = 1.0
1340+ call safe_alloc_ptr(CS% trestore_mask,isd,ied,jsd,jed) ; CS% trestore_mask(:,:) = 1.0
13411341 if (CS% mask_trestore) then ! read a 2-d file containing a mask for restoring fluxes
13421342 flnam = trim (CS% inputdir) // ' temp_restore_mask.nc'
13431343 call MOM_read_data(flnam, ' mask' , CS% trestore_mask, G% domain, timelevel= 1 )
@@ -1403,7 +1403,7 @@ subroutine ice_ocn_bnd_type_chksum(id, timestep, iobt)
14031403 chks = field_chksum( iobt% v_flux ) ; if (root) write (outunit,100 ) ' iobt%v_flux ' , chks
14041404 chks = field_chksum( iobt% t_flux ) ; if (root) write (outunit,100 ) ' iobt%t_flux ' , chks
14051405 chks = field_chksum( iobt% q_flux ) ; if (root) write (outunit,100 ) ' iobt%q_flux ' , chks
1406- chks = field_chksum( iobt% seaice_melt_heat); if (root) write (outunit,100 ) ' iobt%seaice_melt_heat' , chks
1406+ chks = field_chksum( iobt% seaice_melt_heat) ; if (root) write (outunit,100 ) ' iobt%seaice_melt_heat' , chks
14071407 chks = field_chksum( iobt% seaice_melt) ; if (root) write (outunit,100 ) ' iobt%seaice_melt ' , chks
14081408 chks = field_chksum( iobt% salt_flux ) ; if (root) write (outunit,100 ) ' iobt%salt_flux ' , chks
14091409 chks = field_chksum( iobt% lw_flux ) ; if (root) write (outunit,100 ) ' iobt%lw_flux ' , chks
0 commit comments