From 81d38f97beab5c8a4992bca54bb892cf378f7308 Mon Sep 17 00:00:00 2001 From: acpaquette Date: Tue, 7 Nov 2023 15:11:30 -0700 Subject: [PATCH 1/2] Fix kaguya json --- SpiceQL/db/kaguya.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SpiceQL/db/kaguya.json b/SpiceQL/db/kaguya.json index b425f2f..ecbb4da 100644 --- a/SpiceQL/db/kaguya.json +++ b/SpiceQL/db/kaguya.json @@ -36,9 +36,11 @@ ] }, "spk": { + "reconstructed": { + "kernels": ["SEL_M_071020_090610_SGMH_02.BSP"] + }, "smithed": { "kernels": ["SEL_M_[0-9]{6}_[0-9]{6}_SGMI_05.BSP", - "SEL_M_071020_090610_SGMH_02.BSP", "SELMAINGRGM900CL660DIRALT2008103020090610.bsp"] } }, From 221f1684eaa1b94f595cbe71c059153a79cc3b8c Mon Sep 17 00:00:00 2001 From: acpaquette Date: Tue, 7 Nov 2023 15:12:14 -0700 Subject: [PATCH 2/2] Change ck cell size by 2x and spk cells by 4x --- SpiceQL/src/utils.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/SpiceQL/src/utils.cpp b/SpiceQL/src/utils.cpp index 3901622..8e8f763 100644 --- a/SpiceQL/src/utils.cpp +++ b/SpiceQL/src/utils.cpp @@ -962,17 +962,17 @@ namespace SpiceQL { vector> times; //find the correct coverage window if(currFile == "SPK") { - SPICEDOUBLE_CELL(cover, 1000); + SPICEDOUBLE_CELL(cover, 4000); ssize_c(0, &cover); - ssize_c(1000, &cover); + ssize_c(4000, &cover); spkcov_c(kpath.c_str(), body, &cover); times = formatIntervals(cover); } else if(currFile == "CK") { // 200,000 is the max coverage window size for a CK kernel - SPICEDOUBLE_CELL(cover, 1000); + SPICEDOUBLE_CELL(cover, 2000); ssize_c(0, &cover); - ssize_c(1000, &cover); + ssize_c(2000, &cover); // A SPICE SEGMENT is composed of SPICE INTERVALS ckcov_c(kpath.c_str(), body, SPICEFALSE, "SEGMENT", 0.0, "TDB", &cover);