class_docstr: Custom file reader for finding VIIRS SDR geolocation at runtime.
code: def _remove_datasets_from_files(
      self, filename_items, files_to_edit, considered_datasets
  ):
      fdict = dict(filename_items)
      for to_del in files_to_edit:
          fdict[to_del]["datasets"] = fdict[to_del]["datasets"].split(
              "-"
          )
          for dataset in considered_datasets:
              with suppress(ValueError):
                  fdict[to_del]["datasets"].remove(dataset)
          if not fdict[to_del]["datasets"]:
              del fdict[to_del]
          else:
              fdict[to_del]["datasets"] = "-".join(
                  fdict[to_del]["datasets"]
              )
      filename_items = fdict.items()
      return filename_items
  
imports: import logging
  import os.path
  from contextlib import suppress
  from datetime import datetime, timedelta
  from glob import glob
  import numpy
  from satpy.readers.viirs_atms_sdr_base import ATMS_DATASET_KEYS, DATASET_KEYS, VIIRS_DATASET_KEYS, JPSS_SDR_FileHandler
  from satpy.readers.yaml_reader import FileYAMLReader
label_desc: Use image node_id 6 for calling the VIIRSSDRReader obj's underlying member method code with example usage: obj._remove_datasets_from_files(filename_items, files_to_edit, considered_datasets) and returns: filename_items