code: def _get_cumul_bin_info_for_tile(
      num_row_tile,
      weight_row,
      num_col_tile,
      weight_col,
      all_cumulative_dist_functions,
      all_bin_information,
  ):
      # figure out which adjacent tile we're processing (in
      # overall tile coordinates instead of relative to our
      # current tile)
      calculated_row = num_row_tile - 1 + weight_row
      calculated_col = num_col_tile - 1 + weight_col
      if calculated_row < 0 or calculated_col < 0:
          # don't allow negative indexes (out of bounds)
          return None, None
  
      try:
          bin_info = all_bin_information[calculated_row][calculated_col]
          cumul_func = all_cumulative_dist_functions[calculated_row][
              calculated_col
          ]
          return cumul_func, bin_info  # can be None
      except IndexError:
          return None, None
  
imports: from __future__ import annotations
  import logging
  import math
  from datetime import datetime
  import dask
  import dask.array
  import numpy
  import xarray
  from satpy.composites import CompositeBase, GenericCompositor
  from satpy.dataset import combine_metadata
label_desc: Use image node_id 7 for calling a global function with example usage: _get_cumul_bin_info_for_tile(num_row_tile, weight_row, num_col_tile, weight_col, all_cumulative_dist_functions, all_bin_information) and returns: None,  None, cumul_func,  bin_info, None,  None