Skip to content

Commit 282aa4d

Browse files
Change field.eval output to single float
1 parent 84ac211 commit 282aa4d

File tree

1 file changed

+1
-1
lines changed
  • src/virtualship/instruments

1 file changed

+1
-1
lines changed

src/virtualship/instruments/ctd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def simulate_ctd(
104104
y=np.array([ctd.spacetime.location.lat], dtype=np.float32),
105105
x=np.array([ctd.spacetime.location.lon], dtype=np.float32),
106106
time=fieldset.time_interval.left,
107-
),
107+
)[0],
108108
)
109109
for ctd in ctds
110110
]

0 commit comments

Comments
 (0)