Skip to content

Commit 7b0e67d

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 2023f97 commit 7b0e67d

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

parcels/field.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,11 @@ def from_netcdf(
686686
kwargs["data_full_zdim"] = data_full_zdim
687687

688688
if len(data_filenames) > 1 and "time" not in dimensions and timestamps is None:
689-
warnings.warn("Multiple files given but no time dimension specified. See https://github.com/OceanParcels/Parcels/issues/1831 for more info.", FieldSetWarning, stacklevel=2)
689+
warnings.warn(
690+
"Multiple files given but no time dimension specified. See https://github.com/OceanParcels/Parcels/issues/1831 for more info.",
691+
FieldSetWarning,
692+
stacklevel=2,
693+
)
690694

691695
if grid is None:
692696
# Concatenate time variable to determine overall dimension

0 commit comments

Comments
 (0)