Base Classes¶
s100py.s1xx Module¶
This module contains base classes. they should not be used directly but only used by code implementing one of the S100 family of specifications.
See Extending the API for further details about using the classes to create or modify an api.
Functions¶
|
A decorator indicating abstract methods. |
|
change numpy arrays with "U" into array using the h5py special string_dtype that translates to utf-8 in the file. |
|
Python 3.7+ changed the behavior of issubclass to raise an exception if the cls object is not a class. |
Classes¶
|
Helper class that provides a standard way to create an ABC using inheritance. |
|
Generic enumeration. |
|
Fixed offset in minutes east from UTC. |
|
hdf5 files have primary creation methods of create_dataset to insert array data attrs a dictionary-like to add/read metadata about the current group create_group to make a group containing datasets and/or metadata |
|
This class implements a general hdf5 group object that has attributes, dataset or sub-groups. |
|
The S102 spec stores some things as attributes that could (or should) be stored as attributes. |
|
|
|
This class represents arrays (noted in UML as , 1.., 0..* etc) which is not really part of HDF5. |
|
Derive things that either create a dataset and have to combine data into it or make multiple sub groups that the parent can't predict The S1xxAttributesBase will call the derived class' writer without pre-making group for it. |