pytmosph3r.interface.io
Module Contents
- class Input(filename)[source]
Bases:
pytmosph3r.log.LoggerBase class to read input data.
HDF5InputandncInputinherit from it.- filename
- f = None
- variable = None
- read(path, class_obj=None)[source]
Read a class (
class_obj) frompathin HDF5. The keys inpathhave 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:
InputBase class to write outputs.
HDF5OutputandncOutputinherit from it.- filename
- f = None
- group_func = None
Function pointer to the method creating a group
- group_class = None
Class pointer to the subclass handling groups