class_docstr: Test GEOCAT Reader.
class_docstr_tok: ["Test","GEOCAT","Reader","."]
docstr: Test loading all test datasets from old GOES files.
docstr_tok: ["Test","loading","all","test","datasets","from","old","GOES","files","."]
code: def test_load_all_old_goes(self):
      """Test loading all test datasets from old GOES files."""
      import xarray as xr
  
      from satpy.readers import load_reader
  
      r = load_reader(self.reader_configs)
      with mock.patch(
          "satpy.readers.geocat.netCDF4.Variable", xr.DataArray
      ):
          loadables = r.select_files_from_pathnames(
              [
                  "geocatL2.GOES-13.2015143.234500.nc",
              ]
          )
          r.create_filehandlers(loadables)
      datasets = r.load(["variable1", "variable2", "variable3"])
      assert len(datasets) == 3
      for v in datasets.values():
          assert "calibration" not in v.attrs
          assert v.attrs["units"] == "1"
      assert (
          datasets["variable3"].attrs.get("flag_meanings") is not None
      )
  
file_path: satpy/satpy/tests/reader_tests/test_geocat.py
imports: 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 TestGEOCATReader obj's underlying member method code with example usage: obj.test_load_all_old_goes() without return types