Older versions of S104
Version 1.0
s100py.s104.v1_0.utils Module
Functions to create S104 files and populate with data from other sources
Functions
|
Updates an S104File object based on numpy array/h5py datasets. |
|
Updates an S104File object based on input metadata. |
|
Creates or updates an S104File object. |
|
Updates an S104File object based on dynamic metadata. |
|
Writes file structure, metadata, data and closes S104File object. |
s100py.s104.v1_0.api Module
S-104 Edition 1.0 utilized features from both S100 Edition 4.0 and 5.0, the Edition 5.0 S100 root object was copied and extended to support Edition 4.0 chunking attributes
Classes
|
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 |
|
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. |
|
S100 Tables 10C-6 and 10c-12 see also 4.2.1.1.13 of S102 v2.0.0 The class EX_GeographicBoundingBox is a metadata class from ISO 19115. |
|
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 |
|
alias of |
|
|
|
|
|
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 will be automatically determined based on the array position of the S104_MetadataList |
|
|
|
|
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 |