Commit 3e398349 authored by sbiri's avatar sbiri
Browse files

get_init.py change default gust to be turned off for YT96

parent 8088e9d1
...@@ -140,6 +140,8 @@ def get_init(spd, T, SST, lat, hum, P, Rl, Rs, cskin, skin, wl, gust, L, tol, ...@@ -140,6 +140,8 @@ def get_init(spd, T, SST, lat, hum, P, Rl, Rs, cskin, skin, wl, gust, L, tol,
gust = [1, 1, 1000] gust = [1, 1, 1000]
elif np.all(gust == None): elif np.all(gust == None):
gust = [1, 1.2, 800] gust = [1, 1.2, 800]
elif (np.all(gust == None) and (meth == "YT96")):
gust = [0, 0, 0]
elif ((np.size(gust) < 3) and (gust == 0)): elif ((np.size(gust) < 3) and (gust == 0)):
gust = [0, 0, 0] gust = [0, 0, 0]
elif (np.size(gust) < 3): elif (np.size(gust) < 3):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment