viscid.readers.ggcm_xdmf module

class viscid.readers.ggcm_xdmf.GGCMAncFileXDMF(*args, **kwargs)[source]

Bases: viscid.readers.ggcm_xdmf.GGCMFileXDMF

Ancillary files; usually, these files have already been converted to GSE

class viscid.readers.ggcm_xdmf.GGCMFileXDMF(*args, **kwargs)[source]

Bases: viscid.readers.openggcm.GGCMFile, viscid.readers.xdmf.FileXDMF

File type for GGCM style convenience stuff

read_log_file

search for a log file to load some of the libmrc runtime parameters. This does not read parameters from all libmrc classes, but can be customized with :py:const`viscid.readers.ggcm_logfile.GGCMLogFile. watched_classes`. Defaults to False for performance.

Type:bool
assume_mhd_crds = False
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]
class viscid.readers.ggcm_xdmf.GGCMIonoFileXDMF(*args, **kwargs)[source]

Bases: viscid.readers.ggcm_xdmf.GGCMFileXDMF

Ionosphere Files