class_docstr: Test the MITIFF Writer class.
docstr: Create a single test dataset.
docstr_tok: ["Create","a","single","test","dataset","."]
code: def _get_test_dataset_calibration_one_dataset(self, bands=1):
      """Create a single test dataset."""
      from datetime import datetime
  
      import dask.array as da
      import xarray as xr
      from pyproj import CRS
      from pyresample.geometry import AreaDefinition
  
      from satpy.scene import Scene
      from satpy.tests.utils import make_dsq
  
      area_def = AreaDefinition(
          "test",
          "test",
          "test",
          CRS(
              "+proj=stere +datum=WGS84 +ellps=WGS84 +lon_0=0. +lat_0=90 +lat_ts=60 +units=km"
          ),
          100,
          200,
          (-1000.0, -1500.0, 1000.0, 1500.0),
      )
  
      prereqs = [
          make_dsq(name="4", calibration="brightness_temperature")
      ]
      scene = Scene()
      scene["4"] = xr.DataArray(
          da.zeros((100, 200), chunks=50),
          dims=("y", "x"),
          attrs={"calibration": "brightness_temperature"},
      )
  
      data = scene["4"]
      calibration = []
      for p in scene:
          calibration.append(p.attrs["calibration"])
      new_attrs = {
          "name": "datasets",
          "start_time": datetime.utcnow(),
          "platform_name": "TEST_PLATFORM_NAME",
          "sensor": "test-sensor",
          "area": area_def,
          "prerequisites": prereqs,
          "metadata_requirements": {
              "order": ["4"],
              "config": {
                  "4": {
                      "alias": "BT",
                      "calibration": "brightness_temperature",
                      "min-val": "-150",
                      "max-val": "50",
                  },
              },
              "translate": {
                  "4": "4",
              },
              "file_pattern": "test-dataset-{start_time:%Y%m%d%H%M%S}.mitiff",
          },
      }
      ds1 = xr.DataArray(
          data=data.data,
          attrs=new_attrs,
          dims=data.dims,
          coords=data.coords,
      )
      return ds1
  
imports: import logging
  import os
  import unittest
  import numpy
  from PIL import Image
label_desc: Use image node_id 10 for calling the TestMITIFFWriter obj's underlying member method code with example usage: obj._get_test_dataset_calibration_one_dataset(bands) and returns: ds1