@spiceErrorCheck<EOL>def ekfind(query, lenout=_default_len_out):
query = stypes.stringToCharP(query)<EOL>lenout = ctypes.c_int(lenout)<EOL>nmrows = ctypes.c_int()<EOL>error = ctypes.c_int()<EOL>errmsg = stypes.stringToCharP(lenout)<EOL>libspice.ekfind_c(query, lenout, ctypes.byref(nmrows), ctypes.byref(error),<EOL>errmsg)<EOL>return nmrows.value, error.value, stypes.toPythonString(errmsg)<EOL>
Find E-kernel data that satisfy a set of constraints.

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

:param query: Query specifying data to be found.
:type query: str
:param lenout: Declared length of output error message string.
:type lenout: int
:return:
        Number of matching rows,
        Flag indicating whether query parsed correctly,
        Parse error description.
:rtype: tuple