code: def test_from_xarray():
      file = "https://github.com/holoviz/hvplot/raw/main/hvplot/tests/data/RGB-red.byte.tif"
      output = from_xarray(rxr.open_rasterio(file))
  
      assert isinstance(output, gv.RGB)
      assert sorted(map(str, output.kdims)) == ["x", "y"]
      assert isinstance(output.crs, ccrs.CRS)
  
imports: import cartopy.crs
  import pytest
  import geoviews
  from geoviews.util import from_xarray, process_crs
label_desc: Use image node_id 3 for calling a global function with example usage: test_from_xarray() without return types