Skip to content

Commit 015eb8f

Browse files
authored
Merge pull request #82 from openearth/74-purpose-of-th_drylayer
Delete dry_layer function
2 parents 7631564 + 0e650d6 commit 015eb8f

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

aeolis/threshold.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -238,22 +238,6 @@ def compute_moisture(s, p):
238238

239239
return s
240240

241-
def dry_layer(s, p):
242-
243-
Tdry_top = 12. * 3600.
244-
zdry_max = 0.05
245-
246-
s['dzdry'] = (zdry_max - s['zdry']) * (p['dt_opt'] * p['accfac']) / Tdry_top + s['dzb']
247-
s['zdry'] += s['dzdry']
248-
s['zdry'] = np.minimum(np.maximum(s['zdry'], 0), zdry_max)
249-
250-
ix = (s['zdry'] == 0.)
251-
252-
s['uth'][ix] = np.inf
253-
254-
255-
return s
256-
257241

258242
#REMOVE?? CH
259243
# def compute_humidity(s, p):

0 commit comments

Comments
 (0)