Skip to content

Commit

Permalink
Add Flat conditions to ozone
Browse files Browse the repository at this point in the history
  • Loading branch information
Sbozzolo committed Dec 17, 2024
1 parent eaa2f8c commit 7a74e10
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/cache/tracer_cache.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import Dates: Year
import ClimaUtilities.TimeVaryingInputs
import ClimaUtilities.TimeVaryingInputs:
TimeVaryingInput, LinearPeriodFillingInterpolation
import Interpolations as Intp
Expand Down Expand Up @@ -44,7 +45,10 @@ function tracer_cache(Y, atmos, prescribed_aerosol_names, start_date)
reference_date = start_date,
regridder_type = :InterpolationsRegridder,
regridder_kwargs = (; extrapolation_bc),
method = LinearPeriodFillingInterpolation(Year(1)),
method = LinearPeriodFillingInterpolation(
Year(1),
TimeVaryingInputs.Flat(),
),
) for name in prescribed_aerosol_names
]

Expand Down

0 comments on commit 7a74e10

Please sign in to comment.