diff --git a/experiments/ClimaEarth/run_amip.jl b/experiments/ClimaEarth/run_amip.jl index 14d7ca0a49..623586e497 100644 --- a/experiments/ClimaEarth/run_amip.jl +++ b/experiments/ClimaEarth/run_amip.jl @@ -126,8 +126,8 @@ function get_period(t_start, t_end) secs_per_day = 86400 if sim_duration >= 90 * secs_per_day # if duration >= 90 days, take monthly means - period = "30days" - calendar_dt = Dates.Day(30) + period = "1months" + calendar_dt = Dates.Month(1) elseif sim_duration >= 30 * secs_per_day # if duration >= 30 days, take means over 10 days period = "10days" diff --git a/test/regridder_tests.jl b/test/regridder_tests.jl index aa876f45cd..4d966fb338 100644 --- a/test/regridder_tests.jl +++ b/test/regridder_tests.jl @@ -320,7 +320,7 @@ end NCDatasets.defVar(ds, "time", dates, ("time",);) NCDatasets.defVar(ds, "lat", 1:32, ("lat",);) NCDatasets.defVar(ds, "lon", 1:64, ("lon",);) - dummy_data = reshape(1:(32 * 64 * 100), 64, 32, 100) + dummy_data = reshape(1:(32*64*100), 64, 32, 100) NCDatasets.defVar(ds, "dummy_var", dummy_data, ("lon", "lat", "time")) ds.attrib["title"] = "dummy dataset" close(ds)