Skip to content

Use datetime64/timedelta64 for progressbar #2149

@erikvansebille

Description

@erikvansebille

The current implementation of the tqdm progress bar in v4-dev converts the time to seconds since start-time.

https://github.com/OceanParcels/Parcels/blob/add8158bd4ef6bd0c4055e7677f8f2455e1b1fe2/parcels/particleset.py#L564-L565

https://github.com/OceanParcels/Parcels/blob/add8158bd4ef6bd0c4055e7677f8f2455e1b1fe2/parcels/particleset.py#L587-L588

It would be neat to have the progress displayed as actual time units (so without the conversion)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementhackathon2025Good issues for the hackathon at the Parcels anniversary event in 2025.v4

    Type

    No type

    Projects

    Status

    Done

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions