class_docstr: Fake file handler to be used by test readers.
class_docstr_tok: ["Fake","file","handler","to","be","used","by","test","readers","."]
docstr: Report YAML datasets available unless 'not_available' is specified during creation.
docstr_tok: ["Report","YAML","datasets","available","unless","'not_available","'","is","specified","during","creation","."]
code: def available_datasets(self, configured_datasets=None):
      """Report YAML datasets available unless 'not_available' is specified during creation."""
      not_available_names = self.kwargs.get("not_available", [])
      for is_avail, ds_info in configured_datasets or []:
          if is_avail is not None:
              # some other file handler said it has this dataset
              # we don't know any more information than the previous
              # file handler so let's yield early
              yield is_avail, ds_info
              continue
          ft_matches = self.file_type_matches(ds_info["file_type"])
          if not ft_matches:
              yield None, ds_info
              continue
          # mimic what happens when a reader "knows" about one variable
          # but the files loaded don't have that variable
          is_avail = ds_info["name"] not in not_available_names
          yield is_avail, ds_info
  
imports: from contextlib import contextmanager
  from datetime import datetime
  from typing import Any
  from unittest import mock
  import dask.array
  import numpy
  from pyresample import create_area_def
  from pyresample.geometry import BaseDefinition, SwathDefinition
  from xarray import DataArray
  from satpy import Scene
  from satpy.composites import GenericCompositor, IncompatibleAreas
  from satpy.dataset import DataID, DataQuery
  from satpy.dataset.dataid import default_id_keys_config, minimal_default_keys_config
  from satpy.modifiers import ModifierBase
  from satpy.readers.file_handlers import BaseFileHandler
label_desc: Use image node_id 6 for calling the FakeFileHandler obj's underlying member method code with example usage: obj.available_datasets(configured_datasets) without return types