sarkit.cphd.LatLonType

class LatLonType(child_ns='')

Transcoder for XML parameter types containing scalar Lat and Lon components.

Parameters:
child_nsstr, optional

Namespace to use for child elements. Parent namespace used if unspecified.

Methods

make_elem(tag, val)

Create a new XML element.

parse_elem(elem)

Returns an array containing the sub-elements encoded in elem.

parse_subelements(elem)

Returns an array containing the sub-elements encoded in elem.

set_elem(elem, val)

Set elem node using val.

set_subelements(elem, val)

Set elem node subelements using val.