Nick Hodgskin

Results 138 issues of Nick Hodgskin

We have some warnings along the lines of https://github.com/OceanParcels/Parcels/blob/5fff42c2ea4cc12d03df8c936dd391e251658c8f/parcels/field.py#L232-L238 Thoughts on just raising a ValueError instead? Its incorrect usage of the API, and I think explicitly failing would be nicer...

enhancement

In the Field constructor: https://github.com/OceanParcels/Parcels/blob/5fff42c2ea4cc12d03df8c936dd391e251658c8f/parcels/field.py#L106-L107 However the underlying behaviour looks to be a bit different. https://github.com/OceanParcels/Parcels/blob/5fff42c2ea4cc12d03df8c936dd391e251658c8f/parcels/field.py#L198 This leads to strange stuff like: ```py >>> field = Field("newfld", fieldset.U.data, lon=fieldset.U.lon, lat=fieldset.U.lat)...

cleanup

Lets make the following read only (so that users don't try to edit it expecting it to propagate to the grid https://github.com/OceanParcels/Parcels/blob/93cc635b82397a826e4e0869f2db4ecc7b3bfb19/parcels/field.py#L192-L197 cc: @sruehs

enhancement
coding/Python

`parcels 3.0.4` When running on Windows, occasionally (without seeming to have changed any code) one can run into an `access violation` error. E.g., ``` INFO: Compiled GalapagosParticleAdvectionRK4SampleGalapagosAge ==> C:\Users\ADMINI~1\AppData\Local\Temp\parcels-tmp\b3cd2748cfdf0ad1ba5ba70184487415.dll ---------------------------------------------------------------------------...

help wanted
coding/C
needs investigation

https://github.com/OceanParcels/Parcels/blob/595b7a94cdf97182df53c88fa99cf05646f07346/parcels/fieldset.py#L162-L197 I don't like the current implementation of `.add_field()` calling `set_attr(self, name, field)`. Programmatically storing these fields messes with static typecheckers, and it would be clearer if this was handled...

good first issue
coding/Python
needs investigation
refactor
unstructured grids

Following from #1618, it would be good to update all the notebooks to use `parcels.rng` module instead of the `ParcelsRandom` alias. i.e. ```diff import parcels ... def my_kernel(...): - parcels.ParcelsRandom...

documentation
coding/Python

The [API reference for Parcels](https://docs.oceanparcels.org/en/latest/reference.html) is a great way to understand how to use individual functions. Some of the functions/classes don't have documentation as the Python docstring is empty, meaning...

documentation
v4

**Describe your suggested improvement** Relying on a component library will reduce the development burden, and also make the website cleaner. I think https://www.shadcn-svelte.com/docs/changelog Looks to be good (also nice that...

enhancement
coding

**Describe your suggested improvement** On the homepage, it would be nice to have a carousel of categories/topics that users can choose as a quick way to go to the resources...

enhancement