@classmethod<EOL><INDENT>def from_xarray(cls, da, crs=None, apply_transform=False,<EOL>nan_nodata=False, **kwargs):<DEDENT>
return from_xarray(da, crs, apply_transform, **kwargs)<EOL>
Returns an RGB or Image element given an xarray DataArray
loaded using xr.open_rasterio.

If a crs attribute is present on the loaded data it will
attempt to decode it into a cartopy projection otherwise it
will default to a non-geographic HoloViews element.

Parameters
----------
da: xarray.DataArray
  DataArray to convert to element
crs: Cartopy CRS or EPSG string (optional)
  Overrides CRS inferred from the data
apply_transform: boolean
  Whether to apply affine transform if defined on the data
nan_nodata: boolean
  If data contains nodata values convert them to NaNs
**kwargs:
  Keyword arguments passed to the HoloViews/GeoViews element

Returns
-------
element: Image/RGB/QuadMesh element