code: def _get_filenames_to_download(channels, granules):
      if any("DNB" in chan for chan in channels):
          yield from _yield_specific_granules(GDNBO_URLS, granules)
      if any("I" in chan for chan in channels):
          yield from _yield_specific_granules(GITCO_URLS, granules)
      if any("M" in chan for chan in channels):
          yield from _yield_specific_granules(GMTCO_URLS, granules)
      for channel in channels:
          yield from _yield_specific_granules(
              FILES_20170128_1229[channel], granules
          )
  
imports: import logging
  import os
  from satpy import config
  from satpy.demo.utils import download_url
label_desc: Use image node_id 2 for calling a global function with example usage: _get_filenames_to_download(channels, granules) without return types