diff --git a/SpiceQL/db/schema/spiceMissionSchmea.schema.json b/SpiceQL/db/schema/spiceMissionSchmea.schema.json index ce4d233d754a481d3de2d01205c222aff9936220..371b4f4d25f5b9f87954f66bc24475f6f9c815ca 100644 --- a/SpiceQL/db/schema/spiceMissionSchmea.schema.json +++ b/SpiceQL/db/schema/spiceMissionSchmea.schema.json @@ -52,7 +52,7 @@ "$ref": "#/definitions/quality_kernels" }, "tspk": { - "$ref": "#/definitions/kernels" + "$ref": "#/definitions/quality_kernels" }, "fk": { "$ref": "#/definitions/kernels" diff --git a/SpiceQL/include/spice_types.h b/SpiceQL/include/spice_types.h index 759add9327621df1b2cb88839e4135a59cc5ec30..2391a1a6d78b5a7a6c100342eb82a6971696e28e 100644 --- a/SpiceQL/include/spice_types.h +++ b/SpiceQL/include/spice_types.h @@ -18,7 +18,7 @@ namespace SpiceQL { extern const std::vector<std::string> KERNEL_TYPES; extern const std::vector<std::string> KERNEL_QUALITIES; - void load(std::string path, bool force_refurnsh); + void load(std::string path, bool force_refurnsh=true); void unload(std::string path); /** diff --git a/SpiceQL/src/utils.cpp b/SpiceQL/src/utils.cpp index bdeda7047d10ae4800c6495f694687f000ba8f23..ee72a8251ef65390316923f55fb3afa095b9a172 100644 --- a/SpiceQL/src/utils.cpp +++ b/SpiceQL/src/utils.cpp @@ -1040,14 +1040,14 @@ namespace SpiceQL { string currFile = fileType; //create a spice cell capable of containing all the objects in the kernel. - SPICEINT_CELL(currCell, 200000); + SPICEINT_CELL(currCell, 300000); //this resizing is done because otherwise a spice cell will append new data //to the last "currCell" ssize_c(0, &currCell); - ssize_c(200000, &currCell); + ssize_c(300000, &currCell); - SPICEDOUBLE_CELL(cover, 200000); + SPICEDOUBLE_CELL(cover, 300000); if (currFile == "SPK") { spkobj_c(kpath.c_str(), &currCell); @@ -1073,17 +1073,17 @@ namespace SpiceQL { if (body < 0) { //find the correct coverage window if(currFile == "SPK") { - SPICEDOUBLE_CELL(cover, 200000); + SPICEDOUBLE_CELL(cover, 300000); ssize_c(0, &cover); - ssize_c(200000, &cover); + ssize_c(300000, &cover); spkcov_c(kpath.c_str(), body, &cover); getStartStopFromInterval(cover); } else if(currFile == "CK") { // 200,000 is the max coverage window size for a CK kernel - SPICEDOUBLE_CELL(cover, 200000); + SPICEDOUBLE_CELL(cover, 300000); ssize_c(0, &cover); - ssize_c(200000, &cover); + ssize_c(300000, &cover); // A SPICE SEGMENT is composed of SPICE INTERVALS ckcov_c(kpath.c_str(), body, SPICEFALSE, "INTERVAL", 0.0, "TDB", &cover);