@classmethod
def from_xarray(cls, x, **kwargs):
    """
        Create 1d Coordinates from named xarray coordinates.

        Arguments
        ---------
        x : xarray.DataArray
            Nade DataArray of the coordinate values

        Returns
        -------
        :class:`ArrayCoordinates1d`
            1d coordinates
        """
    return cls(x.data, name=x.name, **kwargs)
