def get_decbas(line):
    """
    Retrieve the baseline declination (typically in tenths of minutes
    East) from the IAGA-2002 header *line*.
    """
    assert line.startswith(' # DECBAS') or line.startswith(' # D-conversion factor')
    return int(line[24:69].split(None, 1)[0])