code: def _setup_custom_composite_config(base_dir):
      from satpy.composites import StaticImageCompositor
      from satpy.modifiers.atmosphere import ReflectanceCorrector
  
      composite_config = base_dir.mkdir("composites").join("visir.yaml")
      with open(composite_config, "w") as comp_file:
          yaml.dump(
              {
                  "sensor_name": "visir",
                  "modifiers": {
                      "test_modifier": {
                          "modifier": ReflectanceCorrector,
                          "url": README_URL,
                          "known_hash": None,
                      },
                      "unfriendly_modifier": {
                          "modifier": UnfriendlyModifier,
                          "url": README_URL,
                          "filename": "unfriendly.rst",
                          "known_hash": None,
                      },
                  },
                  "composites": {
                      "test_static": {
                          "compositor": StaticImageCompositor,
                          "url": README_URL,
                          "known_hash": None,
                      },
                  },
              },
              comp_file,
          )
  
imports: from unittest import mock
  import pytest
  import yaml
  from satpy.aux_download import DataDownloadMixin
  from satpy.modifiers import ModifierBase
label_desc: Use image node_id 1 for calling a global function with example usage: _setup_custom_composite_config(base_dir) without return types