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
c2f8f01a
Commit
c2f8f01a
authored
3 years ago
by
sbiri
Browse files
Options
Download
Email Patches
Plain Diff
Fixed issue #32
parent
f5182368
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
flux_subs.py
flux_subs.py
+1
-3
No files found.
flux_subs.py
View file @
c2f8f01a
...
...
@@ -28,9 +28,7 @@ def cdn_calc(u10n, usr, Ta, lat, meth="S80"):
if
(
meth
==
"S80"
):
cdn
=
(
0.61
+
0.063
*
u10n
)
*
0.001
elif
(
meth
==
"LP82"
):
cdn
=
np
.
where
(
u10n
<
4
,
1.14
*
0.001
,
np
.
where
((
u10n
<
11
)
&
(
u10n
>=
4
),
1.2
*
0.001
,
(
0.49
+
0.065
*
u10n
)
*
0.001
))
cdn
=
np
.
where
(
u10n
<
11
,
1.2
*
0.001
,
(
0.49
+
0.065
*
u10n
)
*
0.001
)
elif
(
meth
==
"S88"
or
meth
==
"UA"
or
meth
==
"ecmwf"
or
meth
==
"C30"
or
meth
==
"C35"
or
meth
==
"Beljaars"
):
# or meth == "C40"
cdn
=
cdn_from_roughness
(
u10n
,
usr
,
Ta
,
lat
,
meth
)
...
...
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