File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/virtualship/instruments Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 55from pathlib import Path
66
77import numpy as np
8- from parcels import FieldSet , JITParticle , ParticleSet , Variable
98
9+ from parcels import FieldSet , JITParticle , ParticleSet , Variable
1010from virtualship .models import Spacetime
1111
1212
@@ -103,8 +103,8 @@ def simulate_ctd_bgc(
103103 # TODO when Parcels supports it this check can be removed.
104104 return
105105
106- fieldset_starttime = fieldset .time_origin .fulltime (fieldset .U .grid .time_full [0 ])
107- fieldset_endtime = fieldset .time_origin .fulltime (fieldset .U .grid .time_full [- 1 ])
106+ fieldset_starttime = fieldset .time_origin .fulltime (fieldset .o2 .grid .time_full [0 ])
107+ fieldset_endtime = fieldset .time_origin .fulltime (fieldset .o2 .grid .time_full [- 1 ])
108108
109109 # deploy time for all ctds should be later than fieldset start time
110110 if not all (
You can’t perform that action at this time.
0 commit comments