parcels icon indicating copy to clipboard operation
parcels copied to clipboard

Harmonise Field interpolation order to consistently be (time, depth, lat, lon) throughout the code

Open erikvansebille opened this issue 6 months ago • 1 comments

Since Parcels v2, the order for Field interpolation has been (time, depth, lat, lon). However, under the hood, there are still multiple cases (especially in JIT-mode) where that order is different. E.g.

https://github.com/OceanParcels/parcels/blob/b6dd5c852134ac78d9e19af575dd8793fbce0fc7/parcels/field.py#L1236-L1240

Or https://github.com/OceanParcels/parcels/blob/b6dd5c852134ac78d9e19af575dd8793fbce0fc7/parcels/field.py#L1552

For consistency, it might be good to harmonise the order of variables throughout the code-base

erikvansebille avatar Aug 09 '24 06:08 erikvansebille