parcels icon indicating copy to clipboard operation
parcels copied to clipboard

Main code for Parcels (Probably A Really Computationally Efficient Lagrangian Simulator)

Results 110 parcels issues
Sort by recently updated
recently updated
newest added

Most python packages are all-lowercase ([as suggested by pep8](https://peps.python.org/pep-0008/#package-and-module-names)), so we should also change the writing of `parcels` to lowercase throughout in the examples, documentation, docstrings and website. While we're...

enhancement
documentation

A nice to have feature in `Parcels` would be the option to provide latitude and longitude indices, rather than the grid indices of the model. For example, if I want...

enhancement
feature
unstructured grids

New/updated reprs for: - Variable - ParticleFile - Field - ParticleSet Samples: ``` Variable(name=test, dtype=, initial=0, to_write=False) ParticleFile(name='file.zarr', particleset=, outputdt=3600.0, chunks=None, create_new_zarrfile=False) grid : RectilinearZGrid(lon=array([ 0.00, 0.05, 0.11, ..., 0.89,...

Fixing bug when the `_warn_outputdt_release_desync()` warning is raised if particle release times are NaN

### Parcels version master ### Description The internals of `TimeConverter` with `np.timedelta64` assumes that the precision is in seconds, when that might not actually be the case. Hence `np.timedelta64(1, "D")...

bug

Currently indexing a particleset doesn't work with slice objects. ```py pset[0] - > gives first particle pset[:7] ``` ``` self = , index = slice(None, 7, None) def get_single_by_index(self, index):...

enhancement

- `timedelta_to_float` helper - patch raise statements - update var names to align with conventions - type annotations - #1620 related cleanups

So far, we haven't really worked on the output of `print()` on objects like `Field`, `FieldSet` etc. While there is a [`ParticleSet.__repr__`](https://github.com/OceanParcels/Parcels/blob/5fff42c2ea4cc12d03df8c936dd391e251658c8f/parcels/particleset.py#L339-L340), even that is pretty clunky and doesn't take...

enhancement
good first issue
coding/Python

Rather than create many issues regarding code cleanup, let's use this issue to collate cleanup related items. Feel free to edit this description to add more items. - [x] Remove...

coding/Python
cleanup

There are a number of parameters necessary for a `parcels` simulation. Two very important ones are in the `pset.execute()` statement, specifically the `outputdt` which determines the frequency particle positions and...

enhancement
good first issue
needs investigation