Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
NOCSurfaceProcesses
AirSeaFluxCode
Commits
3b9e3767
Commit
3b9e3767
authored
3 years ago
by
Richard Cornes
Browse files
Options
Download
Email Patches
Plain Diff
Changed default iterations to 30
parent
ef7cc6ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Code/AirSeaFluxCode.py
Code/AirSeaFluxCode.py
+2
-2
No files found.
Code/AirSeaFluxCode.py
View file @
3b9e3767
...
...
@@ -189,7 +189,7 @@ class S88:
zo
=
ref_ht
/
np
.
exp
(
kappa
/
np
.
sqrt
(
cd10n
))
return
zo
def
iterate
(
self
,
n
=
1
0
,
tol
=
None
):
def
iterate
(
self
,
n
=
3
0
,
tol
=
None
):
if
n
<
5
:
warnings
.
warn
(
"Iteration number <5 - resetting to 5."
)
...
...
@@ -620,7 +620,7 @@ class Beljaars(C30):
def
AirSeaFluxCode
(
spd
,
T
,
SST
,
lat
=
None
,
hum
=
None
,
P
=
None
,
hin
=
18
,
hout
=
10
,
Rl
=
None
,
Rs
=
None
,
cskin
=
None
,
skin
=
"C35"
,
wl
=
0
,
gust
=
None
,
meth
=
"S88"
,
qmeth
=
"Buck2"
,
tol
=
None
,
n
=
1
0
,
out
=
0
,
L
=
None
):
meth
=
"S88"
,
qmeth
=
"Buck2"
,
tol
=
None
,
n
=
3
0
,
out
=
0
,
L
=
None
):
"""
Calculates turbulent surface fluxes using different parameterizations
Calculates height adjusted values for spd, T, q
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment