class_docstr: Test NUCAPS Science EDR Reader.
class_docstr_tok: ["Test","NUCAPS","Science","EDR","Reader","."]
docstr: Test loading all channels based on pressure.
docstr_tok: ["Test","loading","all","channels","based","on","pressure","."]
code: def test_load_pressure_based(self):
      """Test loading all channels based on pressure."""
      from satpy.readers import load_reader
  
      r = load_reader(self.reader_configs)
      loadables = r.select_files_from_pathnames(
          [
              "NUCAPS-sciEDR_am_npp_s20190703223319_e20190703223349_STC_fsr.nc",
          ]
      )
      r.create_filehandlers(loadables)
      datasets = r.load(
          [
              "Temperature",
              "H2O",
              "H2O_MR",
              "O3",
              "O3_MR",
              "CO",
              "CO_MR",
              "CH4",
              "CH4_MR",
              "CO2",
              "HNO3",
              "HNO3_MR",
              "N2O",
              "N2O_MR",
              "SO2",
              "SO2_MR",
          ]
      )
      assert len(datasets) == 16
      for v in datasets.values():
          # self.assertNotEqual(v.info['resolution'], 0)
          assert v.ndim == 2
  
imports: import datetime
  import os
  import unittest
  from unittest import mock
  import numpy
  from satpy.tests.reader_tests.test_netcdf_utils import FakeNetCDF4FileHandler
  from satpy.tests.utils import convert_file_content_to_data_array
label_desc: Use image node_id 5 for calling the TestNUCAPSScienceEDRReader obj's underlying member method code with example usage: obj.test_load_pressure_based() without return types