owslib/swe/observation/om.py
def _parse_result(self):
        ''' Parse the result property, extracting the value
        and unit of measure '''
        if self.result is not None:
            uom = testXMLAttribute(self.result, "uom")
            value_str = testXMLValue(self.result)
            try:
                value = float(value_str)
            except:
                raise ValueError("Error parsing measurement value")
            self.result = Measurement(value, uom)
def _parse_result(self):
        ''' Parse the result property, extracting the value
        and unit of measure '''
        if self.result is not None:
            uom = testXMLAttribute(self.result, "uom")
            value_str = testXMLValue(self.result)
            try:
                value = float(value_str)
            except:
                raise ValueError("Error parsing measurement value")
            self.result = Measurement(value, uom)
Parse the result property, extracting the value
        and unit of measure