pytmosph3r.interface.io
Module Contents
- class Input(filename)[source]
Bases:
pytmosph3r.log.Logger
Base class to read input data.
HDF5Input
andncInput
inherit from it.- read(path, class_obj=None)[source]
Read a class (
class_obj
) frompath
in HDF5. The keys inpath
have to match the class arguments.Note
If you have parameters to read that are not inputs, you probably want to use a dict as class_obj.
- Parameters:
path (string) – Path to class
class_obj (Class) – Class to read
- class Output(filename, append=False)[source]
Bases:
Input
Base class to write outputs.
HDF5Output
andncOutput
inherit from it.- group_func
Function pointer to the method creating a group
- group_class
Class pointer to the subclass handling groups