Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
NearRealTimeCTDAS
CTDAS
Commits
9c2e8960
Commit
9c2e8960
authored
Jan 21, 2019
by
brunner
Browse files
No commit message
No commit message
parent
08755fc9
Changes
1
Hide whitespace changes
Inline
Side-by-side
da/cosmo/observationoperator.py
View file @
9c2e8960
...
...
@@ -174,7 +174,8 @@ class ObservationOperator(object):
def
extract_model_data
(
self
,
dacycle
,
hstart
,
hstop
,
ensnum
):
self
.
dacycle
=
dacycle
time_stamp
=
str
((
dacycle
[
'time.start'
]
+
timedelta
(
hours
=
hstart
)).
strftime
(
'%Y%m%d%H'
))
+
'_'
+
str
((
dacycle
[
'time.start'
]
+
timedelta
(
hours
=
hstop
)).
strftime
(
'%Y%m%d%H'
))
# time_stamp = str((dacycle['time.start']+timedelta(hours=hstart)).strftime('%Y%m%d%H'))+'_'+str((dacycle['time.start']+timedelta(hours=hstop)).strftime('%Y%m%d%H'))
time_stamp
=
dacycle
[
'time.sample.stamp'
]
abs_start_time
=
str
((
to_datetime
(
dacycle
[
'abs.time.start'
])).
strftime
(
'%Y%m%d%H'
))
cosmo_out
=
"/scratch/snx3000/parsenov/ctdas/"
+
abs_start_time
+
"_"
+
str
(
hstart
)
+
"_"
+
str
(
hstop
+
1
)
+
"/cosmo/output/"
...
...
Write
Preview
Supports
Markdown
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