viscid.readers.gkeyll module

Wrapper grid for some OpenGGCM convenience

class viscid.readers.gkeyll.GkeyllFile(fname, crds=None, fld_templates=None, **kwargs)[source]

Bases: viscid.readers.hdf5.FileHDF5, viscid.readers.vfile_bucket.ContainerFile

SAVE_ONLY = False
classmethod collective_name_from_group(fnames)[source]
get_file_wrapper(filename)[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]
make_crds(fname)[source]
set_file_wrapper(wrapper)[source]
class viscid.readers.gkeyll.GkeyllGrid(*args, **kwargs)[source]

Bases: viscid.grid.Grid

viscid.readers.gkeyll.create_type_info(nr_fields)[source]