swot_simulator.product_specification#

Handle the product specification#

Functions

build_array(name, variables, data)

Builds the array from the data and the variables.

cast_to_dtype(attr_value, properties)

Cast the attribute value to the numpy data type required.

encode_fill_value(properties)

Returns the fill value encoded with the data type specified.

parse_specification_file(path)

Parse the XML specification file.

Classes

ProductSpecification(product_type)

Parse and load into memory the product specification.

Side(value)

Represents both sides of the swath.