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

fixed module datetime inaccesible

parent f963dae5
No related branches found
No related tags found
No related merge requests found
......@@ -123,7 +123,7 @@ def JobInput(DaCycle, StateVector):
# Fill each week from n=1 to n=nlag with a new ensemble
for n in range(0,nlag):
date = DaCycle['time.start']+timedelta(days = (n+0.5)* int(DaCycle['time.cycle']))
date = DaCycle['time.start']+datetime.timedelta(days = (n+0.5)* int(DaCycle['time.cycle']))
cov = StateVector.GetCovariance(DaCycle.DaSystem,date)
dummy = StateVector.MakeNewEnsemble(n+1,cov)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment