Skip to content

Commit 4cb37ca

Browse files
committed
typing
1 parent 3f184d0 commit 4cb37ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

parcels/field.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ def from_netcdf(
423423
depth = filebuffer.depth
424424
data_full_zdim = filebuffer.data_full_zdim
425425
else:
426-
indices["depth"] = [0]
426+
indices["depth"] = np.array([0])
427427
depth = np.zeros(1)
428428
data_full_zdim = 1
429429

0 commit comments

Comments
 (0)