datastreams class#
- class pycif.utils.classes.datastreams.DataStream(plg_orig=None, orig_name='', **kwargs)[source]#
Bases:
PluginPlugin type for data streams (meteo, flux, background, field).
Provides
read,writeand optionallyfetchmethods for reading and writing model input/output data to and from files.Concrete implementations live in
pycif/plugins/datastreams/.- classmethod register_plugin(name, version, module, subtype='', **kwargs)[source]#
Register a module for a plugin and version with possibly options
- Parameters:
name (str) – name of the plugin
version (str) – version of the plugin
module (types.ModuleType) – module defining the interface between pyCIF and the plugin
plugin_type (str) – type of plugin
**kwargs (dictionary) – default options for module