Skip to content

Commit 9760ef8

Browse files
some fixing
1 parent 63bd72a commit 9760ef8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

experiments/flux_climatology/flux_climatology.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ S = FieldTimeSeries(S_meta, arch; time_indices_in_memory=13)
165165
grid = ECCO.ECCO_immersed_grid(arch)
166166

167167
ocean_model = PrescribedOcean((; u, v, T, S); grid)
168-
ocean = Simulation(ocean_model, Δt=3hour, stop_time=365days)
168+
ocean = Simulation(ocean_model, Δt=3hours, stop_time=365days)
169169

170170
#####
171171
##### Need to extend a couple of methods

src/OceanSeaIceModels/InterfaceComputations/interpolate_atmospheric_state.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ function interpolate_atmosphere_state!(interfaces, atmosphere::PrescribedAtmosph
111111
#
112112
# TODO: find a better design for this that doesn't have redundant
113113
# arrays for the barotropic potential
114-
u_potential = forcing_barotropic_potential(ocean.model.forcing.u)
115-
v_potential = forcing_barotropic_potential(ocean.model.forcing.v)
114+
u_potential = forcing_barotropic_potential(ocean)
115+
v_potential = forcing_barotropic_potential(ocean)
116116
ρₒ = coupled_model.interfaces.ocean_properties.reference_density
117117

118118
if !isnothing(u_potential)

0 commit comments

Comments
 (0)