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
Container registry
Model registry
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
Tsurata, Aki
CTDAS
Commits
ce2244e4
Commit
ce2244e4
authored
14 years ago
by
Peters, Wouter
Browse files
Options
Downloads
Patches
Plain Diff
started to implement the function to get model-data mismatch for each obs
parent
4514d5a4
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
da/tools/pipeline.py
+8
-2
8 additions, 2 deletions
da/tools/pipeline.py
with
8 additions
and
2 deletions
da/tools/pipeline.py
+
8
−
2
View file @
ce2244e4
...
...
@@ -227,10 +227,16 @@ def SampleOneCycle(DaCycle,Samples,StateVector, ObservationOperator,lag):
DaCycle
.
da_settings
[
'
ObsOperator.inputfile
'
]
=
filename
# Run the
forecast model
# Run the
observation operator
dummy
=
RunForecastModel
(
DaCycle
,
ObservationOperator
)
# Add model-data mismatch to all samples, this *might* use output from the ensemble in the future??
dummy
=
Samples
.
AddModelDataMismatch
(
DaCycle
)
msg
=
"
Added Model Data Mismatch to all samples
"
;
logging
.
debug
(
msg
)
# Read forecast model samples that were written to NetCDF files by each member, also add the obs to the statevector
silent
=
False
...
...
@@ -240,7 +246,7 @@ def SampleOneCycle(DaCycle,Samples,StateVector, ObservationOperator,lag):
Member
.
ModelSample
=
Samples
silent
=
True
msg
=
"
Added samples from the
forecast model
to each member of the StateVector
"
;
logging
.
debug
(
msg
)
msg
=
"
Added samples from the
observation operator
to each member of the StateVector
"
;
logging
.
debug
(
msg
)
# Advance the sample time
...
...
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