-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Labels
climatology ❄️ 🥵Snow ball earth vs hothouse planetSnow ball earth vs hothouse planet
Description
This is the configuration that ran stably for 100 years, then for a further 300 years. Plots available on my own GitHub repository.
Would be good for someone to revise and provide a critique.
Here is a copy of my notebook's cell:
using SpeedyWeather
# components
spectral_grid = SpectralGrid(trunc=21, nlayers=8)
output = NetCDFOutput(spectral_grid, PrimitiveWetModel, path="/Users/vidale/SpeedyWeather", id="Climate_Ocean_Land", output_dt=Minute(180))
add!(output, SpeedyWeather.TemperatureOutput(), SpeedyWeather.LargeScalePrecipitationOutput(), SpeedyWeather.ConvectivePrecipitationOutput()) # output also temperature and precip
# Some parameterisation choices
vertical_advection = WENOVerticalAdvection(spectral_grid)
large_scale_condensation = ImplicitCondensation(spectral_grid)
convection = SimplifiedBettsMiller(spectral_grid)
temperature=LandBucketTemperature(spectral_grid)
soil_moisture=LandBucketMoisture(spectral_grid)
land = LandModel(spectral_grid; temperature, soil_moisture)
ocean = SlabOcean(spectral_grid, mixed_layer_depth=50)
#longwave_radiation = NBandRadiation(spectral_grid, nbands=5)
#Try to fix ocean albedo
#albedo = Albedo(AlbedoClimatology(spectral_grid), AlbedoClimatology(spectral_grid))
albedo = Albedo(GlobalConstantAlbedo(spectral_grid, albedo=0.06), AlbedoClimatology(spectral_grid))
# create model, initialize, run
#time_stepping = Leapfrog(spectral_grid, Δt_at_T31=Minute(20))
time_stepping = Leapfrog(spectral_grid, Δt_at_T31=Minute(40)) #CPL this is the standar time step
### Entirely new run
model = PrimitiveWetModel(spectral_grid; vertical_advection, time_stepping, large_scale_condensation, convection, land, ocean, albedo, output=output)
### Continuation run
#initial_conditions = StartFromFile(path="/Users/vidale/SpeedyWeather", id="Climate_Ocean_Land",run_number=2) # or specify `path` kwarg if not in this folder
#model = PrimitiveWetModel(spectral_grid; initial_conditions, vertical_advection, time_stepping, large_scale_condensation, convection, land, ocean, albedo, output=output)
add!(model, SpeedyWeather.AllOutputVariables()...)
simulation = initialize!(model)
# now offset via set! with add=true
set!(albedo.land, (λ, φ) -> 0., add=true)
run!(simulation, period=Year(100), output=true)
Metadata
Metadata
Assignees
Labels
climatology ❄️ 🥵Snow ball earth vs hothouse planetSnow ball earth vs hothouse planet