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
6f63e1bb
Commit
6f63e1bb
authored
3 years ago
by
sbiri
Browse files
Options
Download
Email Patches
Plain Diff
changed temp to tmp in line 947-950 not to confuse temporary var. for temperature
parent
843eb946
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 @
6f63e1bb
...
...
@@ -944,10 +944,10 @@ def get_L(L, lat, usr, tsr, qsr, hin, Ta, sst, qair, qsea, wind, monob, zo,
psim_calc
(
hin
[
1
]
/
monob
,
meth
)))
Rb
=
g
*
dthv
*
hin
[
1
]
/
(
tv
*
uz
*
uz
)
if
(
L
==
"tsrv"
):
t
e
mp
=
(
g
*
kappa
*
tsrv
/
tmp
=
(
g
*
kappa
*
tsrv
/
np
.
maximum
(
np
.
power
(
usr
,
2
)
*
Ta
*
(
1
+
0.6077
*
qair
),
1e-9
))
t
e
mp
=
np
.
minimum
(
np
.
abs
(
t
e
mp
),
200
)
*
np
.
sign
(
t
e
mp
)
monob
=
1
/
np
.
copy
(
t
e
mp
)
tmp
=
np
.
minimum
(
np
.
abs
(
tmp
),
200
)
*
np
.
sign
(
tmp
)
monob
=
1
/
np
.
copy
(
tmp
)
elif
(
L
==
"Rb"
):
zol
=
(
Rb
*
(
np
.
power
(
np
.
log
((
hin
[
1
]
+
zo
)
/
zo
)
-
psim_calc
((
hin
[
1
]
+
zo
)
/
monob
,
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