Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion parcels/particlefile.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@

if self.create_new_zarrfile:
if self.chunks is None:
self._chunks = (len(ids), 1)
self._chunks = (len(pset), 1)

Check warning on line 307 in parcels/particlefile.py

View check run for this annotation

Codecov / codecov/patch

parcels/particlefile.py#L307

Added line #L307 was not covered by tests
if pset._repeatpclass is not None and self.chunks[0] < 1e4: # type: ignore[index]
warnings.warn(
f"ParticleFile chunks are set to {self.chunks}, but this may lead to "
Expand Down
Loading