Skip to content
Snippets Groups Projects
Commit 188f81af authored by Peters, Wouter's avatar Peters, Wouter
Browse files

debugging optimizer

parent d47ea5e9
Branches
No related tags found
No related merge requests found
...@@ -165,6 +165,7 @@ def SampleState(DaCycle,Samples,StateVector, ObservationOperator): ...@@ -165,6 +165,7 @@ def SampleState(DaCycle,Samples,StateVector, ObservationOperator):
# Optionally, post-processing of the model output can be added that deals for instance with # Optionally, post-processing of the model output can be added that deals for instance with
# sub-sampling of time series, vertical averaging, etc. # sub-sampling of time series, vertical averaging, etc.
for n in range(nlag): print StateVector.EnsembleMembers[n][0].ModelSample.Data.getvalues('obs'), allobs
return None return None
def SampleOneCycle(DaCycle,Samples,StateVector, ObservationOperator,lag): def SampleOneCycle(DaCycle,Samples,StateVector, ObservationOperator,lag):
...@@ -239,6 +240,8 @@ def SampleOneCycle(DaCycle,Samples,StateVector, ObservationOperator,lag): ...@@ -239,6 +240,8 @@ def SampleOneCycle(DaCycle,Samples,StateVector, ObservationOperator,lag):
startdate = AdvanceTime( startdate, cyclelen) startdate = AdvanceTime( startdate, cyclelen)
DaCycle['time.sample.start'] = startdate DaCycle['time.sample.start'] = startdate
return None
def Invert(DaCycle, StateVector, Optimizer ): def Invert(DaCycle, StateVector, Optimizer ):
""" Perform the inverse calculation """ """ Perform the inverse calculation """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment