class_docstr: Base class for reading JPSS VIIRS & ATMS SDR HDF5 Files.
code: def _get_valid_scaling_factors(factors):
      if factors is None:
          factors = np.array([1, 0], dtype=np.float32)
          factors = xr.DataArray(da.from_array(factors, chunks=1))
      else:
          factors = factors.where(factors != -999.0, np.float32(np.nan))
      return factors
  
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 15 for calling the JPSS_SDR_FileHandler obj's underlying member method code with example usage: obj._get_valid_scaling_factors(factors) and returns: factors