add_water_level_instance

s100py.s104.v2_0.utils.add_water_level_instance(data_file)

Adds the water_level object container to the S104File object, a feature instance is created each time the function is called (e.g.`WaterLevel.01`, `WaterLevel.02). A series of feature instances should be implemented in the same dataset for any data collection that varies by extent, location, time, or grid size.

Parameters:

data_file – S104File object

Returns:

An S104File object updated by this function.

Return type:

data_file