The classes in s104.api can be accessed by just importing s104. They are automatically imported but can be brought in separately if desired.:
from s100py import s104
s104.s104File(...)
# or
from s100py.s104 import api
api.s104File(...)
# or
from s100py import s104.api
s104.api.s104File(...)
s100py.s104.v1_1.api Module
Classes
|
S104 v1.1 Table 12.10 - Classification of data according to the relationship between the time of its collection, generation, or calculation of generation parameters, in relation to the time of publication of the dataset. |
|
12.2.6 of v1.0.1 |
|
Create a collection of name/value pairs. |
|
Container for Data Coding Format 2 |
|
Container for Data Coding Format 3 |
|
Container for Data Coding Format 7 |
|
In S100, table 10c-8. |
|
This class comes from S100 -- 10c-9.5 Feature information group. |
|
Data Coding Format 2 is the grid format from table 10c-12 in S100 spec. |
|
Data Coding Format 3 is the Ungeorectified grid format from table 10c-12 in S100 spec. |
|
Data Coding Format 7 is the Triangulated Irregular Network (TIN) format from table 10c-12 in S100 spec. |
|
From S100 Table 10c-8 – Components of feature information group |
|
From S100 Table 10c-8 – Components of feature information group |
|
Enum where members are also (and must be) ints |
|
|
|
|
|
From table 10c-6 in S100 v4.0 spec. |
Raised when input is not S104 compliant |
|
|
HDF5 file object |
|
Define group name format |
|
The root group contains a feature information group and N feature containers. |
|
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 represents arrays (noted in UML as , 1.., 0..* etc) which is not really part of HDF5. |
|
The S102 spec stores some things as datasets that could (or should) be stored as attributes. |
|
This base class is intended for use with "values" groups. |
|
This class implements a general hdf5 group object that has attributes, datasets or sub-groups. |
|
|
|
Note: while a Vertical Datum can be created with the shorthand aliases, ex: MLWS, the string written and returned from the file/S100 object will be the official long name, e.g. "meanLowWaterSprings" etc. |
|
|
This is the WaterLevel right off the root of the HDF5 which has possible attributes from S100 spec table 10c-10 This will hold child groups named WaterLevel.NN |
|
|
|
|
|
|
|
|
Create group_f feature dataset |
Basic template for the name of the attribute. |
|
|
|
|
This is the list of Group.NNN that are held as a list. |
|
This is the set of WaterLevel.NN that act like a list here. |
|
|
|
|
|
|
|
Water level trend enumerated constant and returns an int object |
|
Create uncertainty dataset |
S100 code and uncertainty of data values |
|
|
NNN Group Datasets |