eppic_io_tools

File Purpose: misc. tools for reading directly from eppic files

Functions

_eppic_mpi_processors_from_jobfile(f)

return number of mpi processors used to run eppic based on this jobfile.

_get_update_eppic_i_values_flat([values])

return "flat" dict of values to use for updating eppic.i file.

eppic_clock_times_from_jobfile(f)

return clock times from jobfile.

eppic_clock_times_here([dir])

return clock times from jobfile(s) within this directory.

get_updated_eppic_i_str([src, values, ...])

get str to use for updated eppic.i file from src, updated with these values.

infer_eppic_dist_names([filename, missing_ok])

return dict of {distnumber: name} for all dists in eppic.i file.

n_mpi_processors([dir])

return number of mpi processors used to run the run at this directory.

read_eppic_i_file([filename, eval])

Parse EPPIC input from the file, returning (dict of global vars, dict of dists).

read_eppic_snaps_info([dir, dt, snaps_from, ...])

returns (snapnames, times).

read_moments_out_files([dir])

Read moments*.out files.

read_timers_dat([dir, filename, fix_snaps, ...])

read timers.dat info into an xarray.Dataset.

update_eppic_i_file([src, dst, values, ...])

update eppic.i file from src, writing to dst.