class_docstr: Test IASI L2 reader.
class_docstr_tok: ["Test","IASI","L2","reader","."]
docstr: Test reading pressure dataset.
  
  Helper function.
docstr_tok: ["Test","reading","pressure","dataset",".","Helper","function","."]
code: def check_pressure(self, pres, attrs=None):
      """Test reading pressure dataset.
  
      Helper function.
      """
      assert np.all(pres == 0.0)
      assert pres.x.size == SCAN_WIDTH
      assert pres.y.size == NUM_SCANLINES
      assert pres.level.size == NUM_LEVELS
      if attrs:
          assert pres.attrs["start_time"] == attrs["start_time"]
          assert pres.attrs["end_time"] == attrs["end_time"]
      assert "long_name" in pres.attrs
      assert "units" in pres.attrs
  
imports: import math
  import os
  import unittest
  import numpy
  import pytest
  import xarray
label_desc: Use image node_id 11 for calling the TestIasiL2 obj's underlying member method code with example usage: obj.check_pressure(pres, attrs) without return types