@spiceErrorCheck<EOL>@spiceFoundExceptionThrower<EOL>def ckgpav(inst, sclkdp, tol, ref):
inst = ctypes.c_int(inst)<EOL>sclkdp = ctypes.c_double(sclkdp)<EOL>tol = ctypes.c_double(tol)<EOL>ref = stypes.stringToCharP(ref)<EOL>cmat = stypes.emptyDoubleMatrix()<EOL>av = stypes.emptyDoubleVector(<NUM_LIT:3>)<EOL>clkout = ctypes.c_double()<EOL>found = ctypes.c_int()<EOL>libspice.ckgpav_c(inst, sclkdp, tol, ref, cmat, av, ctypes.byref(clkout),<EOL>ctypes.byref(found))<EOL>return stypes.cMatrixToNumpy(cmat), stypes.cVectorToPython(<EOL>av), clkout.value, bool(found.value)<EOL>
Get pointing (attitude) and angular velocity
for a specified spacecraft clock time.

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

:param inst: NAIF ID of instrument, spacecraft, or structure.
:type inst: int
:param sclkdp: Encoded spacecraft clock time.
:type sclkdp: float
:param tol: Time tolerance.
:type tol: float
:param ref: Reference frame.
:type ref: str
:return:
        C-matrix pointing data,
        Angular velocity vector,
        Output encoded spacecraft clock time.
:rtype: tuple