@classmethod
def _from_lonlat(cls, coords, frame=None):
    """Create a `~MapCoord` from a tuple of coordinate vectors.

        The first two elements of the tuple should be longitude and latitude in degrees.

        Parameters
        ----------
        coords : tuple
            Tuple of `~numpy.ndarray`.

        Returns
        -------
        coord : `~MapCoord`
            A coordinates object.
        """
    if isinstance(coords, (list, tuple)):
        coords_dict = {'lon': coords[0], 'lat': coords[1]}
        for i, c in enumerate(coords[2:]):
            coords_dict[f'axis{i}'] = c
    else:
        raise ValueError('Unrecognized input type.')
    return cls(coords_dict, frame=frame, match_by_name=False)
