Skip to content

Compression updates - #17

Open
christopherlovell wants to merge 3 commits into
mainfrom
compression_updates
Open

christopherlovell wants to merge 3 commits into
mainfrom
compression_updates

Conversation

@christopherlovell

Copy link
Copy Markdown
Contributor

A couple of additional flags that are useful for performance:

  1. --synth-mass-dtype defines, when the mass is derived from the header, what dtype the mass table should be. defaults to float64
  2. --no-compress avoids applying compression to output coordinate and masses datasets. This leads to a penalty in disk usage, but a considerable benefit in run time (~75% on test cases). Useful for when the output grids are immediately consumed and disposed of.

christopherlovell and others added 3 commits August 18, 2026 22:27
Equal-mass snapshots can carry the particle mass as a single scalar in
Header/MassTable[N] instead of an N-particle Masses dataset. The converter
now synthesizes the constant array from the table when the --masses-key
dataset is missing; files that do carry the dataset convert exactly as
before.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant