Skip to content

Migrate particlefile output to tabular (via Parquet) #2582

@VeckoTheGecko

Description

@VeckoTheGecko

We are looking to migrate out particle file output to a tabular output using Parquet. This will have the following benefits:

  • simplifying the particlefile.py module as particle positions can now be trivially appended
  • simplify analysis of trajectories (since trajectory output isn't fundamentally n-dimensional, storing it in Zarr can be quite confusing for those doing post-processing or analysis)
  • easier integration into other trajectory analysis tools
  • making it easier to implement other parcels features down the line (e.g., restarting simulations)

Tasks:

  • Base implementation (no ability to call pset in a loop, no restarting simulations)
  • Documentation
  • Additional features
  • Conversion tooling: Parquet to CF-trajectory compliant Zarr
    • As part of this migration, we can build tooling that converts this Parquet output to CF-trajectory compliant Zarr output (i.e., as a post-processing step) allowing for users to keep their existing scripts analysis scripts if they'd like, and for easier integration into packages like Trajan.

Additional things to consider:

Previous attempt: #1399

FYI @oj-tooth

Keen to discuss further if people have ideas on what this should look like.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions