code: def pad_data_horizontally(data, final_size, east_bound, west_bound):
      """Pad the data given east and west bounds and the desired size."""
      nlines = final_size[0]
      if west_bound - east_bound != data.shape[1] - 1:
          raise IndexError(
              "East and west bounds do not match data shape"
          )
  
      padding_east = get_padding_area(
          (nlines, east_bound - 1), data.dtype
      )
      padding_west = get_padding_area(
          (nlines, (final_size[1] - west_bound)), data.dtype
      )
  
      return np.hstack((padding_east, data, padding_west))
  
imports: from __future__ import annotations
  import warnings
  from datetime import datetime, timedelta
  import dask.array
  import numpy
  import pyproj
  from numpy.polynomial.chebyshev import Chebyshev
  from satpy.readers.eum_base import issue_revision, time_cds_short
  from satpy.readers.utils import apply_earthsun_distance_correction
  from satpy.utils import get_legacy_chunk_size
label_desc: Use image node_id 12 for calling a global function with example usage: pad_data_horizontally(data, final_size, east_bound, west_bound) and returns: np