Skip to content

Commit d4a47da

Browse files
committed
copy edits
1 parent 74981cf commit d4a47da

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/community/v4-migration.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Parcels v4 migration guide
22

33
```{warning}
4-
Version 4 of Parcels is unreleased at the moment. The information in this migration guide is subject to change up to the release of Parcels. If you would like to provide feedback on this migration guide (or generally on the development of v4) please [submit an issue](https://github.com/OceanParcels/Parcels/issues/new/choose).
4+
Version 4 of Parcels is unreleased at the moment. The information in this migration guide is a work in progress, and is subject to change. If you would like to provide feedback on this migration guide (or generally on the development of v4) please [submit an issue](https://github.com/OceanParcels/Parcels/issues/new/choose).
55
```
66

7-
## Kernels:
7+
## Kernels
88

9-
- The Kernel loop has been 'vectorized', so that the input of a Kernel is not one particle anymore, but a list of particles. This means that `if`-statements in Kernels don't work anymore. Replace `if`-statements with `numpy.where` statements.
9+
- The Kernel loop has been 'vectorized', so that the input of a Kernel is not one particle anymore, but a collection of particles. This means that `if`-statements in Kernels don't work anymore. Replace `if`-statements with `numpy.where` statements.
1010
- `particle.delete()` is no longer valid. Instead, use `particle.state = StatusCode.Delete`.
1111
- Sharing state between kernels must be done via the particle data (as the kernels are not combined under the hood anymore).
1212
- `particl_dlon`, `particle_dlat` etc have been renamed to `particle.dlon` and `particle.dlat`.

0 commit comments

Comments
 (0)