viscid.readers.athena_tab module¶
Athena ascii file reader
-
class
viscid.readers.athena_tab.AthenaTabDataWrapper(filename, fld_name, expected_shape, fld_number)[source]¶ Bases:
viscid.readers.vfile.DataWrapper-
dtype¶
-
expected_shape= None¶
-
filename= None¶
-
fld_name= None¶
-
fld_number= None¶
-
shape¶ zyx shape since that’s the shape __array__ returns
Type: Returns
-
-
class
viscid.readers.athena_tab.AthenaTabFile(fname, crds=None, fld_list=None, **kwargs)[source]¶ Bases:
viscid.readers.athena.AthenaFile,viscid.readers.vfile_bucket.ContainerFileAn Athena ascii file reader
-
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
-
classmethod