Skip to content

Commit

Permalink
Add sample msl and m20 spice configs
Browse files Browse the repository at this point in the history
  • Loading branch information
tariqksoliman committed Nov 8, 2024
1 parent 4e7046c commit 455cb9e
Show file tree
Hide file tree
Showing 3 changed files with 138 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
/spice/kernels/*
!/spice/kernels/.gitkeep
/Missions/spice-kernels-conf.json
!/Missions/spice-kernels-conf.example.json
!/Missions/spice-kernels-conf.example*json

/build/*
/data/*
Expand Down
55 changes: 55 additions & 0 deletions Missions/spice-kernels-conf.example.mars2020.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"body": {
"description": "If the MMGIS ENV 'SPICE_SCHEDULED_KERNEL_DOWNLOAD=true', then at every other midnight, MMGIS will read /Missions/spice-kernels-conf.json and re/download all the specified kernels to /spice/kernels.'body' names and 'target' names must be valid NAIF SPICE names/ids. Meta-kernels (.tm) can also be set for download by using an object instead of a string (see example below).",
"MARS": {
"description": "MARS",
"kernels": [
"https://naif.jpl.nasa.gov/pub/naif/generic_kernels/lsk/naif0012.tls",
"https://naif.jpl.nasa.gov/pub/naif/MARS2020/kernels/pck/pck00010.tpc",
"https://naif.jpl.nasa.gov/pub/naif/MARS2020/kernels/spk/de438s.bsp",
"https://naif.jpl.nasa.gov/pub/naif/MARS2020/kernels/spk/mar097s.bsp",
"https://naif.jpl.nasa.gov/pub/naif/generic_kernels/pck/mars_iau2000_v1.tpc"
],
"targets": {
"MARS2020": {
"description": "M20 - Mars2020 Rover",
"kernels": [
"https://naif.jpl.nasa.gov/pub/naif/MARS2020/kernels/spk/m2020_atls_ops210303_v1.bsp",
"https://naif.jpl.nasa.gov/pub/naif/MARS2020/kernels/spk/m2020_ls_ops210303_iau2000_v1.bsp",
"https://naif.jpl.nasa.gov/pub/naif/MARS2020/kernels/sclk/M2020_168_SCLKSCET.00009.tsc",
"https://naif.jpl.nasa.gov/pub/naif/MARS2020/kernels/sclk/m2020_lmst_ops210303_v1.tsc",
"https://naif.jpl.nasa.gov/pub/naif/MARS2020/kernels/fk/m2020_v04.tf"
]
},
"-74": {
"description": "MRO - Mars Reconnaissance Orbiter",
"kernels": [
"https://naif.jpl.nasa.gov/pub/naif/MRO/kernels/spk/mro_psp.bsp"
]
},
"-202": {
"description": "MVN - MAVEN - Mars Atmosphere and Volatile Evolution",
"kernels": [
"https://naif.jpl.nasa.gov/pub/naif/MAVEN/kernels/spk/maven_orb.bsp"
]
},
"-53": {
"description": "ODY - 2001 Mars Odyssey",
"kernels": [
"https://naif.jpl.nasa.gov/pub/naif/M01/kernels/spk/m01_map.bsp"
]
},
"-143": {
"description": "TGO - ExoMars Trace Gas Orbiter",
"kernels": [
{
"url": "https://naif.jpl.nasa.gov/pub/naif/EXOMARS2016/kernels/mk/em16_ops.tm",
"mkRoot": "https://naif.jpl.nasa.gov/pub/naif/EXOMARS2016/kernels",
"mkRegex": ".*/spk/em16_tgo_fsp.*_01_202[4-9].*.bsp"
}
]
}
}
}
}
}
82 changes: 82 additions & 0 deletions Missions/spice-kernels-conf.example.msl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
{
"body": {
"description": "If the MMGIS ENV 'SPICE_SCHEDULED_KERNEL_DOWNLOAD=true', then at every other midnight, MMGIS will read /Missions/spice-kernels-conf.json and re/download all the specified kernels to /spice/kernels.'body' names and 'target' names must be valid NAIF SPICE names/ids. Meta-kernels (.tm) can also be set for download by using an object instead of a string (see example below).",
"MARS": {
"description": "MARS",
"kernels": [
"https://naif.jpl.nasa.gov/pub/naif/generic_kernels/lsk/naif0012.tls",
"https://naif.jpl.nasa.gov/pub/naif/generic_kernels/pck/pck00011.tpc",
"https://naif.jpl.nasa.gov/pub/naif/generic_kernels/spk/planets/de440.bsp",
"https://naif.jpl.nasa.gov/pub/naif/MARS2020/kernels/spk/mar097s.bsp",
"https://naif.jpl.nasa.gov/pub/naif/generic_kernels/pck/mars_iau2000_v1.tpc"
],
"targets": {
"MRO": {
"description": "MRO - Mars Reconnaissance Orbiter",
"kernels": [
"https://naif.jpl.nasa.gov/pub/naif/MRO/kernels/spk/mro_psp.bsp"
]
},
"MSL": {
"description": "MSL - Mars Science Laboratory",
"kernels": [
"https://naif.jpl.nasa.gov/pub/naif/MSL/kernels/spk/msl_atls_ops120808_v1.bsp",
"https://naif.jpl.nasa.gov/pub/naif/MSL/kernels/spk/msl_ls_ops120808_iau2000_v1.bsp",
"https://naif.jpl.nasa.gov/pub/naif/MSL/kernels/sclk/MSL_76_SCLKSCET.00019.tsc",
"https://naif.jpl.nasa.gov/pub/naif/MSL/kernels/sclk/msl_lmst_ops120808_v1.tsc",
"https://naif.jpl.nasa.gov/pub/naif/MSL/kernels/fk/msl_v08.tf"
]
},
"-202": {
"description": "MVN - MAVEN - Mars Atmosphere and Volatile Evolution",
"kernels": [
"https://naif.jpl.nasa.gov/pub/naif/MAVEN/kernels/spk/maven_orb.bsp"
]
},
"-53": {
"description": "ODY - 2001 Mars Odyssey",
"kernels": [
"https://naif.jpl.nasa.gov/pub/naif/M01/kernels/spk/m01_map.bsp"
]
},
"-143": {
"description": "TGO - ExoMars Trace Gas Orbiter",
"kernels": [
{
"url": "https://naif.jpl.nasa.gov/pub/naif/EXOMARS2016/kernels/mk/em16_ops.tm",
"mkRoot": "https://naif.jpl.nasa.gov/pub/naif/EXOMARS2016/kernels",
"mkRegex": ".*/spk/em16_tgo_fsp.*.bsp"
}
]
}
}
},
"MOON": {
"description": "MOON",
"kernels": [
"https://naif.jpl.nasa.gov/pub/naif/generic_kernels/pck/pck00011.tpc",
"https://naif.jpl.nasa.gov/pub/naif/pds/data/lro-l-spice-6-v1.0/lrosp_1000/data/fk/moon_assoc_me.tf",
"https://naif.jpl.nasa.gov/pub/naif/pds/data/lro-l-spice-6-v1.0/lrosp_1000/data/fk/moon_080317.tf",
"https://naif.jpl.nasa.gov/pub/naif/pds/data/lro-l-spice-6-v1.0/lrosp_1000/data/spk/de421.bsp",
"https://naif.jpl.nasa.gov/pub/naif/pds/data/lro-l-spice-6-v1.0/lrosp_1000/data/pck/pck00010.tpc",
"https://naif.jpl.nasa.gov/pub/naif/pds/data/lro-l-spice-6-v1.0/lrosp_1000/data/pck/moon_pa_de421_1900_2050.bpc",
"https://naif.jpl.nasa.gov/pub/naif/pds/data/lro-l-spice-6-v1.0/lrosp_1000/data/lsk/naif0012.tls"
],
"targets": {
"LRO": {
"description": "LRO - Lunar Reconnaissance Orbiter",
"kernels": [
"https://naif.jpl.nasa.gov/pub/naif/pds/data/lro-l-spice-6-v1.0/lrosp_1000/data/sclk/lro_clkcor_2023354_v00.tsc",
"https://naif.jpl.nasa.gov/pub/naif/pds/data/lro-l-spice-6-v1.0/lrosp_1000/data/fk/lro_dlre_frames_2010132_v04.tf",
"https://naif.jpl.nasa.gov/pub/naif/pds/data/lro-l-spice-6-v1.0/lrosp_1000/data/fk/lro_frames_2012255_v02.tf",
{
"url": "https://naif.jpl.nasa.gov/pub/naif/pds/data/lro-l-spice-6-v1.0/lrosp_1000/extras/mk/lro_2023_v04.tm",
"mkRoot": "https://naif.jpl.nasa.gov/pub/naif/pds/data/lro-l-spice-6-v1.0/lrosp_1000/data",
"mkRegex": ".*/spk/lrorg.*.bsp"
}
]
}
}
}
}
}

0 comments on commit 455cb9e

Please sign in to comment.