opusxml Package

opusxml Module

class opusxml.core.opus.Solution(filename)

Bases: object

Parameters

filename (str) –

data_quality(unit='m')

Extract the information from an OPUS XML file DATA_QUALITY element, and return it in the desired units.

Parameters
  • (str) (unit) –

  • unit (str) –

Returns

  • accuracy (float Quantity array) (array of Quanity contining x,y,z coordinate accuracies.)

  • rms (float Quantity) (the RMS value)

  • used (int array) (array of observations [total, used])

  • fixed (int array) (array of observation ambiguities [total, fixed])

Return type

tuple[list[float], float, list[int], list[int]]

mark_info()

Returns a dict containing information about the mark.

Return type

collections.OrderedDict

plane_coords(system='UTM', unit='m')

Extract the coordinate from an OPUS XML file PLANE_COORD_SPEC elements, and return it in the desired units and coordinate spec type.

Parameters
  • (str) (unit) –

  • (str)

  • system (str) –

  • unit (str) –

Returns

coords (float Quantity array)

Return type

x,y,z coordinates as array of pint Quantity.

position(system='LLA', ref_frame='NAD_83(2011)', unit='m')

Extract the coordinate from an OPUS XML file POSITION elements, and return it in the desired units and coordinate spec type.

Parameters
  • (str) (unit) –

  • (str)

  • (str)

Returns

coords (float Quantity array)

Return type

array of pint Quantity containing ellipsoidal coordinates (LLA or LLH), or rectilinear XYZ coordinates.

ref_frames()
Return type

str

solution_info()

Return a dict containing information about the solution.

Return type

collections.OrderedDict