Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CTDAS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
NearRealTimeCTDAS
CTDAS
Commits
6e6dc782
Commit
6e6dc782
authored
12 years ago
by
Ingrid Luijkx
Browse files
Options
Downloads
Patches
Plain Diff
assimmilate now spelled as assimilate (consitent with pipeline.py)
parent
7b8f70f0
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
da/baseclasses/optimizer.py
+1
-1
1 addition, 1 deletion
da/baseclasses/optimizer.py
da/baseclasses/statevector.py
+1
-1
1 addition, 1 deletion
da/baseclasses/statevector.py
with
2 additions
and
2 deletions
da/baseclasses/optimizer.py
+
1
−
1
View file @
6e6dc782
...
@@ -93,7 +93,7 @@ class Optimizer(object):
...
@@ -93,7 +93,7 @@ class Optimizer(object):
allsimulated
=
None
# collect all members model samples for n=1,..,nlag
allsimulated
=
None
# collect all members model samples for n=1,..,nlag
for
n
in
range
(
self
.
nlag
):
for
n
in
range
(
self
.
nlag
):
samples
=
statevector
.
obs_to_assim
m
ilate
[
n
]
samples
=
statevector
.
obs_to_assimilate
[
n
]
members
=
statevector
.
ensemble_members
[
n
]
members
=
statevector
.
ensemble_members
[
n
]
self
.
x
[
n
*
self
.
nparams
:(
n
+
1
)
*
self
.
nparams
]
=
members
[
0
].
param_values
self
.
x
[
n
*
self
.
nparams
:(
n
+
1
)
*
self
.
nparams
]
=
members
[
0
].
param_values
self
.
X_prime
[
n
*
self
.
nparams
:(
n
+
1
)
*
self
.
nparams
,
:]
=
np
.
transpose
(
np
.
array
([
m
.
param_values
for
m
in
members
]))
self
.
X_prime
[
n
*
self
.
nparams
:(
n
+
1
)
*
self
.
nparams
,
:]
=
np
.
transpose
(
np
.
array
([
m
.
param_values
for
m
in
members
]))
...
...
This diff is collapsed.
Click to expand it.
da/baseclasses/statevector.py
+
1
−
1
View file @
6e6dc782
...
@@ -139,7 +139,7 @@ class StateVector(object):
...
@@ -139,7 +139,7 @@ class StateVector(object):
self
.
nparams
=
int
(
dacycle
.
dasystem
[
'
nparameters
'
])
self
.
nparams
=
int
(
dacycle
.
dasystem
[
'
nparameters
'
])
self
.
nobs
=
0
self
.
nobs
=
0
self
.
obs_to_assim
m
ilate
=
()
# empty containter to hold observations to assimilate later on
self
.
obs_to_assimilate
=
()
# empty containter to hold observations to assimilate later on
# These list objects hold the data for each time step of lag in the system. Note that the ensembles for each time step consist
# These list objects hold the data for each time step of lag in the system. Note that the ensembles for each time step consist
# of lists of EnsembleMember objects, we define member 0 as the mean of the distribution and n=1,...,nmembers as the spread.
# of lists of EnsembleMember objects, we define member 0 as the mean of the distribution and n=1,...,nmembers as the spread.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment