@classmethod
def from_skycoords(cls, skycoords, max_norder):
    """
        Creates a MOC from an `astropy.coordinates.SkyCoord`.

        Parameters
        ----------
        skycoords : `astropy.coordinates.SkyCoord`
            The sky coordinates that will belong to the MOC.
        max_norder : int
            The depth of the smallest HEALPix cells contained in the MOC.
        
        Returns
        -------
        result : `~mocpy.moc.MOC`
            The resulting MOC
        """
    return cls.from_lonlat(lon=skycoords.icrs.ra, lat=skycoords.icrs.dec,
        max_norder=max_norder)
