Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SpiceQL
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
aflab
astrogeology
SpiceQL
Commits
c01e7e25
Commit
c01e7e25
authored
8 months ago
by
kelvinrr
Browse files
Options
Downloads
Patches
Plain Diff
test fixes
parent
057a2b80
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
SpiceQL/db/schema/spiceMissionSchmea.schema.json
+1
-1
1 addition, 1 deletion
SpiceQL/db/schema/spiceMissionSchmea.schema.json
SpiceQL/include/spice_types.h
+1
-1
1 addition, 1 deletion
SpiceQL/include/spice_types.h
SpiceQL/src/utils.cpp
+7
-7
7 additions, 7 deletions
SpiceQL/src/utils.cpp
with
9 additions
and
9 deletions
SpiceQL/db/schema/spiceMissionSchmea.schema.json
+
1
−
1
View file @
c01e7e25
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
"$ref"
:
"#/definitions/quality_kernels"
"$ref"
:
"#/definitions/quality_kernels"
},
},
"tspk"
:
{
"tspk"
:
{
"$ref"
:
"#/definitions/kernels"
"$ref"
:
"#/definitions/
quality_
kernels"
},
},
"fk"
:
{
"fk"
:
{
"$ref"
:
"#/definitions/kernels"
"$ref"
:
"#/definitions/kernels"
...
...
This diff is collapsed.
Click to expand it.
SpiceQL/include/spice_types.h
+
1
−
1
View file @
c01e7e25
...
@@ -18,7 +18,7 @@ namespace SpiceQL {
...
@@ -18,7 +18,7 @@ namespace SpiceQL {
extern
const
std
::
vector
<
std
::
string
>
KERNEL_TYPES
;
extern
const
std
::
vector
<
std
::
string
>
KERNEL_TYPES
;
extern
const
std
::
vector
<
std
::
string
>
KERNEL_QUALITIES
;
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
);
void
unload
(
std
::
string
path
);
/**
/**
...
...
This diff is collapsed.
Click to expand it.
SpiceQL/src/utils.cpp
+
7
−
7
View file @
c01e7e25
...
@@ -1040,14 +1040,14 @@ namespace SpiceQL {
...
@@ -1040,14 +1040,14 @@ namespace SpiceQL {
string
currFile
=
fileType
;
string
currFile
=
fileType
;
//create a spice cell capable of containing all the objects in the kernel.
//create a spice cell capable of containing all the objects in the kernel.
SPICEINT_CELL
(
currCell
,
2
00000
);
SPICEINT_CELL
(
currCell
,
3
00000
);
//this resizing is done because otherwise a spice cell will append new data
//this resizing is done because otherwise a spice cell will append new data
//to the last "currCell"
//to the last "currCell"
ssize_c
(
0
,
&
currCell
);
ssize_c
(
0
,
&
currCell
);
ssize_c
(
2
00000
,
&
currCell
);
ssize_c
(
3
00000
,
&
currCell
);
SPICEDOUBLE_CELL
(
cover
,
2
00000
);
SPICEDOUBLE_CELL
(
cover
,
3
00000
);
if
(
currFile
==
"SPK"
)
{
if
(
currFile
==
"SPK"
)
{
spkobj_c
(
kpath
.
c_str
(),
&
currCell
);
spkobj_c
(
kpath
.
c_str
(),
&
currCell
);
...
@@ -1073,17 +1073,17 @@ namespace SpiceQL {
...
@@ -1073,17 +1073,17 @@ namespace SpiceQL {
if
(
body
<
0
)
{
if
(
body
<
0
)
{
//find the correct coverage window
//find the correct coverage window
if
(
currFile
==
"SPK"
)
{
if
(
currFile
==
"SPK"
)
{
SPICEDOUBLE_CELL
(
cover
,
2
00000
);
SPICEDOUBLE_CELL
(
cover
,
3
00000
);
ssize_c
(
0
,
&
cover
);
ssize_c
(
0
,
&
cover
);
ssize_c
(
2
00000
,
&
cover
);
ssize_c
(
3
00000
,
&
cover
);
spkcov_c
(
kpath
.
c_str
(),
body
,
&
cover
);
spkcov_c
(
kpath
.
c_str
(),
body
,
&
cover
);
getStartStopFromInterval
(
cover
);
getStartStopFromInterval
(
cover
);
}
}
else
if
(
currFile
==
"CK"
)
{
else
if
(
currFile
==
"CK"
)
{
// 200,000 is the max coverage window size for a CK kernel
// 200,000 is the max coverage window size for a CK kernel
SPICEDOUBLE_CELL
(
cover
,
2
00000
);
SPICEDOUBLE_CELL
(
cover
,
3
00000
);
ssize_c
(
0
,
&
cover
);
ssize_c
(
0
,
&
cover
);
ssize_c
(
2
00000
,
&
cover
);
ssize_c
(
3
00000
,
&
cover
);
// A SPICE SEGMENT is composed of SPICE INTERVALS
// A SPICE SEGMENT is composed of SPICE INTERVALS
ckcov_c
(
kpath
.
c_str
(),
body
,
SPICEFALSE
,
"INTERVAL"
,
0.0
,
"TDB"
,
&
cover
);
ckcov_c
(
kpath
.
c_str
(),
body
,
SPICEFALSE
,
"INTERVAL"
,
0.0
,
"TDB"
,
&
cover
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment