geodata.mask.ras_to_xarr
========================

.. py:function:: geodata.mask.ras_to_xarr(raster: str, band_name: Optional[str] = None, adjust_coord: bool = True) -> xarray.DataArray

   Open a raster (rasterio openner) with rioxarray

   :param raster: The path to the raster
   :type raster: str
   :param band_name: The name of the band. This is optional. If no band name is specified,
                     no band will be renamed.
   :type band_name: str
   :param adjust_coord: Whether to adjust the coordinate names to `lat`/`lon`. True by default.
   :type adjust_coord: bool

   :returns: The opened raster as xarray DataArray.
   :rtype: xarray.DataArray

