Skip to content

Add snapshot selection to augment CLI#19

Merged
xiao312 merged 1 commit intomainfrom
augment-time-selectors
Apr 1, 2026
Merged

Add snapshot selection to augment CLI#19
xiao312 merged 1 commit intomainfrom
augment-time-selectors

Conversation

@xiao312
Copy link
Copy Markdown
Member

@xiao312 xiao312 commented Apr 1, 2026

Summary

  • add repeatable --time snapshot selection to dfode-kit augment
  • support index/slice/stride selection against ordered HDF5 snapshot keys
  • include resolved snapshot names/count in preview JSON and apply results
  • add tests for time selector behavior
  • update augment/CLI/data-workflow docs

Examples

dfode-kit augment --source sample.h5 --mech gri30.yaml --save aug.npy --preset random-local-combustion-v1 --target-size 20000 --time 0:12 --apply
dfode-kit augment --source sample.h5 --mech gri30.yaml --save aug.npy --preset random-local-combustion-v1 --target-size 20000 --time ::10 --apply

Verification

  • make verify
  • make docs-build

@xiao312 xiao312 merged commit bc65e84 into main Apr 1, 2026
1 check passed
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