class_docstr: Test cases for CF spatial dimension and coordinates.
class_docstr_tok: ["Test","cases","for","CF","spatial","dimension","and","coordinates","."]
docstr: Test the _is_lon_or_lat_dataarray function.
docstr_tok: ["Test","the","_is_lon_or_lat_dataarray","function","."]
code: def test__is_lon_or_lat_dataarray(self, datasets):
      """Test the _is_lon_or_lat_dataarray function."""
      from satpy.cf.coords import _is_lon_or_lat_dataarray
  
      assert _is_lon_or_lat_dataarray(datasets["lat"])
      assert not _is_lon_or_lat_dataarray(datasets["var1"])
  
file_path: satpy/satpy/tests/cf_tests/test_coords.py
imports: import logging
  import numpy
  import pytest
  import xarray
  from pyresample import AreaDefinition
label_desc: Use image node_id 6 for calling the TestCFcoords obj's underlying member method code with example usage: obj.test__is_lon_or_lat_dataarray(datasets) without return types