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
f15d9a52
Commit
f15d9a52
authored
Jan 23, 2019
by
brunner
Browse files
No commit message
No commit message
parent
7a222053
Changes
1
Hide whitespace changes
Inline
Side-by-side
da/cosmo/pipeline.py
View file @
f15d9a52
...
...
@@ -268,7 +268,7 @@ def prepare_state(dacycle, statevector):
statevector
.
write_to_file
(
current_sv
,
'prior'
)
# write prior info
nlag
=
int
(
dacycle
[
'time.nlag'
])
for
l
in
range
(
0
,
nlag
):
# pavle added from here
statevector
.
write_members_to_file
(
l
,
dacycle
[
'restartmap.dir'
])
#
statevector.write_members_to_file(l, dacycle['restartmap.dir'])
statevector
.
write_members_for_cosmo
(
l
,
dacycle
[
'restartmap.dir'
])
def
sample_state
(
dacycle
,
samples
,
statevector
,
obsoperator
):
...
...
@@ -319,7 +319,7 @@ def sample_step(dacycle, samples, statevector, obsoperator, lag, advance=False):
# Implement something that writes the ensemble member parameter info to file, or manipulates them further into the
# type of info needed in your transport model
statevector
.
write_members_to_file
(
lag
,
dacycle
[
'dir.input'
])
#
statevector.write_members_to_file(lag, dacycle['dir.input'])
statevector
.
write_members_for_cosmo
(
lag
,
dacycle
[
'dir.input'
])
samples
.
setup
(
dacycle
)
...
...
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