def df_if_two_one(value):
    """ Final Data Cleaning Function
    - This is run against station, latitude, longitude, and elevation for indidividual records
      - Many of these records have usable data, so don't want to just throw them out.
      - Example issues:
        - Instead of a station of '000248532' a value may contain '000248532 000248532'
          - Both are equal - function returns the first one
        - Instead of a latitude of '29.583' a value may contain '29.583 29.58333333'
          - This is from raw csv data files where they changed the number of decimal points userd 
            part of the way through a year.
          - Function converts both to integers, which rounds up to the nearest whole number. If both
            whole numbers are equal, then the function returns the first value from the original pair.
    - exception handler:
      - ValueError -> str of '': Looks like some empty strings for latitude and/or longitude slipped
        through data cleaning. This handles those.

    Args:
        value (str): value to check and clean if needed
    
    Returns: str
    """
    try:
        split = value.split(' ')
        if len(split) > 1:
            if '.' in split[0]:
                if int(float(split[0])) == int(float(split[1])):
                    return split[0]
            elif split[0] == split[1]:
                return split[0]
        return value
    except ValueError as e:
        if "could not convert string to float: ''" not in str(e):
            raise ValueError(e)
        return value