Skip to content

Commit

Permalink
Merge pull request #82 from openearth/74-purpose-of-th_drylayer
Browse files Browse the repository at this point in the history
Delete dry_layer function
  • Loading branch information
Sierd authored Feb 9, 2023
2 parents 7631564 + 0e650d6 commit 015eb8f
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions aeolis/threshold.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,22 +238,6 @@ def compute_moisture(s, p):

return s

def dry_layer(s, p):

Tdry_top = 12. * 3600.
zdry_max = 0.05

s['dzdry'] = (zdry_max - s['zdry']) * (p['dt_opt'] * p['accfac']) / Tdry_top + s['dzb']
s['zdry'] += s['dzdry']
s['zdry'] = np.minimum(np.maximum(s['zdry'], 0), zdry_max)

ix = (s['zdry'] == 0.)

s['uth'][ix] = np.inf


return s


#REMOVE?? CH
# def compute_humidity(s, p):
Expand Down

0 comments on commit 015eb8f

Please sign in to comment.