pytmosph3r.interface.io
Module Contents
- class Input(filename)[source]
Bases:
pytmosph3r.log.LoggerBase class to read input data.
HDF5InputandncInputinherit from it.- 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.- group_func
Function pointer to the method creating a group
- group_class
Class pointer to the subclass handling groups