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
9e1aaccf
Commit
9e1aaccf
authored
3 years ago
by
sbiri
Browse files
Options
Download
Email Patches
Plain Diff
temporary adaptation in cool skin update
parent
46e2a4c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
15 deletions
+5
-15
Code/AirSeaFluxCode.py
Code/AirSeaFluxCode.py
+5
-15
No files found.
Code/AirSeaFluxCode.py
View file @
9e1aaccf
...
...
@@ -80,21 +80,11 @@ class S88:
def
_update_coolskin_warmlayer
(
self
,
ind
):
if
self
.
cskin
==
1
:
if
self
.
skin
==
"C35"
:
self
.
dter
[
ind
],
self
.
tkt
[
ind
]
=
cs_C35
(
np
.
copy
(
self
.
SST
[
ind
]),
self
.
rho
[
ind
],
self
.
Rs
[
ind
],
self
.
Rnl
[
ind
],
self
.
cp
[
ind
],
self
.
lv
[
ind
],
np
.
copy
(
self
.
tkt
[
ind
]),
self
.
usr
[
ind
],
self
.
tsr
[
ind
],
self
.
qsr
[
ind
],
self
.
grav
[
ind
])
elif
self
.
skin
==
"ecmwf"
:
self
.
dter
[
ind
]
=
cs_ecmwf
(
self
.
rho
[
ind
],
self
.
Rs
[
ind
],
self
.
Rnl
[
ind
],
self
.
cp
[
ind
],
self
.
lv
[
ind
],
self
.
usr
[
ind
],
self
.
tsr
[
ind
],
self
.
qsr
[
ind
],
np
.
copy
(
self
.
SST
[
ind
]),
self
.
grav
[
ind
])
elif
self
.
skin
==
"Beljaars"
:
self
.
Qs
[
ind
],
self
.
dter
[
ind
]
=
cs_Beljaars
(
self
.
rho
[
ind
],
self
.
Rs
[
ind
],
self
.
Rnl
[
ind
],
self
.
cp
[
ind
],
self
.
lv
[
ind
],
self
.
usr
[
ind
],
self
.
tsr
[
ind
],
self
.
qsr
[
ind
],
self
.
grav
[
ind
],
np
.
copy
(
self
.
Qs
[
ind
]))
self
.
dter
[
ind
],
self
.
tkt
[
ind
]
=
cs
(
np
.
copy
(
self
.
SST
[
ind
]),
np
.
copy
(
self
.
tkt
[
ind
]),
self
.
rho
[
ind
],
self
.
Rs
[
ind
],
self
.
Rnl
[
ind
],
self
.
cp
[
ind
],
self
.
lv
[
ind
],
self
.
usr
[
ind
],
self
.
tsr
[
ind
],
self
.
qsr
[
ind
],
self
.
grav
[
ind
],
self
.
skin
)
self
.
dqer
[
ind
]
=
get_dqer
(
self
.
dter
[
ind
],
self
.
SST
[
ind
],
self
.
qsea
[
ind
],
self
.
lv
[
ind
])
self
.
skt
[
ind
]
=
np
.
copy
(
self
.
SST
[
ind
])
+
self
.
dter
[
ind
]
...
...
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