postgkyl.diagnostics.discovery.available_frames¶
- postgkyl.diagnostics.discovery.available_frames(stem, *, frames=None)¶
Set of available frame numbers for a
<stem><frame>.gkylfile family.- Parameters:
stem – The file stem, including any trailing separator before the frame number (e.g.
"path/name-elc_M0_").frames – Restrict the search to these candidate frame numbers instead of globbing the whole directory (cheaper when the caller already has a short candidate list).
- Returns:
The set of frame numbers for which
<stem><frame>.gkylexists.