class_docstr: Base class for reading JPSS VIIRS & ATMS SDR HDF5 Files.
docstr: Scale swath data using scaling factors and offsets.
  
  Multi-granule (a.k.a. aggregated) files will have more than the usual two values.
docstr_tok: ["Scale","swath","data","using","scaling","factors","and","offsets",".","Multi-granule","(","a.k.a",".","aggregated",")","files","will","have","more","than","the","usual","two","values","."]
code: def scale_swath_data(self, data, scaling_factors, dataset_group):
      """Scale swath data using scaling factors and offsets.
  
      Multi-granule (a.k.a. aggregated) files will have more than the usual two values.
      """
      rows_per_gran = self._get_rows_per_granule(dataset_group)
      factors = self._mask_and_reshape_factors(scaling_factors)
      data = self._map_and_apply_factors(data, factors, rows_per_gran)
      return data
  
imports: import logging
  from datetime import datetime, timedelta
  import dask.array
  import numpy
  import xarray
  from satpy.readers.hdf5_utils import HDF5FileHandler
label_desc: Use image node_id 10 for calling the JPSS_SDR_FileHandler obj's underlying member method code with example usage: obj.scale_swath_data(data, scaling_factors, dataset_group) and returns: data