class_docstr: Base class for reading JPSS VIIRS & ATMS SDR HDF5 Files.
docstr: Expand single valued variable to full scan lengths.
docstr_tok: ["Expand","single","valued","variable","to","full","scan","lengths","."]
code: def expand_single_values(var, scans):
      """Expand single valued variable to full scan lengths."""
      if scans.size == 1:
          return var
      else:
          expanded = np.repeat(var, scans)
          expanded.attrs = var.attrs
          expanded.rename({expanded.dims[0]: "y"})
          return expanded
  
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 17 for calling the JPSS_SDR_FileHandler obj's underlying member method code with example usage: obj.expand_single_values(var, scans) and returns: var, expanded