viscid.readers.athena_xdmf module

class viscid.readers.athena_xdmf.AthenaFileXDMF(fname, h5_root_dir=None, **kwargs)[source]

Bases: viscid.readers.athena.AthenaFile, viscid.readers.xdmf.FileXDMF

File type for Athena style convenience stuff

Makes AthenaGrid the default grid and handles grouping multiple files.

classmethod collective_name_from_group(fnames)[source]
classmethod group_fnames(fnames)[source]

Group File names

The default implementation just returns fnames, but some file types might do something fancy here

Parameters:fnames (list) – names that can be logically grouped, as in a bunch of file names that are different time steps of a given run
Returns:A list of things that can be given to the constructor of this class
load(fname)[source]