code: def _get_fake_scene_area(arr, area):
      """Get area for fake scene.  Helper for make_fake_scene."""
      if isinstance(area, BaseDefinition):
          return area
      return create_area_def(
          "test-area",
          {
              "proj": "eqc",
              "lat_ts": 0,
              "lat_0": 0,
              "lon_0": 0,
              "x_0": 0,
              "y_0": 0,
              "ellps": "sphere",
              "units": "m",
              "no_defs": None,
              "type": "crs",
          },
          units="m",
          shape=arr.shape,
          resolution=1000,
          center=(0, 0),
      )
  
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 10 for calling a global function with example usage: _get_fake_scene_area(arr, area) and returns: create_area_def, area