ISIS Application Documentation
kerneldbgen | Printer Friendly View | TOC | Home |
Creates a database of kernels
Overview | Parameters | Example 1 | Example 2 |
DescriptionThis program is used to give the programmer and ISIS programs a database with which they can reference coverage times for ck and spk kernels. Output will thus be to a pvl file specified in the TO parameter. It should be noted that the user is encouraged to use system preferences when defining pathnames, for example $mgs or $base. If this is not possible, for example kernels are being referenced that are located in a user's development area, absolute pathnames should be used. Relative pathnames using ".", "..", or user-defined environment variables are highly discouraged. Kernels have different qualities. The lowest quality is nadir, which supplies what may be considered "placeholder" values. Generally, nadir kernels exist to fill in gaps and mimic the instrument pointing at -90 degrees. Since they only mimic pointing data, they cannot be used for SPKs, since these kernels specify positions rather than pointing. The second lowest quality kernel is predict. Predict kernels are based on the predicted location of spacecraft and thus are subject to error. Reconstructed kernels are of higher quality than predicts. They are supplemented with information as to the actual position of bodies and spacecraft. The highest quality kernels are smithed. These generally come from reconstructed kernels that have been corrected even further by an individual institution. The four levels of kernels listed above are the only ones that will be listed in the database. Kernels are ordered from the lowest quality at the top of the output file to the highest quality at the bottom of the output file within individual kernel qualities, kernels are listed from earliest to latest created file. This is done in anticipation of programs such as spiceinit which read from the bottom of the file for the best kernel. This program's database is in pvl format, and as such order is significant. The last listed kernel file covering the timespan will be used. Because of this in combination with the individual needs of specific missions, ISIS arrays can be used to control kernel file order.
For example, using the pure string expression: "m01_sc_ext??_rec_nadir.bc ; m01_sc_ext??.bc" would result in the listing: m01_sc_ext10.bc m01_sc_ext10_rec_nadir.bc m01_sc_ext11.bc m01_sc_ext11_rec_nadir.bc m01_sc_ext12.bc m01_sc_ext12_rec_nadir.bc m01_sc_ext13.bc m01_sc_ext13_rec_nadir.bc while using the ISIS array expression: ("m01_sc_ext??_rec_nadir.bc", "m01_sc_ext??.bc") would result in the listing: m01_sc_ext10_rec_nadir.bc m01_sc_ext11_rec_nadir.bc m01_sc_ext12_rec_nadir.bc m01_sc_ext13_rec_nadir.bc m01_sc_ext10.bc m01_sc_ext11.bc m01_sc_ext12.bc m01_sc_ext13.bc CategoriesRelated Objects and DocumentsApplicationsHistory
|
U.S. Department of the Interior | U.S. Geological Survey ISIS | Privacy & Disclaimers | Astrogeology Research Program To contact us, please post comments and questions on the USGS Astrogeology Discussion Board To report a bug, or suggest a feature go to: ISIS Github File Modified: 02/21/2025 19:28:11 |
Parameter GroupsFiles
Kernel Type
Coverage Level
Predict
Reconstructed
Smithed
Offset
Dependency Kernels
|
U.S. Department of the Interior | U.S. Geological Survey ISIS | Privacy & Disclaimers | Astrogeology Research Program To contact us, please post comments and questions on the USGS Astrogeology Discussion Board To report a bug, or suggest a feature go to: ISIS Github File Modified: 02/21/2025 19:28:11 |
This parameter may be used as a relative pathname to specify the location of an output PVL database containing data on all of kernels matched by kerneldbgen. It should be noted that version sequences may be included in the pathname, in which case a new version will be created.
Type | filename |
---|---|
Default | ./kernels.????.db |
The kernel type specifies what sort of information the kernel contains. Since kerneldbgen is intended for use only in situations where the most recent kernel does not eclipse the content of previous kernels, there are only two options: Spacecraft pointing kernels (CK) and Spacecraft position kernels (SPK).
Type | string | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Default | CK | |||||||||
Option List: |
|
Type | string | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Default | SEGMENT | |||||||||
Option List: |
|
This parameter specifies the path upon which the regular expression in "PREDICTFILTER" will operate. Since this parameter will be used explicitly in the "File" keyword of the generated database, it is recommended that only shortcuts known to the ISIS system and absolute pathnames are used. If left as "none" no predicted kernels will be included in the database
Type | string |
---|---|
Default | none |
This parameter is used to specify the kernel or kernels to be identified as predicted. Any combination of kernel file names or regular expression may be specified. The value of "PREDICTDIR" is prepended to each element before being expanded. Each regular expression is evaluated then the results are sorted according to ASCII order and added to the list of available kernels.
Type | string |
---|---|
Default | none |
This parameter is used to specify a file list that contains the kernel or kernels to be identified as predicted. The order of the kernels in the file list will be retained with kernels later in the list taking precedence when multiple kernels cover the same time range.
Type | filename |
---|---|
File Mode | input |
Exclusions |
|
Filter | *.txt *.lis |
This parameter specifies the path upon which the regular expression in "RECONFILTER" will operate. Since this parameter will be used explicitly in the "File" keyword of the generated database, it is recommended that only shortcuts known to the ISIS system and absolute pathnames are used. If left as "none" no reconstructed kernels will be included in the database.
Type | string |
---|---|
Default | none |
This parameter is used to specify the kernel or kernels to be identified as reconstructed. Any combination of kernel file names or regular expression may be specified. The value of "RECONDIR" is prepended to each element before being expanded. Each regular expression is evaluated then the results are sorted according to ASCII order and added to the list of available kernels.
Type | string |
---|---|
Default | none |
This parameter is used to specify a file list that contains the kernel or kernels to be identified as reconstructed. The order of the kernels in the file list will be retained with kernels later in the list taking precedence when multiple kernels cover the same time range.
Type | filename |
---|---|
File Mode | input |
Exclusions |
|
Filter | *.txt *.lis |
This parameter specifies the path upon which the regular expression in "SMITHEDFILTER" will operate. Since this parameter will be used explicitly in the "File" keyword of the generated database, it is recommended that only shortcuts known to the ISIS system and absolute pathnames are used. If left as "none" no smithed kernels will be included in the database
Type | string |
---|---|
Default | none |
This parameter is used to specify the kernel or kernels to be identified as smithed. Any combination of kernel file names or regular expression may be specified. The value of "SMITHED"DIR" is prepended to each element before being expanded. Each regular expression is evaluated then the results are sorted according to ASCII order and added to the list of available kernels.
Type | string |
---|---|
Default | none |
This parameter is used to specify a file list that contains the kernel or kernels to be identified as smithed. The order of the kernels in the file list will be retained with kernels later in the list taking precedence when multiple kernels cover the same time range.
Type | filename |
---|---|
File Mode | input |
Exclusions |
|
Filter | *.txt *.lis |
This parameter is used to specify the amount of offset (in seconds) to apply to the StartTime value for each kernel that is used to populate the db file. This value will be subtracted from the value found in the kernel. If left as 0.0, no offset will be applied, and the Time will be copied over as written in the kernel.
Type | double |
---|---|
Default | 0.0 |
Minimum | 0.0 (inclusive) |
This parameter is used to specify the amount of offset (in seconds) to apply to the EndTime value for each kernel that is used to populate the db file. This value will be added to the value found in the kernel. If left as 0.0, no offset will be applied, and the Time will be copied over as written in the kernel.
Type | double |
---|---|
Default | 0.0 |
Minimum | 0.0 (inclusive) |
This parameter specifies a spacecraft clock kernel for use in determining spacecraft pointing data. An actual kernel may be used, or a pvl file of the form kernels.????.db that specifies SCLK data may be used, where ???? is the version sequence.
Type | filename |
---|
This parameter specifies a leapsecond kernel for use in determining spacecraft data. An actual kernel may be used, or a pvl file of the form kernels.????.db that specifies LSK data may be used, where ???? is the version sequence.
Type | filename |
---|
This parameter specifies additional kernels required to fully vet the CK/SPK kernels. An actual kernel may be used, or a pvl file of the form kernels.????.db that specifies LSK data may be used, where ???? is the version sequence.
Type | filename |
---|---|
Internal Default | none |
U.S. Department of the Interior | U.S. Geological Survey ISIS | Privacy & Disclaimers | Astrogeology Research Program To contact us, please post comments and questions on the USGS Astrogeology Discussion Board To report a bug, or suggest a feature go to: ISIS Github File Modified: 02/21/2025 19:28:11 |
Example 2MGS CK kernels Description
Use the ck option to create a database of pointing kernels. In
this example, kernels are being created for Mars Odyssey, both predict
and reconstructed quality. This example should be of interest because it shows
both the creation of a database with multiple levels of quality, and it also
shows the use of several different filters used in conjunction to pick up a
variety of reconstructed kernel names
Command Line
kerneldbgen
'to=kernels.????.db
type = ck
reconfilter= *_nadir.bc
recondir = $Odyssey/kernels/ck
reconfilter= m01_sc_ab*.bc;m01_sc_ext?.bc;m01_sc_map.bc;m01_sc_map?.bc;m01_sc_map??.bc;m01_sc_map?_v2.bc'
lsk = $Base/kernels/lsk/naif0008.tls
sclk = $Odyssey/kernels/sclk/ORB1_SCLKSCET.00113.tsc'
This command line argument will create the database kernels.0001.db,
assuming that file does not already exist in the target directory. As in the
previous example, the command line argument is surrounded by single quotes
in order to escape characters that would otherwise be considered special by
the shell.
GUI Screenshot
Input Image
Data FileLinks open in a new window.
Output Image |
U.S. Department of the Interior | U.S. Geological Survey ISIS | Privacy & Disclaimers | Astrogeology Research Program To contact us, please post comments and questions on the USGS Astrogeology Discussion Board To report a bug, or suggest a feature go to: ISIS Github File Modified: 02/21/2025 19:28:11 |