ebysus_infer_read_mode

PlasmaCalcs.hookups.ebysus.ebysus_io_tools.ebysus_infer_read_mode(snapname, *, dir='.')

infer Ebysus read_mode based on snapname.

returns ‘zc’ if snapname.zc directory exists,
else ‘io’ if snapname.io directory exists,
else crash with FileNotFoundError.