@staticmethod
def _parse_tide_obs(in_str):
    """
        TODO: Add docstring

        """
    error_code_dict = {'M': 1, 'N': 2, 'T': 3}
    try:
        int(in_str[-1])
        error_code = 0
        meas = float(in_str)
    except:
        error_code_str = in_str[-1]
        meas = float(in_str[0:-1])
        try:
            error_code = error_code_dict[error_code_str]
        except:
            print('Unrecognised error code')
            return
    return meas, error_code
