class_docstr: Test SEVIRI L1b HDF4 from ICARE Reader.
class_docstr_tok: ["Test","SEVIRI","L1b","HDF4","from","ICARE","Reader","."]
docstr: Compare produced AreaDefinition with expected.
docstr_tok: ["Compare","produced","AreaDefinition","with","expected","."]
code: def compare_areas(self, v):
      """Compare produced AreaDefinition with expected."""
      test_area = {
          "area_id": "geosmsg",
          "width": 10,
          "height": 300,
          "area_extent": (
              -5567248.2834071,
              -5570248.6866857,
              -5537244.2506213,
              -4670127.7031114,
          ),
      }
      assert v.attrs["area"].area_id == test_area["area_id"]
      assert v.attrs["area"].width == test_area["width"]
      assert v.attrs["area"].height == test_area["height"]
      np.testing.assert_almost_equal(
          v.attrs["area"].area_extent, test_area["area_extent"]
      )
  
imports: import os
  import unittest
  from unittest import mock
  import dask.array
  import numpy
  import pytest
  from satpy.readers import load_reader
  from satpy.tests.reader_tests.test_hdf4_utils import FakeHDF4FileHandler
label_desc: Use image node_id 3 for calling the TestSEVIRIICAREReader obj's underlying member method code with example usage: obj.compare_areas(v) without return types