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
8dd20cea
Commit
8dd20cea
authored
3 years ago
by
sbiri
Browse files
Options
Download
Email Patches
Plain Diff
- fixed L input options
- added more detailed description for gust input
parent
ac763a43
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
toy_ASFC.py
toy_ASFC.py
+8
-5
No files found.
toy_ASFC.py
View file @
8dd20cea
...
...
@@ -526,7 +526,10 @@ while qmIn not in ["HylandWexler", "Hardy", "Preining", "Wexler",
else
:
qmIn
=
qmIn
#------------------------------------------------------------------------------
gustIn
=
input
(
"Give gustiness option (to use default press enter):
\n
"
)
gustIn
=
input
(
"Give gustiness option (to switch it off enter 0;"
" to set your own input use the form [1, B, zi]"
" i.e. [1, 1, 800] or "
"to use default press enter):
\n
"
)
if
(
gustIn
==
''
):
gustIn
=
None
ext
=
ext
+
'gust_'
...
...
@@ -563,11 +566,11 @@ else:
tolIn
=
eval
(
tolIn
)
ext
=
ext
+
'tol'
+
tolIn
[
0
]
#------------------------------------------------------------------------------
LIn
=
input
(
"Give prefered method for L (
S80 or ecmwf
):
\n
"
)
LIn
=
input
(
"Give prefered method for L (
tsrv or Rb
):
\n
"
)
if
(
LIn
==
''
):
LIn
=
'
ecmwf
'
# default
elif
LIn
not
in
[
"
S80"
,
"ecmwf
"
]:
LIn
=
'
ecmwf
'
# default
LIn
=
'
tsrv
'
# default
elif
LIn
not
in
[
"
tsrv"
,
"Rb
"
]:
LIn
=
'
tsrv
'
# default
else
:
LIn
=
LIn
#------------------------------------------------------------------------------
...
...
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