class_docstr: Test IASI L2 reader.
class_docstr_tok: ["Test","IASI","L2","reader","."]
docstr: Test read_dataset() function.
docstr_tok: ["Test","read_dataset","(",")","function","."]
code: def test_read_dataset(self):
      """Test read_dataset() function."""
      import h5py
  
      from satpy.readers.iasi_l2 import read_dataset
      from satpy.tests.utils import make_dataid
  
      with h5py.File(self.fname, "r") as fid:
          key = make_dataid(name="pressure")
          data = read_dataset(fid, key).compute()
          self.check_pressure(data)
          key = make_dataid(name="emissivity")
          data = read_dataset(fid, key).compute()
          self.check_emissivity(data)
          # This dataset doesn't have any attributes
          key = make_dataid(name="ozone_total_column")
          data = read_dataset(fid, key).compute()
          assert len(data.attrs) == 0
  
imports: import math
  import os
  import unittest
  import numpy
  import pytest
  import xarray
label_desc: Use image node_id 14 for calling the TestIasiL2 obj's underlying member method code with example usage: obj.test_read_dataset() without return types