class_docstr: Test creation of CF DataArray.
docstr: Test the conversion of an 1d DataArray to a CF-compatible DataArray.
docstr_tok: ["Test","the","conversion","of","an","1d","DataArray","to","a","CF-compatible","DataArray","."]
code: def test_make_cf_dataarray_one_dimensional_array(self):
      """Test the conversion of an 1d DataArray to a CF-compatible DataArray."""
      from satpy.cf.data_array import make_cf_data_array
  
      arr = xr.DataArray(
          np.array([1, 2, 3, 4]),
          attrs={},
          dims=("y",),
          coords={"y": [0, 1, 2, 3], "acq_time": ("y", [0, 1, 2, 3])},
      )
      _ = make_cf_data_array(arr)
  
file_path: satpy/satpy/tests/cf_tests/test_dataaarray.py
imports: import numpy
  import xarray
  from satpy.tests.utils import make_dsq
label_desc: Use image node_id 2 for calling the TestCfDataArray obj's underlying member method code with example usage: obj.test_make_cf_dataarray_one_dimensional_array() without return types