parcels icon indicating copy to clipboard operation
parcels copied to clipboard

Clean up `Field.__init__(..., kwargs)`

Open VeckoTheGecko opened this issue 1 year ago • 1 comments

Some of the kwargs in the Field initialiser (e.g., dataFiles) aren't used in the codebase, or they're used for tasks that will be implemented via other means in the v4 codebase.

VeckoTheGecko avatar Mar 03 '25 12:03 VeckoTheGecko

or they're used for tasks that will be implemented via other means in the v4 codebase.

An example is the checking for duplicated Grids. This will be handled via a different, more durable mechanism in v4

https://github.com/OceanParcels/Parcels/blob/aba423ca9a6a9cb7209f4524764971a0a6fb2c5b/parcels/fieldset.py#L438-L462

VeckoTheGecko avatar Mar 03 '25 12:03 VeckoTheGecko

This is now the case in v4-dev

VeckoTheGecko avatar Jul 04 '25 11:07 VeckoTheGecko