Skip to content

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

@erikvansebille

Description

@erikvansebille

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions