@spiceErrorCheck<EOL>def scencd(sc, sclkch, MXPART=None):
sc = ctypes.c_int(sc)<EOL>sclkch = stypes.stringToCharP(sclkch)<EOL>sclkdp = ctypes.c_double()<EOL>libspice.scencd_c(sc, sclkch, ctypes.byref(sclkdp))<EOL>return sclkdp.value<EOL>
Encode character representation of spacecraft clock time into a
double precision number.

http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/scencd_c.html

:param sc: NAIF spacecraft identification code.
:type sc: int
:param sclkch: Character representation of a spacecraft clock.
:type sclkch: str
:param MXPART: Maximum number of spacecraft clock partitions.
:type MXPART: int
:return: Encoded representation of the clock count.
:rtype: float