Skip to content

Commit 0eb1066

Browse files
changed driver such that sstdat is initialized from sst_init, instead of sst
1 parent 38995e7 commit 0eb1066

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

configuration/driver/icedrv_flux.F90

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,9 @@ module icedrv_flux
129129
qdp , & ! deep ocean heat flux (W/m^2), negative upward
130130
hmix ! mixed layer depth (m)
131131

132+
real (kind=dbl_kind), public :: &
133+
sst_init ! initial sea surface temperature (C)
134+
132135
! water isotopes
133136
real (kind=dbl_kind), dimension (nx), public :: &
134137
HDO_ocn , & ! seawater concentration of HDO (kg/kg)
@@ -493,7 +496,7 @@ subroutine init_coupler_flux
493496
vocn (:) = c0
494497
frzmlt (:) = c0 ! freezing/melting potential (W/m^2)
495498
sss (:) = sss_fixed ! sea surface salinity (ppt)
496-
sstdat (:) = sst(:) ! sea surface temperature (C)
499+
sstdat (:) = sst_init ! sea surface temperature (C)
497500

498501
! water isotopes from ocean
499502
HDO_ocn (:) = c0

configuration/driver/icedrv_init.F90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ module icedrv_init
1010
use icedrv_constants, only: nu_diag, ice_stdout, nu_diag_out, nu_nml
1111
use icedrv_constants, only: c0, c1, c2, c3, p2, p5
1212
use icedrv_domain_size, only: nx
13+
use icedrv_flux, only: sst_init
1314
use icepack_intfc, only: icepack_init_parameters
1415
use icepack_intfc, only: icepack_init_fsd
1516
use icepack_intfc, only: icepack_init_tracer_flags
@@ -47,8 +48,7 @@ module icedrv_init
4748
hi_init_slab, & ! initial ice thickness for slab cell (nx=2)
4849
hsno_init_slab, & ! initial snow thickness for slab cell (nx=2)
4950
hbar_init_itd, & ! hbar for ice thickness for itd cell (nx=3)
50-
hsno_init_itd, & ! initial snow thickness for itd cell (nx=3)
51-
sst_init ! initial sea surface temperature (C)
51+
hsno_init_itd ! initial snow thickness for itd cell (nx=3)
5252

5353
!=======================================================================
5454

0 commit comments

Comments
 (0)