class_docstr: Test that MODIS situations where the same channel is available at multiple resolution works.
docstr: Test a modis overview dependency calculation with resolution fixed to 1000m.
docstr_tok: ["Test","a","modis","overview","dependency","calculation","with","resolution","fixed","to","1000m","."]
code: def test_modis_overview_1000m(self):
      """Test a modis overview dependency calculation with resolution fixed to 1000m."""
      from satpy import DataQuery
      from satpy._config import PACKAGE_CONFIG_PATH
      from satpy.composites import GenericCompositor
      from satpy.dataset import DatasetDict
      from satpy.modifiers.geometry import SunZenithCorrector
      from satpy.readers.yaml_reader import FileYAMLReader
  
      config_file = os.path.join(
          PACKAGE_CONFIG_PATH, "readers", "modis_l1b.yaml"
      )
      self.reader_instance = FileYAMLReader.from_config_files(
          config_file
      )
  
      overview = {
          "_satpy_id": make_dataid(name="overview"),
          "name": "overview",
          "optional_prerequisites": [],
          "prerequisites": [
              DataQuery(name="1", modifiers=("sunz_corrected",)),
              DataQuery(name="2", modifiers=("sunz_corrected",)),
              DataQuery(name="31"),
          ],
          "standard_name": "overview",
      }
      compositors = {"modis": DatasetDict()}
      compositors["modis"]["overview"] = GenericCompositor(**overview)
  
      modifiers = {
          "modis": {
              "sunz_corrected": (
                  SunZenithCorrector,
                  {
                      "optional_prerequisites": ["solar_zenith_angle"],
                      "name": "sunz_corrected",
                      "prerequisites": [],
                  },
              )
          }
      }
      dep_tree = DependencyTree(
          {"modis_l1b": self.reader_instance}, compositors, modifiers
      )
      dep_tree.populate_with_keys(
          {"overview"}, DataQuery(resolution=1000)
      )
      for key in dep_tree._all_nodes.keys():
          assert key.get("resolution", 1000) == 1000
  
imports: import os
  import unittest
  from satpy.dependency_tree import DependencyTree
  from satpy.tests.utils import make_cid, make_dataid
label_desc: Use image node_id 1 for calling the TestMultipleResolutionSameChannelDependency obj's underlying member method code with example usage: obj.test_modis_overview_1000m() without return types