Skip to content

Commit c55af7a

Browse files
authored
Create README.md
1 parent 10ed990 commit c55af7a

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# StochasticStir.jl
2+
3+
Repository for the implementation of the stochastic stirring forcing and jet drag following
4+
[Barnes and Hartmann, 2011](https://journals.ametsoc.org/view/journals/atsc/68/12/jas-d-11-039.1.xml?tab_body=fulltext-display#bib14)
5+
and [Vallis et al. 2004](https://journals.ametsoc.org/view/journals/atsc/61/3/1520-0469_2004_061_0264_amasdm_2.0.co_2.xml).
6+
7+
See also https://github.com/SpeedyWeather/SpeedyWeather.jl/issues/394
8+
9+
To be used like
10+
11+
```julia
12+
using SpeedyWeather
13+
using StochasticStirr
14+
15+
# model components
16+
spectral_grid = SpectralGrid(trunc=42,nlev=1)
17+
forcing = StochasticStirring(spectral_grid,latitude=45)
18+
drag = JetDrag(spectral,time_scale=Day(6))
19+
initial_conditions = StartFromRest()
20+
21+
# construct the model and initialize
22+
model = BarotropicModel(;spectral_grid,initial_conditions,forcing,drag)
23+
simulation = initialize!(model)
24+
25+
# now run
26+
run!(simulation)
27+
```

0 commit comments

Comments
 (0)