postgkyl.diagnostics.discovery.find_output_stems¶
- postgkyl.diagnostics.discovery.find_output_stems(extensions='gkyl', path='.')¶
Map each extension to the sorted unique Gkeyll filename stems in
path.Frame indices and a trailing
_restartare stripped from each stem bypostgkyl.io.parse_output_name()– the one home for Gkeyll’s naming convention – rather than by a private regex here.- Parameters:
extensions – Comma-separated list of file extensions to scan.
path – Directory to scan.
- Returns:
A dict mapping each extension to a sorted list of unique stems.