class_docstr: Test TROPOMI L2 Reader.
class_docstr_tok: ["Test","TROPOMI","L2","Reader","."]
docstr: Load NO2 dataset.
docstr_tok: ["Load","NO2","dataset","."]
code: def test_load_no2(self):
      """Load NO2 dataset."""
      from satpy.readers import load_reader
  
      r = load_reader(self.reader_configs)
      with mock.patch(
          "satpy.readers.tropomi_l2.netCDF4.Variable", xr.DataArray
      ):
          loadables = r.select_files_from_pathnames(
              [
                  "S5P_OFFL_L2__NO2____20180709T170334_20180709T184504_03821_01_010002_20180715T184729.nc",
              ]
          )
          r.create_filehandlers(loadables)
      ds = r.load(["nitrogen_dioxide_total_column"])
      assert len(ds) == 1
      for d in ds.values():
          assert d.attrs["platform_shortname"] == "S5P"
          assert d.attrs["sensor"] == "tropomi"
          assert d.attrs["time_coverage_start"] == datetime(
              2018, 7, 9, 17, 25, 34
          )
          assert d.attrs["time_coverage_end"] == datetime(
              2018, 7, 9, 18, 23, 4
          )
          assert "area" in d.attrs
          assert d.attrs["area"] is not None
          assert "y" in d.dims
          assert "x" in d.dims
  
file_path: satpy/satpy/tests/reader_tests/test_tropomi_l2.py
imports: import os
  import unittest
  from datetime import datetime, timedelta
  from unittest import mock
  import numpy
  import xarray
  from satpy.tests.reader_tests.test_netcdf_utils import FakeNetCDF4FileHandler
label_desc: Use image node_id 4 for calling the TestTROPOMIL2Reader obj's underlying member method code with example usage: obj.test_load_no2() without return types