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
7bee76bc
Commit
7bee76bc
authored
4 years ago
by
sbiri
Browse files
Options
Download
Email Patches
Plain Diff
Update flux_subs.py
parent
01d7c95d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
flux_subs.py
flux_subs.py
+3
-3
No files found.
flux_subs.py
View file @
7bee76bc
...
...
@@ -39,10 +39,10 @@ def cdn_calc(u10n, usr, Ta, lat, meth="S80"):
cdn
=
np
.
power
((
0.10038
+
u10n
*
2.17e-3
+
np
.
power
(
u10n
,
2
)
*
2.78e-3
-
np
.
power
(
u10n
,
3
)
*
4.4e-5
)
/
u10n
,
2
)
elif
(
meth
==
"LY04"
):
cdn
=
np
.
where
(
u10n
>
0.
2
5
,
(
0.142
+
2.7
/
u10n
+
u10n
/
13.09
-
cdn
=
np
.
where
(
u10n
>
0.5
,
(
0.142
+
2.7
/
u10n
+
u10n
/
13.09
-
3.14807e-10
*
np
.
power
(
u10n
,
6
))
*
1e-3
,
(
0.142
+
2.7
/
0.
2
5
+
0.
2
5
/
13.09
-
3.14807e-10
*
np
.
power
(
0.
2
5
,
6
))
*
1e-3
)
(
0.142
+
2.7
/
0.5
+
0.5
/
13.09
-
3.14807e-10
*
np
.
power
(
0.5
,
6
))
*
1e-3
)
cdn
=
np
.
where
(
u10n
>
33
,
2.34e-3
,
np
.
copy
(
cdn
))
cdn
=
np
.
maximum
(
np
.
copy
(
cdn
),
0.1e-3
)
else
:
...
...
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