From 455cb9e8dfe6d2bd8d0528bcd725c2eef253d3f8 Mon Sep 17 00:00:00 2001 From: Tariq Soliman Date: Fri, 8 Nov 2024 15:18:41 -0800 Subject: [PATCH] Add sample msl and m20 spice configs --- .gitignore | 2 +- .../spice-kernels-conf.example.mars2020.json | 55 +++++++++++++ Missions/spice-kernels-conf.example.msl.json | 82 +++++++++++++++++++ 3 files changed, 138 insertions(+), 1 deletion(-) create mode 100644 Missions/spice-kernels-conf.example.mars2020.json create mode 100644 Missions/spice-kernels-conf.example.msl.json diff --git a/.gitignore b/.gitignore index 5d45fed4..2c32c4e2 100644 --- a/.gitignore +++ b/.gitignore @@ -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/* diff --git a/Missions/spice-kernels-conf.example.mars2020.json b/Missions/spice-kernels-conf.example.mars2020.json new file mode 100644 index 00000000..085da558 --- /dev/null +++ b/Missions/spice-kernels-conf.example.mars2020.json @@ -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" + } + ] + } + } + } + } +} diff --git a/Missions/spice-kernels-conf.example.msl.json b/Missions/spice-kernels-conf.example.msl.json new file mode 100644 index 00000000..77b32ce0 --- /dev/null +++ b/Missions/spice-kernels-conf.example.msl.json @@ -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" + } + ] + } + } + } + } +}