PlasmaCalcs.hookups.copapic.copapic_io_tools.read_copapic_json_file

PlasmaCalcs.hookups.copapic.copapic_io_tools.read_copapic_json_file(filename)
Parse Copapic input from the file, returning (dict of global vars, dict of dists).
dict of global vars has {varname: value} for all pairs not inside a distribution.
dict of dists has {N: {varname: value} for all pairs in dist} for each dist;
for each varname in a dist, ensure varname ends with str(N) (append it if necessary).
the N’s will all be stored here as ints.
Arguments:
filename: string
file to read from.