<div>Trying to use the event kernels for the first time, I'm having trouble loading any that I try. This is with the CSPICE library on both a Linux system. I get the folllowing error:</div>
<div>&nbsp;</div>
<div>Subscript out of range on file line 1509, procedure dasfm.<br>Attempt to access the 707406378-th element of variable prev.<br>Abort</div>
<div>&nbsp;</div>
<div>I get the same message regardless of which e-kernel I try. Same thing happens on a Windows platform.</div>
<div>&nbsp;</div>
<div>I stripped down the code to the bare minimum:</div>
<div>&nbsp;</div>
<div>
<p>#include &lt;stdio.h&gt;<br>#include &lt;stdlib.h&gt;<br>#include &lt;cspice/SpiceUsr.h&gt;<br>#define KROOT &quot;/home/httpd/html/cassini/kernels&quot;</p>
<p>#include &lt;stdio.h&gt;<br>#include &lt;stdlib.h&gt;<br>#include &lt;cspice/SpiceUsr.h&gt;<br>#define KROOT &quot;/home/httpd/html/cassini/kernels&quot;</p>
<p>int main(int argc, char **argv)<br>{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; erract_c(&quot;SET&quot;,80,&quot;REPORT&quot;) ;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; furnsh_c(KROOT&quot;/lsk/naif0008.tls&quot;) ;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; furnsh_c(KROOT&quot;/sclk/cas00093.tsc&quot;) ;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; furnsh_c(KROOT&quot;/ek/10A.bdb&quot;) ;</p>
<p>}<br></p>
<p>The leapsecond &amp; sclk kernels load OK, but the event kernels (from the Cassini NAIF files) fail every time with the above error.</p>
<p>Any help appreciated!</p>
<p>Joe</p></div>
<div>&nbsp;</div>
<div>&nbsp;</div>