class_docstr: Test case for CF writer.
docstr: Test minimum bounds.
docstr_tok: ["Test","minimum","bounds","."]
code: def test_bounds_minimum(self):
      """Test minimum bounds."""
      scn = Scene()
      start_timeA = datetime(2018, 5, 30, 10, 0)  # expected to be used
      end_timeA = datetime(2018, 5, 30, 10, 20)
      start_timeB = datetime(2018, 5, 30, 10, 3)
      end_timeB = datetime(2018, 5, 30, 10, 15)  # expected to be used
      test_arrayA = np.array([[1, 2], [3, 4]]).reshape(2, 2, 1)
      test_arrayB = np.array([[1, 2], [3, 5]]).reshape(2, 2, 1)
      scn["test-arrayA"] = xr.DataArray(
          test_arrayA,
          dims=["x", "y", "time"],
          coords={"time": [np.datetime64("2018-05-30T10:05:00", "ns")]},
          attrs=dict(start_time=start_timeA, end_time=end_timeA),
      )
      scn["test-arrayB"] = xr.DataArray(
          test_arrayB,
          dims=["x", "y", "time"],
          coords={"time": [np.datetime64("2018-05-30T10:05:00", "ns")]},
          attrs=dict(start_time=start_timeB, end_time=end_timeB),
      )
      with TempFile() as filename:
          scn.save_datasets(
              filename=filename,
              writer="cf",
              encoding={"time": {"units": "seconds since 2018-01-01"}},
          )
          with xr.open_dataset(filename, decode_cf=True) as f:
              bounds_exp = np.array(
                  [[start_timeA, end_timeB]], dtype="datetime64[m]"
              )
              np.testing.assert_array_equal(f["time_bnds"], bounds_exp)
  
imports: import os
  import tempfile
  import warnings
  from datetime import datetime
  import numpy
  import pytest
  import xarray
  from packaging.version import Version
  from satpy import Scene
  from satpy.tests.utils import make_dsq
  from satpy.writers.cf_writer import _get_backend_versions
label_desc: Use image node_id 13 for calling the TestCFWriter obj's underlying member method code with example usage: obj.test_bounds_minimum() without return types