Commit 098a03de authored by Kristin's avatar Kristin Committed by Stuart Sides
Browse files

Update kerneldbgen to work with spks with many time intervals (#3386)

* Update date and other metadata

* ckwriter_test_fix

* Fix unintentional cmakelists change

* Updated spk max window size to 200000 to accomodate large smithed spks

* fix size to be consistent
parent e562053d
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -224,10 +224,9 @@ PvlGroup SpiceDbGen::AddSelection(FileName fileIn, double startOffset, double en

      //find the correct coverage window
      if (currFile == "SPK") {
        //  2000 is the max coverage window size for an SPK kernel
        SPICEDOUBLE_CELL(cover, 2000);
        SPICEDOUBLE_CELL(cover, 200000);
        ssize_c(0, &cover);
        ssize_c(2000, &cover);
        ssize_c(200000, &cover);
        spkcov_c(tmp.toLatin1().data(), body, &cover);

        NaifStatus::CheckErrors();