class_docstr: Test the file handler.
class_docstr_tok: ["Test","the","file","handler","."]
docstr: Test handling of invalid calibrations.
code: def test_get_dataset_invalid(self):
      """Test handling of invalid calibrations."""
      # VIS -> BT
      args = dict(
          key=make_dataid(
              name="00_7", calibration="brightness_temperature"
          ),
          info={},
      )
      with pytest.raises(
          ValueError, match="Cannot calibrate VIS channel to 2"
      ):
          self.reader.get_dataset(**args)
  
      # IR -> Reflectance
      args = dict(
          key=make_dataid(name="10_7", calibration="reflectance"),
          info={},
      )
      with pytest.raises(
          ValueError, match="Cannot calibrate IR channel to 1"
      ):
          self.reader.get_dataset(**args)
  
      # Unsupported calibration
      with pytest.raises(
          ValueError,
          match="invalid invalid value for <enum 'calibration'>",
      ):
          _ = dict(
              key=make_dataid(name="10_7", calibration="invalid"),
              info={},
          )
  
imports: import datetime
  import unittest
  from unittest import mock
  import numpy
  import pytest
  import xarray
  from pyresample.geometry import AreaDefinition
  from satpy.readers.goes_imager_nc import is_vis_channel
  from satpy.tests.utils import make_dataid
label_desc: Use image node_id 5 for calling the GOESNCFileHandlerTest obj's underlying member method code with example usage: obj.test_get_dataset_invalid() without return types