class_docstr: Test OSI-SAF level 3 netCDF reader flux files on stereographic grid.
class_docstr_tok: ["Test","OSI-SAF","level","3","netCDF","reader","flux","files","on","stereographic","grid","."]
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_stere(self, tmp_path):
      """Test getting the area definition for the polar stereographic grid."""
      tmp_filepath = tmp_path / "fake_dataset.nc"
      self.fake_dataset.to_netcdf(os.fspath(tmp_filepath))
  
      test = OSISAFL3NCFileHandler(
          os.fspath(tmp_filepath),
          self.filename_info,
          self.filetype_info,
      )
  
      area_def = test.get_area_def(None)
      assert area_def.description == "osisaf_polar_stereographic"
  
      expected_crs = CRS(
          dict(
              a=6378273.0,
              lat_0=-90,
              lat_ts=-70,
              lon_0=0,
              proj="stere",
              rf=298.27940986765,
          )
      )
      assert area_def.crs == expected_crs
  
      assert area_def.width == 5
      assert area_def.height == 2
      np.testing.assert_allclose(
          area_def.area_extent,
          (-2185821.7955, 1019265.4426, -1702157.4538, 982741.0642),
      )
  
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 2 for calling the TestOSISAFL3ReaderFluxStere obj's underlying member method code with example usage: obj.test_get_area_def_stere(tmp_path) without return types