diff --git a/experiments/integrated/fluxnet/ozark_pft.jl b/experiments/integrated/fluxnet/ozark_pft.jl index c5cd876e1a..c9a7755af1 100644 --- a/experiments/integrated/fluxnet/ozark_pft.jl +++ b/experiments/integrated/fluxnet/ozark_pft.jl @@ -291,7 +291,8 @@ set_initial_cache! = make_set_initial_cache(land) set_initial_cache!(p, Y, t0); # Simulation -saveat = Array(t0:3600:tf) +dt_save = 3600.0 +saveat = Array(t0:dt_save:tf) sv = (; t = Array{Float64}(undef, length(saveat)), saveval = Array{NamedTuple}(undef, length(saveat)), @@ -342,7 +343,6 @@ end # Number of days to plot num_days = N_days - N_spinup_days - # Time series of model and data outputs data_times = [0:DATA_DT:(num_days * S_PER_DAY);] model_times = [0:dt_save:(num_days * S_PER_DAY);] diff --git a/experiments/integrated/fluxnet/run_fluxnet.jl b/experiments/integrated/fluxnet/run_fluxnet.jl index 5aa20732ae..b476b8e023 100644 --- a/experiments/integrated/fluxnet/run_fluxnet.jl +++ b/experiments/integrated/fluxnet/run_fluxnet.jl @@ -355,7 +355,7 @@ swc, soil_T, si = [ layer = 20,#surface )[2][(N_spinup_days * 24):end] for diag_name in hourly_diag_name_2D ] -dt_save = 3600 # hourly diagnostics +dt_save = 3600.0 # hourly diagnostics times_diag = Array(0:dt_save:(num_days * 24 * dt_save)) # convert units for GPP and ET