Skip to content

Commit 0e650d6

Browse files
committed
Delete dry_layer function
The dry_layer function was mend to be a temporary solution to reproduce decaying erosion from the supratidal zone. For now this will be deleted and a solution could be a proper implementation.
1 parent 7631564 commit 0e650d6

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)