class_docstr: Test IR specific things about the AMI reader.
class_docstr_tok: ["Test","IR","specific","things","about","the","AMI","reader","."]
docstr: Create test data for IR calibration tests.
docstr_tok: ["Create","test","data","for","IR","calibration","tests","."]
code: def setUp(self):
      """Create test data for IR calibration tests."""
      from satpy.tests.utils import make_dataid
  
      count_data = (np.arange(10).reshape((2, 5))) + 7000
      count_data = count_data.astype(np.uint16)
      count = xr.DataArray(
          da.from_array(count_data, chunks="auto"),
          dims=("y", "x"),
          attrs={
              "channel_name": "IR087",
              "detector_side": 2,
              "number_of_total_pixels": 484000000,
              "number_of_error_pixels": 113892451,
              "max_pixel_value": 32768,
              "min_pixel_value": 6,
              "average_pixel_value": 8228.98770845248,
              "stddev_pixel_value": 13621.130386551,
              "number_of_total_bits_per_pixel": 16,
              "number_of_data_quality_flag_bits_per_pixel": 2,
              "number_of_valid_bits_per_pixel": 13,
              "data_quality_flag_meaning": "0:good_pixel, 1:conditionally_usable_pixel, 2:out_of_scan_area_pixel, 3:error_pixel",
              "ground_sample_distance_ew": 1.4e-05,
              "ground_sample_distance_ns": 1.4e-05,
          },
      )
      self.ds_id = make_dataid(
          name="IR087",
          wavelength=[8.415, 8.59, 8.765],
          calibration="brightness_temperature",
      )
      self.ds_info = {
          "file_key": "image_pixel_values",
          "wavelength": [8.415, 8.59, 8.765],
          "standard_name": "toa_brightness_temperature",
          "units": "K",
      }
      super(TestAMIL1bNetCDFIRCal, self).setUp(counts=count)
  
imports: import unittest
  from unittest import mock
  import dask.array
  import numpy
  import xarray
  from pytest import approx, raises
label_desc: Use image node_id 1 for calling the TestAMIL1bNetCDFIRCal obj's underlying member method code with example usage: obj.setUp() without return types