class_docstr: Test the IciL1bNCFileHandler reader.
class_docstr_tok: ["Test","the","IciL1bNCFileHandler","reader","."]
docstr: Test perform calibration raises for unknown calibration method.
docstr_tok: ["Test","perform","calibration","raises","for","unknown","calibration","method","."]
code: def test_calibrate_raises_for_unknown_calibration_method(
      self, reader
  ):
      """Test perform calibration raises for unknown calibration method."""
      variable = xr.DataArray(np.ones(3))
      dataset_info = {"calibration": "unknown", "name": "radiance"}
      with pytest.raises(ValueError, match="Unknown calibration"):
          reader._calibrate(variable, dataset_info)
  
imports: from datetime import datetime
  from unittest.mock import patch
  import numpy
  import pytest
  import xarray
  from netCDF4 import Dataset
  from satpy.readers.ici_l1b_nc import IciL1bNCFileHandler, InterpolationType
label_desc: Use image node_id 10 for calling the TestIciL1bNCFileHandler obj's underlying member method code with example usage: obj.test_calibrate_raises_for_unknown_calibration_method(reader) without return types