code: def generate_subset_of_filenames(subset=None, base_dir=""):
      """Generate SEVIRI HRIT filenames."""
      if subset is None:
          subset = _create_full_set()
      pattern = os.path.join(base_dir, FILENAME)
      files = []
      for channel, segments in subset.items():
          new_files = _generate_filenames(pattern, channel, segments)
          files.extend(new_files)
      return files
  
file_path: satpy/satpy/demo/seviri_hrit.py
imports: import logging
  import os.path
  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: generate_subset_of_filenames(subset, base_dir) and returns: files