class_docstr: Test OSI-SAF level 3 netCDF reader ice files.
class_docstr_tok: ["Test","OSI-SAF","level","3","netCDF","reader","ice","files","."]
docstr: Test getting the area definition for the polar stereographic grid.
docstr_tok: ["Test","getting","the","area","definition","for","the","polar","stereographic","grid","."]
code: def test_get_area_def_bad(self, tmp_path):
      """Test getting the area definition for the polar stereographic grid."""
      filename_info = {"grid": "turnips"}
      tmp_filepath = tmp_path / "fake_dataset.nc"
      self.fake_dataset.to_netcdf(os.fspath(tmp_filepath))
  
      test = OSISAFL3NCFileHandler(
          os.fspath(tmp_filepath), filename_info, self.filetype_info
      )
      with pytest.raises(
          ValueError, match="Unknown grid type: turnips"
      ):
          test.get_area_def(None)
  
imports: import os
  from datetime import datetime
  import numpy
  import pytest
  import xarray
  from pyproj import CRS
  from satpy import DataQuery
  from satpy.readers.osisaf_l3_nc import OSISAFL3NCFileHandler
label_desc: Use image node_id 5 for calling the OSISAFL3ReaderTests obj's underlying member method code with example usage: obj.test_get_area_def_bad(tmp_path) without return types