code: def scdecd(sc, sclkdp, lenout=_default_len_out, MXPART=None):
      # todo: figure out how to use mxpart
      
      sc = ctypes.c_int(sc)
      sclkdp = ctypes.c_double(sclkdp)
      sclkch = stypes.stringToCharP(" " * lenout)
      lenout = ctypes.c_int(lenout)
      libspice.scdecd_c(sc, sclkdp, lenout, sclkch)
      return stypes.toPythonString(sclkch)
docs: Convert double precision encoding of spacecraft clock time into
      a character representation.
  
      http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/scdecd_c.html
  
      :param sc: NAIF spacecraft identification code.
      :type sc: int
      :param sclkdp: Encoded representation of a spacecraft clock count.
      :type sclkdp: float
      :param lenout: Maximum allowed length of output SCLK string.
      :type lenout: int
      :param MXPART: Maximum number of spacecraft clock partitions.
      :type MXPART: int
      :return: Character representation of a clock count.
      :rtype: str