Skip to content
Snippets Groups Projects
Unverified Commit 5965330e authored by Christine Kim's avatar Christine Kim Committed by GitHub
Browse files

Mariner10 driver and test (#547)

* Added Mariner10 driver and test

* Update sensor_name and remove spacecraft_name

* Update inst_id_lookup to return M10_spacecraft

* Added light_time_correction property and updated isd

* Update CHANGELOG.md
parent bf86bf27
No related branches found
No related tags found
No related merge requests found
Showing
with 5756 additions and 1 deletion
......@@ -35,6 +35,9 @@ release.
## [Unreleased]
### Added
- Mariner10 IsisLabelNaifSpice driver, tests, and test data [#547](https://github.com/DOI-USGS/ale/pull/547)
## [0.9.1] - 2023-06-05
### Changed
......
import spiceypy as spice
from ale.base.data_naif import NaifSpice
from ale.base.label_isis import IsisLabel
from ale.base.type_sensor import Framer
from ale.base.type_distortion import NoDistortion
from ale.base.base import Driver
class Mariner10IsisLabelNaifSpiceDriver(Framer, IsisLabel, NaifSpice, NoDistortion, Driver):
@property
def instrument_id(self):
"""
Returns the ID of the instrument
Returns
-------
: str
Name of the instrument
"""
inst_id_lookup = {
"M10_VIDICON_A": "M10_SPACECRAFT",
"M10_VIDICON_B": "M10_SPACECRAFT"
}
return inst_id_lookup[super().instrument_id]
@property
def sensor_model_version(self):
"""
The ISIS Sensor model number for HiRise in ISIS. This is likely just 1.
Returns
-------
: int
ISIS sensor model version
"""
return 1
@property
def sensor_name(self):
"""
Returns the name of the instrument
Returns
-------
: str
Name of the sensor
"""
return super().instrument_id
@property
def sensor_frame_id(self):
"""
Hard coded sensor_frame_id based on the Isis Mariner10 camera model.
Returns
-------
: int
The sensor frame id
"""
return -76000
@property
def ikid(self):
"""
Returns the ikid/frame code from the ISIS label.
Returns
-------
: int
Naif ID used to for identifying the instrument in Spice kernels
"""
return self.label['IsisCube']['Kernels']['NaifFrameCode']
@property
def ephemeris_start_time(self):
"""
Returns the start ephemeris time for the image.
Returns
-------
: float
start time
"""
return spice.str2et(self.utc_start_time.strftime("%Y-%m-%d %H:%M:%S.%f")) - (self.exposure_duration / 2.0)
@property
def light_time_correction(self):
"""
Returns the type of light time correction and abberation correction to
use in NAIF calls.
Returns
-------
: str
The light time and abberation correction string for use in NAIF calls.
See https://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/req/abcorr.html
for the different options available.
"""
return 'NONE'
\ No newline at end of file
{
"isis_camera_version": 1,
"image_lines": 700,
"image_samples": 832,
"name_platform": "Mariner_10",
"name_sensor": "M10_VIDICON_A",
"reference_height": {
"maxheight": 1000,
"minheight": -1000,
"unit": "m"
},
"name_model": "USGS_ASTRO_FRAME_SENSOR_MODEL",
"center_ephemeris_time": -812916168.4183488,
"radii": {
"semimajor": 2439.7,
"semiminor": 2439.7,
"unit": "km"
},
"body_rotation": {
"time_dependent_frames": [
10011,
1
],
"ck_table_start_time": -812916168.4183488,
"ck_table_end_time": -812916168.4183488,
"ck_table_original_size": 1,
"ephemeris_times": [
-812916168.4183488
],
"quaternions": [
[
-0.041589464253201175,
-0.036695469453297484,
0.24381936260450102,
-0.9682333796166442
]
],
"angular_velocities": [
[
1.1326300442450132e-07,
-5.816846505242454e-07,
1.0892405863919202e-06
]
],
"reference_frame": 1
},
"instrument_pointing": {
"time_dependent_frames": [
-76000,
1
],
"ck_table_start_time": -812916168.4183488,
"ck_table_end_time": -812916168.4183488,
"ck_table_original_size": 1,
"ephemeris_times": [
-812916168.4183488
],
"quaternions": [
[
-0.4151219005736828,
0.5204702103512857,
0.2881986100016333,
0.6882776539988121
]
],
"angular_velocities": [
[
-0.0,
-0.0,
-0.0
]
],
"reference_frame": 1,
"constant_frames": [
-76000
],
"constant_rotation": [
1.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
1.0
]
},
"naif_keywords": {
"BODY199_RADII": [
2439.7,
2439.7,
2439.7
],
"BODY_FRAME_CODE": 10011,
"BODY_CODE": 199,
"INS-76110_FOCAL_LENGTH": 1493.6,
"INS-76110_BORESIGHT_LINE": 400.0,
"INS-76110_CK_FRAME_ID": -76000.0,
"INS-76110_ITRANSL": [
0.0,
0.0,
75.0
],
"INS-76110_ITRANSS": [
0.0,
75.0,
0.0
],
"INS-76110_CK_REFERENCE_ID": 1.0,
"FRAME_-76110_CLASS": 3.0,
"INS-76110_CK_TIME_TOLERANCE": 1.0,
"CK_-76110_SPK": -76.0,
"INS-76110_PLATFORM_ID": -76.0,
"FRAME_-76110_CENTER": -76.0,
"FRAME_-76110_NAME": "VIDICON_A",
"FRAME_-76110_CLASS_ID": -76110.0,
"INS-76110_CK_TIME_BIAS": 0.0,
"INS-76110_BORESIGHT_SAMPLE": 475.0,
"CK_-76110_SCLK": -76.0,
"INS-76110_PIXEL_PITCH": 0.013333333,
"INS-76110_SPK_TIME_BIAS": 0.0,
"INS-76110_TRANSX": [
0.0,
0.013333333,
0.0
],
"INS-76110_TRANSY": [
0.0,
0.0,
0.013333333
],
"BODY199_PM": [
329.548,
6.1385025,
0.0
],
"BODY199_POLE_RA": [
281.01,
-0.033,
0.0
],
"BODY199_LONG_AXIS": 0.0,
"BODY199_POLE_DEC": [
61.45,
-0.005,
0.0
]
},
"detector_sample_summing": 1,
"detector_line_summing": 1,
"focal_length_model": {
"focal_length": 1493.6
},
"detector_center": {
"line": 400.0,
"sample": 475.0
},
"focal2pixel_lines": [
0.0,
0.0,
75.0
],
"focal2pixel_samples": [
0.0,
75.0,
0.0
],
"optical_distortion": {
"radial": {
"coefficients": [
0.0,
0.0,
0.0
]
}
},
"starting_detector_line": 0,
"starting_detector_sample": 0,
"instrument_position": {
"spk_table_start_time": -812916168.4183488,
"spk_table_end_time": -812916168.4183488,
"spk_table_original_size": 1,
"ephemeris_times": [
-812916168.4183488
],
"positions": [
[
-102988.65244940185,
3813.6761044064274,
-31476.7258130999
]
],
"velocities": [
[
10.073083917183162,
-0.6608509235485678,
2.9052260072869664
]
],
"reference_frame": 1
},
"sun_position": {
"spk_table_start_time": -812916168.4183488,
"spk_table_end_time": -812916168.4183488,
"spk_table_original_size": 1,
"ephemeris_times": [
-812916168.4183488
],
"positions": [
[
6487626.304499695,
61459556.251802824,
32153267.064496163
]
],
"velocities": [
[
-38.73233838516926,
0.39826024551668027,
4.232611805855759
]
],
"reference_frame": 1
}
}
\ No newline at end of file
LEAPSECONDS_KERNEL = /isis_data/base/kernels/lsk/naif0012.tls
SPK_KERNEL = /testdata/mariner10-driver/generated-kernels/27265.isis_0.bsp
BODIES = 0, 1, 199, 10, -76
BEGIN_TIME = 1974 MAR 29 17:50:22.619
END_TIME = 1974 MAR 29 17:58:37.796
SOURCE_SPK_KERNEL = /isis_data/mariner10/kernels/spk/MARINER_10_A_gem.bsp
INCLUDE_COMMENTS = no
SOURCE_SPK_KERNEL = /isis_data/base/kernels/spk/de430.bsp
INCLUDE_COMMENTS = no
DAFETF NAIF DAF ENCODED TRANSFER FILE
'DAF/SPK '
'2'
'6'
'SPKMERGE '
BEGIN_ARRAY 1 114
'MERCURY Mariner 10 Type 9 Segment '
'-30741F34320262^8'
'-30741D4504B282^8'
'-4C'
'C7'
'1'
'9'
114
'-1AFFA^5'
'10DA^4'
'-8386^4'
'A13D32B6076A^1'
'-B3CF831952833^0'
'2E30D511378058^1'
'-1ACAC^5'
'109F^4'
'-8293^4'
'A124D124810218^1'
'-B3CF83172E83D8^0'
'2E30D510AABA8C^1'
'-1A95E^5'
'1064^4'
'-81A1^4'
'A124D124810218^1'
'-B2496A1D7E646^0'
'2E30D510AABA8C^1'
'-1A61^5'
'102A^4'
'-80AE^4'
'A0F40E07358528^1'
'-96DBA890E7F04^0'
'2F24A4AD487B14^1'
'-1A2C4^5'
'1001^4'
'-7FB2^4'
'A10C6F96D0D17^1'
'-96DBA890E7F04^0'
'2F24A4AD487B14^1'
'-19F75^5'
'FC7^3'
'-7EBF^4'
'A124D124810218^1'
'-AF3D382A1E256^0'
'2E4936A045BC84^1'
'-19C28^5'
'F8E^3'
'-7DCC^4'
'A10C6F94E6002^1'
'-ADB71F306E05E8^0'
'2E61982FE0BE7C^1'
'-198DA^5'
'F55^3'
'-7CD8^4'
'A124D1266C1DB8^1'
'-AC310638CAAD6^0'
'2E79F9C009652A^1'
'-1958C^5'
'F1D^3'
'-7BE4^4'
'A13D32B6076A^1'
'-AAAAED3F15E9^0'
'2E79F9C009652A^1'
'-1923D^5'
'EE5^3'
'-7AF^4'
'A124D1266C1DB8^1'
'-A924D4456124A^0'
'2E79F9C009652A^1'
'-18EF^5'
'EAE^3'
'-79FC^4'
'A10C6F96D0D17^1'
'-A79EBB4BAC6048^0'
'2E925B4FA4B17^1'
'-18BA2^5'
'E77^3'
'-7907^4'
'A124D124810218^1'
'-A79EBB49AD87F^0'
'2EAABCDEB1C464^1'
'-18854^5'
'E4^3'
'-7812^4'
'A19EF7FF8F5D48^1'
'-9861FCFB35DBF^0'
'2D3D171A93FD4C^1'
'-18501^5'
'E13^3'
'-772C^4'
'A19EB8F4749B18^1'
'-96DBA890E7F04^0'
'2D3D057526859E^1'
'-181B3^5'
'DDD^3'
'-7637^4'
'A10C6F94E6002^1'
'-A30C705C9D2978^0'
'2EC31E6E4CC65C^1'
'-17E66^5'
'DA8^3'
'-7541^4'
'A0F44CCDD327D^1'
'-A18696648522D^0'
'2EC330ABE4BB6E^1'
'-307420BC70BAB4^8'
'-3074206870BAB4^8'
'-3074201470FC3C^8'
'-30741FC070FC3C^8'
'-30741F6C713DC6^8'
'-30741F18713DC6^8'
'-30741EC4717F4E^8'
'-30741E70717F4E^8'
'-30741E1C71C0D8^8'
'-30741DC871C0D8^8'
'-30741D74720262^8'
'-30741D20720262^8'
'-30741CCC7243EA^8'
'-30741C78728574^8'
'-30741C24728574^8'
'-30741BD072C6FC^8'
'9^1'
'1^2'
END_ARRAY 1 114
BEGIN_ARRAY 2 12
'DE-0430LE-0430 '
'-30741F34320262^8'
'-30741D4504B282^8'
'C7'
'1'
'1'
'2'
12
'BC26EB4^8'
'40A952^9'
'0^0'
'0^0'
'0^0'
'0^0'
'0^0'
'0^0'
'-34E6E34C^9'
'8152A4^9'
'8^1'
'1^1'
END_ARRAY 2 12
BEGIN_ARRAY 3 39
'DE-0430LE-0430 '
'-30741F34320262^8'
'-30741D4504B282^8'
'A'
'0'
'1'
'2'
39
'-3073C8C^8'
'A8C^5'
'-5D6A0CF44390D4^5'
'-A6DD7F1A90B498^3'
'12469F3F7188A9^2'
'2AC5140278C45C^0'
'DAF52BA8A548A^-2'
'5B1C3483EE11D4^-4'
'63EFA9BD78B998^-5'
'-B9A6DFD745657^-6'
'-1D935EAB739EA9^-6'
'-95CF581237AC38^-7'
'-5F62665051FF7^-8'
'3861112528D1D2^5'
'-1A06692BBCF8A3^4'
'-D5C719BAE45498^1'
'-138314BC278A72^0'
'E4AA78BCB10BA8^-2'
'44FEBB5BE03BF8^-3'
'5677D29BC4FF98^-4'
'28E4F8C18DCE04^-5'
'73791785EA7A1^-6'
'254E5C68B9055^-7'
'285B00B1CFBE64^-8'
'1B10241CBD5499^5'
'-B0CD284C109A48^3'
'-644BD2CEB8AFF^1'
'-B806F8CA37FFF8^-1'
'5EED6CFB12CFD^-2'
'1C997EC2F95C01^-3'
'2E9B73D3166A2E^-4'
'1783966EC0B42E^-5'
'40AF415ADBA9FC^-6'
'232407A332E4AE^-7'
'1DDEEEB11205CE^-8'
'-307E54C^8'
'1518^6'
'23^2'
'1^1'
END_ARRAY 3 39
BEGIN_ARRAY 4 48
'DE-0430LE-0430 '
'-30741F34320262^8'
'-30741D4504B282^8'
'1'
'0'
'1'
'2'
48
'-30790EC^8'
'546^5'
'-12165EE209BF8^7'
'C29F0AC9A1CC9^6'
'357A3132A9B00E^5'
'-62B09CE51E23C4^4'
'-2327BB56D34A8C^2'
'-C1042A52C8CE4^1'
'-263F132CA2DB5A^0'
'DE44C2F497DAF^-2'
'-FA0F6AD93D7CD^-3'
'15DCFEF2AF5A03^-3'
'-40B508CBED69C8^-5'
'8BB9F3BA175678^-6'
'24049C434442E6^-7'
'14104B18D72055^-7'
'-38676C119AD704^7'
'-2A98109765E1F2^6'
'AAB2C47C24256^5'
'11E311A80D1BF3^4'
'-111981AB8ADBBF^3'
'3B4C616D8B6292^1'
'-8C690CDD2B36F8^0'
'7D904C06291528^-2'
'-23CB3CACAA128C^-2'
'-24D69A9B45F1A6^-4'
'-2C4448D291C18^-5'
'-2640B3E911650C^-6'
'36D39E0F1F99B2^-7'
'-150DD955CC0BF5^-7'
'-1C4C924E81052A^7'
'-2AF22235DE6D18^6'
'559F72F42E08B^5'
'13CBE5ACEFC80D^4'
'-8E7BB3C71C0FE^2'
'33B473BD99DB96^1'
'-4706B9224E36F^0'
'2BFEF734D2026^-2'
'-117EF2B9839FDD^-2'
'-37FD5EA2E4B25A^-4'
'-10E4B92E12B58A^-5'
'-22A5531BB879CA^-6'
'11D64A86F054C^-7'
'-E09D5225E35338^-9'
'-307E54C^8'
'A8C^5'
'2C^2'
'1^1'
END_ARRAY 4 48
TOTAL_ARRAYS 4
~NAIF/SPC BEGIN COMMENTS~
; /testdata/mariner10-driver/generated-kernels/27265.isis_0.bsp LOG FILE
; Created 2023-06-12/12:16:35.00.
;
; BEGIN SPKMERGE COMMANDS
LEAPSECONDS_KERNEL = /isis_data/base/kernels/lsk/naif0012.tls
SPK_KERNEL = /testdata/mariner10-driver/generated-kernels/27265.isis_0.bsp
SOURCE_SPK_KERNEL = /isis_data/mariner10/kernels/spk/MARINER_10_A_gem.bsp
INCLUDE_COMMENTS = NO
BODIES = -76
BEGIN_TIME = 1974 MAR 29 17:50:22.619
END_TIME = 1974 MAR 29 17:58:37.796
SOURCE_SPK_KERNEL = /isis_data/base/kernels/spk/de430.bsp
INCLUDE_COMMENTS = NO
BODIES = 1, 199, 10
BEGIN_TIME = 1974 MAR 29 17:50:22.619
END_TIME = 1974 MAR 29 17:58:37.796
; END SPKMERGE COMMANDS
~NAIF/SPC END COMMENTS~
Object = IsisCube
Object = Core
StartByte = 65537
Format = Tile
TileSamples = 128
TileLines = 128
Group = Dimensions
Samples = 832
Lines = 700
Bands = 1
End_Group
Group = Pixels
Type = UnsignedByte
ByteOrder = Lsb
Base = 0.0
Multiplier = 1.0
End_Group
End_Object
Group = Instrument
SpacecraftName = Mariner_10
InstrumentId = M10_VIDICON_A
TargetName = Mercury
StartTime = 1974-03-29T17:56:26.396
ExposureDuration = 22.799999 <milliseconds>
End_Group
Group = Archive
GMT = 1974:088:18:04:52
ImageNumber = 27265
Encounter = Mercury_1
End_Group
Group = BandBin
FilterName = CLEAR
FilterNumber = 5
OriginalBand = 1
Center = 0.487 <micrometers>
End_Group
Group = Kernels
NaifFrameCode = -76110
LeapSecond = $base/kernels/lsk/naif0009.tls
TargetAttitudeShape = $base/kernels/pck/pck00009.tpc
TargetPosition = (Table, $base/kernels/spk/de405.bsp)
InstrumentPointing = (Table,
$mariner10/kernels/ck/MARINER_10_A_gem.bc,
$mariner10/kernels/fk/mariner10.0001.tf)
Instrument = Null
SpacecraftClock = $mariner10/kernels/sclk/mariner10.0001.tsc
InstrumentPosition = (Table,
$mariner10/kernels/spk/MARINER_10_A_gem.bsp)
InstrumentAddendum = $mariner10/kernels/iak/mariner10Addendum002.ti
ShapeModel = Null
InstrumentPositionQuality = Reconstructed
InstrumentPointingQuality = Reconstructed
CameraVersion = 1
End_Group
Group = Reseaus
Line = (24.0, 18.6, 12.6, 11.2, 12.0, 13.2, 14.8, 19.0, 22.0, 101.6,
97.2, 93.4, 93.8, 95.4, 96.2, 98.0, 100.2, 102.0, 222.6, 221.4,
220.4, 221.0, 222.6, 224.6, 226.0, 227.0, 228.2, 347.0, 346.8,
346.8, 348.2, 349.6, 351.2, 353.0, 353.6, 353.6, 472.2, 472.8,
473.8, 475.0, 476.0, 478.2, 479.2, 479.0, 479.4, 598.4, 599.2,
601.6, 602.8, 604.0, 605.2, 606.2, 605.4, 604.4, 678.4, 681.0,
684.8, 687.2, 688.0, 689.2, 689.0, 686.4, 683.8, 61.0, 54.0,
50.6, 50.6, 52.4, 53.6, 55.8, 60.0, 159.2, 155.6, 155.4, 156.8,
158.2, 159.4, 161.0, 162.8, 283.8, 282.6, 283.2, 284.4, 287.0,
287.8, 289.0, 292.0, 410.8, 410.6, 411.4, 412.8, 414.4, 416.2,
417.6, 418.0, 536.6, 538.6, 539.8, 541.0, 542.2, 544.0, 544.2,
543.0, 639.8, 643.8, 645.8, 647.0, 648.2, 649.2, 649.0, 642.6)
Sample = (26.4, 69.2, 182.6, 301.0, 420.4, 539.2, 657.2, 770.4, 815.0,
19.0, 65.8, 180.8, 300.2, 419.6, 539.0, 657.6, 772.8, 819.0,
15.0, 61.8, 178.8, 298.0, 418.4, 538.0, 656.8, 774.0, 821.2,
12.0, 59.8, 176.8, 296.6, 416.0, 535.6, 655.0, 772.8, 821.0,
12.0, 58.8, 175.2, 294.2, 413.8, 532.8, 653.2, 771.0, 819.4,
14.4, 59.4, 173.8, 292.2, 411.8, 531.8, 651.2, 768.8, 816.0,
20.2, 62.0, 174.2, 291.6, 410.8, 530.0, 649.6, 767.0, 814.2,
23.4, 123.0, 240.6, 360.4, 479.6, 598.8, 715.8, 817.2, 17.2,
121.4, 239.2, 359.4, 479.0, 597.8, 716.2, 820.6, 13.4, 118.6,
237.6, 357.2, 477.4, 596.4, 715.0, 820.2, 11.6, 116.8, 235.8,
355.0, 475.4, 594.6, 713.6, 820.6, 13.0, 115.8, 233.4, 352.4,
472.8, 592.4, 712.0, 818.8, 16.8, 116.2, 232.6, 351.8, 471.2,
591.6, 709.8, 816.8)
Type = (4, 5, 5, 5, 5, 5, 5, 5, 6, 4, 5, 5, 5, 5, 5, 5, 5, 6, 4, 5, 5,
5, 5, 5, 5, 5, 6, 4, 5, 5, 5, 5, 5, 5, 5, 6, 4, 5, 5, 5, 5, 5,
5, 5, 6, 4, 5, 5, 5, 5, 5, 5, 5, 6, 4, 5, 5, 5, 5, 5, 5, 5, 6,
4, 5, 5, 5, 5, 5, 5, 6, 4, 5, 5, 5, 5, 5, 5, 6, 4, 5, 5, 5, 5,
5, 5, 6, 4, 5, 5, 5, 5, 5, 5, 6, 4, 5, 5, 5, 5, 5, 5, 6, 4, 5,
5, 5, 5, 5, 5, 6)
Valid = (1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1,
0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1,
0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0,
1, 1, 1, 1, 0, 1)
Template = $mariner10/reseaus/mar10a.template.cub
Status = Refined
End_Group
End_Object
Object = Label
Bytes = 65536
End_Object
Object = Table
Name = InstrumentPointing
StartByte = 770724
Bytes = 64
Records = 1
ByteOrder = Lsb
TimeDependentFrames = (-76000, 1)
CkTableStartTime = -812916168.41835
CkTableEndTime = -812916168.41835
CkTableOriginalSize = 1
Description = "Created by spiceinit"
Kernels = ($mariner10/kernels/ck/MARINER_10_A_gem.bc,
$mariner10/kernels/fk/mariner10.0001.tf)
Group = Field
Name = J2000Q0
Type = Double
Size = 1
End_Group
Group = Field
Name = J2000Q1
Type = Double
Size = 1
End_Group
Group = Field
Name = J2000Q2
Type = Double
Size = 1
End_Group
Group = Field
Name = J2000Q3
Type = Double
Size = 1
End_Group
Group = Field
Name = AV1
Type = Double
Size = 1
End_Group
Group = Field
Name = AV2
Type = Double
Size = 1
End_Group
Group = Field
Name = AV3
Type = Double
Size = 1
End_Group
Group = Field
Name = ET
Type = Double
Size = 1
End_Group
End_Object
Object = Table
Name = InstrumentPosition
StartByte = 770788
Bytes = 56
Records = 1
ByteOrder = Lsb
CacheType = Linear
SpkTableStartTime = -812916168.41835
SpkTableEndTime = -812916168.41835
SpkTableOriginalSize = 1.0
Description = "Created by spiceinit"
Kernels = $mariner10/kernels/spk/MARINER_10_A_gem.bsp
Group = Field
Name = J2000X
Type = Double
Size = 1
End_Group
Group = Field
Name = J2000Y
Type = Double
Size = 1
End_Group
Group = Field
Name = J2000Z
Type = Double
Size = 1
End_Group
Group = Field
Name = J2000XV
Type = Double
Size = 1
End_Group
Group = Field
Name = J2000YV
Type = Double
Size = 1
End_Group
Group = Field
Name = J2000ZV
Type = Double
Size = 1
End_Group
Group = Field
Name = ET
Type = Double
Size = 1
End_Group
End_Object
Object = Table
Name = BodyRotation
StartByte = 770844
Bytes = 64
Records = 1
ByteOrder = Lsb
TimeDependentFrames = (10011, 1)
CkTableStartTime = -812916168.41835
CkTableEndTime = -812916168.41835
CkTableOriginalSize = 1
Description = "Created by spiceinit"
Kernels = ($base/kernels/spk/de405.bsp,
$base/kernels/pck/pck00009.tpc)
SolarLongitude = 153.10811993588
Group = Field
Name = J2000Q0
Type = Double
Size = 1
End_Group
Group = Field
Name = J2000Q1
Type = Double
Size = 1
End_Group
Group = Field
Name = J2000Q2
Type = Double
Size = 1
End_Group
Group = Field
Name = J2000Q3
Type = Double
Size = 1
End_Group
Group = Field
Name = AV1
Type = Double
Size = 1
End_Group
Group = Field
Name = AV2
Type = Double
Size = 1
End_Group
Group = Field
Name = AV3
Type = Double
Size = 1
End_Group
Group = Field
Name = ET
Type = Double
Size = 1
End_Group
End_Object
Object = Table
Name = SunPosition
StartByte = 770908
Bytes = 56
Records = 1
ByteOrder = Lsb
CacheType = Linear
SpkTableStartTime = -812916168.41835
SpkTableEndTime = -812916168.41835
SpkTableOriginalSize = 1.0
Description = "Created by spiceinit"
Kernels = $base/kernels/spk/de405.bsp
Group = Field
Name = J2000X
Type = Double
Size = 1
End_Group
Group = Field
Name = J2000Y
Type = Double
Size = 1
End_Group
Group = Field
Name = J2000Z
Type = Double
Size = 1
End_Group
Group = Field
Name = J2000XV
Type = Double
Size = 1
End_Group
Group = Field
Name = J2000YV
Type = Double
Size = 1
End_Group
Group = Field
Name = J2000ZV
Type = Double
Size = 1
End_Group
Group = Field
Name = ET
Type = Double
Size = 1
End_Group
End_Object
Object = History
Name = IsisCube
StartByte = 770964
Bytes = 1832
End_Object
Object = OriginalLabel
Name = IsisCube
StartByte = 754145
Bytes = 15431
End_Object
Object = NaifKeywords
BODY199_RADII = (2439.7, 2439.7, 2439.7)
INS-76110_FOCAL_LENGTH = 1493.6
INS-76110_PIXEL_PITCH = 0.013333333
INS-76110_TRANSX = (0.0, 0.013333333, 0.0)
INS-76110_TRANSY = (0.0, 0.0, 0.013333333)
INS-76110_ITRANSS = (0.0, 75.0, 0.0)
INS-76110_ITRANSL = (0.0, 0.0, 75.0)
INS-76110_BORESIGHT_SAMPLE = 475.0
INS-76110_BORESIGHT_LINE = 400.0
End_Object
End
This CK is for testing with the image: /testdata/mariner10-driver/27265.isis.cub
This CK was generated using the following command: {}
ckslicer -LSK /isis_data/base/kernels/lsk/naif0012.tls -SCLK /isis_data/mariner10/kernels/sclk/mariner10.0001.tsc -INPUTCK /isis_data/mariner10/kernels/ck/MARINER_10_A_gem.bc -OUTPUTCK /testdata/mariner10-driver/generated-kernels/MARINER_10_A_gem_0_sliced_-76000.bc -ID -76000 -TIMETYPE SCLK -START 1/012678626:623 -STOP 1/012679121:800
\ No newline at end of file
DAFETF NAIF DAF ENCODED TRANSFER FILE
'DAF/CK '
'2'
'6'
' '
BEGIN_ARRAY 1 60
'MERCURY Mariner 10 Type 1 Segment '
'2F3B47D3F^9'
'2F3BC0B88^9'
'-128E0'
'1'
'2'
'1'
60
'6A5828C1CBEB9C^0'
'-85515878EE5AD^0'
'-49C011373DCB48^0'
'-B01BBC800CC688^0'
'0^0'
'0^0'
'0^0'
'1^1'
'6A53AA2A6BD248^0'
'-854BFC7F39CAB8^0'
'-49C228A608187^0'
'-B021A16E46EB68^0'
'0^0'
'0^0'
'0^0'
'1^1'
'6A4EFE4035D2B^0'
'-85475BCBDBF4B^0'
'-49C3E05847ADF8^0'
'-B0273B9D09D93^0'
'0^0'
'0^0'
'0^0'
'1^1'
'6A49ED4C2083FC^0'
'-854290DE366F88^0'
'-49C5E40D93FDC4^0'
'-B02D126CFA8818^0'
'0^0'
'0^0'
'0^0'
'1^1'
'6A456DCAD13C98^0'
'-853D8924004268^0'
'-49C76254B5AD2C^0'
'-B032F6DE7E1488^0'
'0^0'
'0^0'
'0^0'
'1^1'
'6A405C38F9575C^0'
'-8538BE20E99C2^0'
'-49C96597AAB68C^0'
'-B038CD551426C^0'
'0^0'
'0^0'
'0^0'
'1^1'
'2F3B4E7B3A6AFE^9'
'2F3B62FD2A6B4A^9'
'2F3B777F2A6B4A^9'
'2F3B8C011A6B1A^9'
'2F3BA0831A6B1A^9'
'2F3BB5050A6AE8^9'
'2F3B4EB9BA6AFE^9'
'2F3B633BAA6B4A^9'
'2F3B77BDAA6B4A^9'
'2F3B8C3F9A6B1A^9'
'2F3BA0C19A6B1A^9'
'2F3BB5438A6AE8^9'
END_ARRAY 1 60
TOTAL_ARRAYS 1
~NAIF/SPC BEGIN COMMENTS~
This CK is for testing with the image: /testdata/mariner10-driver/27265.isis.cub
This CK was generated using the following command: {}
~NAIF/SPC END COMMENTS~
KPL/FK
MARINER 10 NAIF Name/ID Definitions Kernel
===============================================================================
This text kernel contains name-to-NAIF ID mappings for MARINER 10
(M10) mission.
Version and Date
--------------------------------------------------------
Version 1.0 -- June 4, 2008 -- Boris Semenov, NAIF
References
--------------------------------------------------------
1. ``SP-424 The Voyage of Mariner 10'',
http://history.nasa.gov/SP-424/sp424.htm
M10 NAIF Name-ID Mappings
--------------------------------------------------------
This section contains name to NAIF ID mappings for the M10 mission.
Once the contents of this file is loaded into the KERNEL POOL, these
mappings become available within SPICE, making it possible to use
names instead of ID code in the high level SPICE routine calls.
The tables below summarize the mappings; the actual definitions are
provided after the last summary table.
Spacecraft and Spacecraft Bus
-----------------------------
MARINER-10 -76
MARINER 10 -76
MARINER10 -76
M10 -76
M10_SC_BUS -76000
M10_SPACECRAFT -76000
Instruments and Sensors Mounted on Spacecraft Bus
-------------------------------------------------
M10_IR -76010
M10_PLASMA_SEA -76021
M10_PLASMA_SES -76022
M10_CPT_MAIN -76041
M10_CPT_LOW_ENERGY -76042
M10_EUV_OCCULTATION -76051
M10_SUN_SENSOR -76060
M10_STAR_TRACKER -76070
Scan Platform
-------------
M10_SCAN_PLATFORM -76100
Instruments Mounted on Scan Platform
------------------------------------
M10_VIDICON_A -76110
M10_VIDICON_B -76120
M10_EUV_AIRGLOW -76152
Magnetometer Boom and Sensors
-----------------------------
M10_MAG_BOOM -76200
M10_MAG_INBOARD -76211
M10_MAG_OUTBOARD -76212
Solar Arrays
------------
M10_SA+X -76310
M10_SA-X -76320
High Gain Antenna
-----------------
M10_HGA -76400
Low Gain Antenna
----------------
M10_LGA -76500
The keywords below implement M10 name-ID mappings summarized above.
\begindata
NAIF_BODY_NAME += ( 'MARINER-10' )
NAIF_BODY_CODE += ( -76 )
NAIF_BODY_NAME += ( 'MARINER 10' )
NAIF_BODY_CODE += ( -76 )
NAIF_BODY_NAME += ( 'MARINER10' )
NAIF_BODY_CODE += ( -76 )
NAIF_BODY_NAME += ( 'M-10' )
NAIF_BODY_CODE += ( -76 )
NAIF_BODY_NAME += ( 'M10' )
NAIF_BODY_CODE += ( -76 )
NAIF_BODY_NAME += ( 'M10_SC_BUS' )
NAIF_BODY_CODE += ( -76000 )
NAIF_BODY_NAME += ( 'M10_SPACECRAFT' )
NAIF_BODY_CODE += ( -76000 )
NAIF_BODY_NAME += ( 'M10_IR' )
NAIF_BODY_CODE += ( -76010 )
NAIF_BODY_NAME += ( 'M10_PLASMA_SEA' )
NAIF_BODY_CODE += ( -76021 )
NAIF_BODY_NAME += ( 'M10_PLASMA_SES' )
NAIF_BODY_CODE += ( -76022 )
NAIF_BODY_NAME += ( 'M10_CPT_MAIN' )
NAIF_BODY_CODE += ( -76041 )
NAIF_BODY_NAME += ( 'M10_CPT_LOW_ENERGY' )
NAIF_BODY_CODE += ( -76042 )
NAIF_BODY_NAME += ( 'M10_EUV_OCCULTATION' )
NAIF_BODY_CODE += ( -76051 )
NAIF_BODY_NAME += ( 'M10_SUN_SENSOR' )
NAIF_BODY_CODE += ( -76060 )
NAIF_BODY_NAME += ( 'M10_STAR_TRACKER' )
NAIF_BODY_CODE += ( -76070 )
NAIF_BODY_NAME += ( 'M10_SCAN_PLATFORM' )
NAIF_BODY_CODE += ( -76100 )
NAIF_BODY_NAME += ( 'M10_VIDICON_A' )
NAIF_BODY_CODE += ( -76110 )
NAIF_BODY_NAME += ( 'M10_VIDICON_B' )
NAIF_BODY_CODE += ( -76120 )
NAIF_BODY_NAME += ( 'M10_EUV_AIRGLOW' )
NAIF_BODY_CODE += ( -76152 )
NAIF_BODY_NAME += ( 'M10_MAG_BOOM' )
NAIF_BODY_CODE += ( -76200 )
NAIF_BODY_NAME += ( 'M10_MAG_INBOARD' )
NAIF_BODY_CODE += ( -76211 )
NAIF_BODY_NAME += ( 'M10_MAG_OUTBOARD' )
NAIF_BODY_CODE += ( -76212 )
NAIF_BODY_NAME += ( 'M10_SA+X' )
NAIF_BODY_CODE += ( -76310 )
NAIF_BODY_NAME += ( 'M10_SA-X' )
NAIF_BODY_CODE += ( -76320 )
NAIF_BODY_NAME += ( 'M10_HGA' )
NAIF_BODY_CODE += ( -76400 )
NAIF_BODY_NAME += ( 'M10_LGA' )
NAIF_BODY_CODE += ( -76500 )
\begintext
KPL/FK
MARINER 10 NAIF Name/ID Definitions Kernel
===============================================================================
This text kernel contains name-to-NAIF ID mappings for MARINER 10
(M10) mission.
Version and Date
--------------------------------------------------------
Version 1.0 -- June 4, 2008 -- Boris Semenov, NAIF
References
--------------------------------------------------------
1. ``SP-424 The Voyage of Mariner 10'',
http://history.nasa.gov/SP-424/sp424.htm
M10 NAIF Name-ID Mappings
--------------------------------------------------------
This section contains name to NAIF ID mappings for the M10 mission.
Once the contents of this file is loaded into the KERNEL POOL, these
mappings become available within SPICE, making it possible to use
names instead of ID code in the high level SPICE routine calls.
The tables below summarize the mappings; the actual definitions are
provided after the last summary table.
Spacecraft and Spacecraft Bus
-----------------------------
MARINER-10 -76
MARINER 10 -76
MARINER_10 -76
MARINER10 -76
M10 -76
M10_SC_BUS -76000
M10_SPACECRAFT_BUS -76000
M10_SPACECRAFT -76000
M10_INSTRUMENT_PLATFORM -76000
M10_PLATFORM -76000
Instruments and Sensors Mounted on Spacecraft Bus
-------------------------------------------------
M10_IR -76010
M10_PLASMA_SEA -76021
M10_PLASMA_SES -76022
M10_CPT_MAIN -76041
M10_CPT_LOW_ENERGY -76042
M10_EUV_OCCULTATION -76051
M10_SUN_SENSOR -76060
M10_STAR_TRACKER -76070
Scan Platform
-------------
M10_SCAN_PLATFORM -76100
Instruments Mounted on Scan Platform
------------------------------------
M10_VIDICON_A -76110
A -76110
M10_VIDICON_B -76120
B -76120
M10_EUV_AIRGLOW -76152
Magnetometer Boom and Sensors
-----------------------------
M10_MAG_BOOM -76200
M10_MAG_INBOARD -76211
M10_MAG_OUTBOARD -76212
Solar Arrays
------------
M10_SA+X -76310
M10_SA-X -76320
High Gain Antenna
-----------------
M10_HGA -76400
Low Gain Antenna
----------------
M10_LGA -76500
Spacecraft Bus Frame
-------------------------------------------------------------------------------
\begindata
FRAME_M10_SPACECRAFT = -76000
FRAME_-76000_NAME = 'M10_SPACECRAFT'
FRAME_-76000_CLASS = 3
FRAME_-76000_CLASS_ID = -76000
FRAME_-76000_CENTER = -76
CK_-76000_SCLK = -76
CK_-76000_SPK = -76
\begintext
Metric Frames
-------------------------------------------------------------------------------
\begindata
FRAME_VIDICON_A = -76110
FRAME_-76110_NAME = 'VIDICON_A'
FRAME_-76110_CLASS = 3
FRAME_-76110_CLASS_ID = -76110
FRAME_-76110_CENTER = -76
CK_-76110_SCLK = -76
CK_-76110_SPK = -76
FRAME_VIDICON_B = -76120
FRAME_-76120_NAME = 'VIDICON_B'
FRAME_-76120_CLASS = 3
FRAME_-76120_CLASS_ID = -76120
FRAME_-76120_CENTER = -76
CK_-76120_SCLK = -76
CK_-76120_SPK = -76
\begintext
The keywords below implement M10 name-ID mappings summarized above.
\begindata
NAIF_BODY_NAME += ( 'MARINER-10' )
NAIF_BODY_CODE += ( -76 )
NAIF_BODY_NAME += ( 'MARINER 10' )
NAIF_BODY_CODE += ( -76 )
NAIF_BODY_NAME += ( 'MARINER10' )
NAIF_BODY_CODE += ( -76 )
NAIF_BODY_NAME += ( 'M-10' )
NAIF_BODY_CODE += ( -76 )
NAIF_BODY_NAME += ( 'M10' )
NAIF_BODY_CODE += ( -76 )
NAIF_BODY_NAME += ( 'M10_SC_BUS' )
NAIF_BODY_CODE += ( -76000 )
NAIF_BODY_NAME += ( 'M10_SPACECRAFT_BUS' )
NAIF_BODY_CODE += ( -76000 )
NAIF_BODY_NAME += ( 'M10_SPACECRAFT' )
NAIF_BODY_CODE += ( -76000 )
NAIF_BODY_NAME += ( 'M10_INSTRUMENT_PLATFORM' )
NAIF_BODY_CODE += ( -76000 )
NAIF_BODY_NAME += ( 'M10_PLATFORM' )
NAIF_BODY_CODE += ( -76000 )
NAIF_BODY_NAME += ( 'M10_IR' )
NAIF_BODY_CODE += ( -76010 )
NAIF_BODY_NAME += ( 'M10_PLASMA_SEA' )
NAIF_BODY_CODE += ( -76021 )
NAIF_BODY_NAME += ( 'M10_PLASMA_SES' )
NAIF_BODY_CODE += ( -76022 )
NAIF_BODY_NAME += ( 'M10_CPT_MAIN' )
NAIF_BODY_CODE += ( -76041 )
NAIF_BODY_NAME += ( 'M10_CPT_LOW_ENERGY' )
NAIF_BODY_CODE += ( -76042 )
NAIF_BODY_NAME += ( 'M10_EUV_OCCULTATION' )
NAIF_BODY_CODE += ( -76051 )
NAIF_BODY_NAME += ( 'M10_SUN_SENSOR' )
NAIF_BODY_CODE += ( -76060 )
NAIF_BODY_NAME += ( 'M10_STAR_TRACKER' )
NAIF_BODY_CODE += ( -76070 )
NAIF_BODY_NAME += ( 'M10_SCAN_PLATFORM' )
NAIF_BODY_CODE += ( -76100 )
NAIF_BODY_NAME += ( 'M10_VIDICON_A' )
NAIF_BODY_CODE += ( -76110 )
NAIF_BODY_NAME += ( 'A' )
NAIF_BODY_CODE += ( -76110 )
NAIF_BODY_NAME += ( 'M10_VIDICON_B' )
NAIF_BODY_CODE += ( -76120 )
NAIF_BODY_NAME += ( 'B' )
NAIF_BODY_CODE += ( -76120 )
NAIF_BODY_NAME += ( 'M10_EUV_AIRGLOW' )
NAIF_BODY_CODE += ( -76152 )
NAIF_BODY_NAME += ( 'M10_MAG_BOOM' )
NAIF_BODY_CODE += ( -76200 )
NAIF_BODY_NAME += ( 'M10_MAG_INBOARD' )
NAIF_BODY_CODE += ( -76211 )
NAIF_BODY_NAME += ( 'M10_MAG_OUTBOARD' )
NAIF_BODY_CODE += ( -76212 )
NAIF_BODY_NAME += ( 'M10_SA+X' )
NAIF_BODY_CODE += ( -76310 )
NAIF_BODY_NAME += ( 'M10_SA-X' )
NAIF_BODY_CODE += ( -76320 )
NAIF_BODY_NAME += ( 'M10_HGA' )
NAIF_BODY_CODE += ( -76400 )
NAIF_BODY_NAME += ( 'M10_LGA' )
NAIF_BODY_CODE += ( -76500 )
\begintext
KPL/SCLK
Fictitious SPICE SCLK Kernel for 'Mariner 10'
===========================================================================
This file contains the data necessary for converting time
between ET and ticks of the fictitious on-board clock for
the 'Mariner 10' spacecraft (NAIF ID code -76.)
This fictional clock begins at 1966-JAN-01-00:00:41.182 ET and
continues for 2147483647 seconds. The clock has granularity
of 0.001000-th fraction of a second.
Production History of this SCLK file
--------------------------------------------------------
This file was generated by the NAIF utility program FAKESCLK,
version 1.0, on 2002-05-12-11:56:21.
2010-02-05 Tracie Sucharski, USGS,Flagstaff, Created from the Lunar Orbiter 1
sclk file.
Implementation notes
--------------------------------------------------------
This SCLK file is constructed so that the valid SCLK strings are
simply the number of TDB seconds that have passed since the
ephemeris epoch 1973-NOV-03-00:00:41.182.
Thus, 1/288929:820 represents the epoch that occurs 288929 whole
and 820 0.001000-th of TDB second past 1973-NOV-03-00:00:41.182 ET.
For all time, the clock runs at the same rate as TDB. There is
only one partition for this clock.
You must load this file into the kernel pool before using any
of the SPICELIB SCLK routines. The code fragment
CALL FURNSH ( "name of this file" ) (FORTRAN)
furnsh_c ( "name of this file" ); (C)
performs this task. To convert between ET and UTC, you will also
need to load a leapseconds kernel. The additional call to FURNSH,
CALL FURNSH ( "name of your leapseconds file" ) (FORTRAN)
furnsh_c ( "name of your leapseconds file" ); (C)
will accomplish this. Note that you must supply the actual names
of the files used on your system as arguments to FURNSH.
References
--------------------------------------------------------
For more information, consult your SPICELIB required reading files.
The following areas are covered:
SCLK system SCLK required reading
Time systems and conversion TIME required reading
Kernel pool KERNEL required reading
Kernel data
--------------------------------------------------------
This section contains the SCLK data.
\begindata
SCLK_KERNEL_ID = ( @2010-02-06-16:15:00 )
SCLK_DATA_TYPE_76 = ( 1 )
SCLK01_TIME_SYSTEM_76 = ( 1 )
SCLK01_N_FIELDS_76 = ( 2 )
SCLK01_MODULI_76 = ( 1000000000 1000 )
SCLK01_OFFSETS_76 = ( 0 0 )
SCLK01_OUTPUT_DELIM_76 = ( 2 )
SCLK_PARTITION_START_76 = ( 0.0000000000000E+00 )
SCLK_PARTITION_END_76 = ( 1.0000000000000E+14 )
SCLK01_COEFFICIENTS_76 = ( 0.0000000000000E+00
@1973-NOV-03-00:00:41.182
1.0000000000000E+00 )
\begintext
NAIF ID to Name Mapping for 'Mariner 10'
--------------------------------------------------------
This section contains the NAIF ID to name mapping.
\begindata
NAIF_BODY_NAME += ( 'Mariner_10' )
NAIF_BODY_CODE += ( -76 )
\begintext
\begindata
INS-76110_PLATFORM_ID = -76
INS-76110_SPK_TIME_BIAS = 0.0
INS-76110_CK_TIME_BIAS = 0.0
INS-76110_CK_TIME_TOLERANCE = 1
INS-76110_FOCAL_LENGTH = 1493.6
INS-76110_PIXEL_PITCH = 0.013333333
INS-76110_BORESIGHT_SAMPLE = 475.0
INS-76110_BORESIGHT_LINE = 400.0
INS-76110_TRANSX=(0.0 0.013333333 0.0)
INS-76110_TRANSY=(0.0 0.0 0.013333333)
INS-76110_ITRANSS=(0.0 75.0 0.0)
INS-76110_ITRANSL=(0.0 0.0 75.0)
INS-76120_PLATFORM_ID = -76
INS-76120_SPK_TIME_BIAS = 0.0
INS-76120_CK_TIME_BIAS = 0.0
INS-76120_CK_TIME_TOLERANCE = 1
INS-76120_FOCAL_LENGTH = 1500.1
INS-76120_PIXEL_PITCH = 0.013333333
INS-76120_BORESIGHT_SAMPLE = 475.0
INS-76120_BORESIGHT_LINE = 400.0
INS-76120_TRANSX=(0.0 0.013333333 0.0)
INS-76120_TRANSY=(0.0 0.0 0.013333333)
INS-76120_ITRANSS=(0.0 75.0 0.0)
INS-76120_ITRANSL=(0.0 0.0 75.0)
\begindata
INS-76110_PLATFORM_ID = -76
INS-76110_SPK_TIME_BIAS = 0.0
INS-76110_CK_TIME_BIAS = 0.0
INS-76110_CK_TIME_TOLERANCE = 1
INS-76110_FOCAL_LENGTH = 1493.6
INS-76110_PIXEL_PITCH = 0.013333333
INS-76110_BORESIGHT_SAMPLE = 475.0
INS-76110_BORESIGHT_LINE = 400.0
INS-76110_TRANSX=(0.0 0.013333333 0.0)
INS-76110_TRANSY=(0.0 0.0 0.013333333)
INS-76110_ITRANSS=(0.0 75.0 0.0)
INS-76110_ITRANSL=(0.0 0.0 75.0)
\begintext
These are the parameters required for writing c-kernels. Isis will
create ck with the same frame endpoints as the mission ck. For
the Mariner 10 spacecraft the ck frame is M10_SPACECRAFT (-76000), and the
ck reference frame is J2000 (1).
\begindata
INS-76110_CK_FRAME_ID=-76000
INS-76110_CK_REFERENCE_ID=1
INS-76120_PLATFORM_ID = -76
INS-76120_SPK_TIME_BIAS = 0.0
INS-76120_CK_TIME_BIAS = 0.0
INS-76120_CK_TIME_TOLERANCE = 1
INS-76120_FOCAL_LENGTH = 1500.1
INS-76120_PIXEL_PITCH = 0.013333333
INS-76120_BORESIGHT_SAMPLE = 475.0
INS-76120_BORESIGHT_LINE = 400.0
INS-76120_TRANSX=(0.0 0.013333333 0.0)
INS-76120_TRANSY=(0.0 0.0 0.013333333)
INS-76120_ITRANSS=(0.0 75.0 0.0)
INS-76120_ITRANSL=(0.0 0.0 75.0)
\begintext
These are the parameters required for writing c-kernels. Isis will
create ck with the same frame endpoints as the mission ck. For
the Mariner 10 spacecraft the ck frame is M10_SPACECRAFT (-76000), and the
ck reference frame is J2000 (1).
\begindata
INS-76120_CK_FRAME_ID=-76000
INS-76120_CK_REFERENCE_ID=1
KPL/LSK
LEAPSECONDS KERNEL FILE
===========================================================================
Modifications:
--------------
2016, Jul. 14 NJB Modified file to account for the leapsecond that
will occur on December 31, 2016.
2015, Jan. 5 NJB Modified file to account for the leapsecond that
will occur on June 30, 2015.
2012, Jan. 5 NJB Modified file to account for the leapsecond that
will occur on June 30, 2012.
2008, Jul. 7 NJB Modified file to account for the leapsecond that
will occur on December 31, 2008.
2005, Aug. 3 NJB Modified file to account for the leapsecond that
will occur on December 31, 2005.
1998, Jul 17 WLT Modified file to account for the leapsecond that
will occur on December 31, 1998.
1997, Feb 22 WLT Modified file to account for the leapsecond that
will occur on June 30, 1997.
1995, Dec 14 KSZ Corrected date of last leapsecond from 1-1-95
to 1-1-96.
1995, Oct 25 WLT Modified file to account for the leapsecond that
will occur on Dec 31, 1995.
1994, Jun 16 WLT Modified file to account for the leapsecond on
June 30, 1994.
1993, Feb. 22 CHA Modified file to account for the leapsecond on
June 30, 1993.
1992, Mar. 6 HAN Modified file to account for the leapsecond on
June 30, 1992.
1990, Oct. 8 HAN Modified file to account for the leapsecond on
Dec. 31, 1990.
Explanation:
------------
The contents of this file are used by the routine DELTET to compute the
time difference
[1] DELTA_ET = ET - UTC
the increment to be applied to UTC to give ET.
The difference between UTC and TAI,
[2] DELTA_AT = TAI - UTC
is always an integral number of seconds. The value of DELTA_AT was 10
seconds in January 1972, and increases by one each time a leap second
is declared. Combining [1] and [2] gives
[3] DELTA_ET = ET - (TAI - DELTA_AT)
= (ET - TAI) + DELTA_AT
The difference (ET - TAI) is periodic, and is given by
[4] ET - TAI = DELTA_T_A + K sin E
where DELTA_T_A and K are constant, and E is the eccentric anomaly of the
heliocentric orbit of the Earth-Moon barycenter. Equation [4], which ignores
small-period fluctuations, is accurate to about 0.000030 seconds.
The eccentric anomaly E is given by
[5] E = M + EB sin M
where M is the mean anomaly, which in turn is given by
[6] M = M + M t
0 1
where t is the number of ephemeris seconds past J2000.
Thus, in order to compute DELTA_ET, the following items are necessary.
DELTA_TA
K
EB
M0
M1
DELTA_AT after each leap second.
The numbers, and the formulation, are taken from the following sources.
1) Moyer, T.D., Transformation from Proper Time on Earth to
Coordinate Time in Solar System Barycentric Space-Time Frame
of Reference, Parts 1 and 2, Celestial Mechanics 23 (1981),
33-56 and 57-68.
2) Moyer, T.D., Effects of Conversion to the J2000 Astronomical
Reference System on Algorithms for Computing Time Differences
and Clock Rates, JPL IOM 314.5--942, 1 October 1985.
The variable names used above are consistent with those used in the
Astronomical Almanac.
\begindata
DELTET/DELTA_T_A = 32.184
DELTET/K = 1.657D-3
DELTET/EB = 1.671D-2
DELTET/M = ( 6.239996D0 1.99096871D-7 )
DELTET/DELTA_AT = ( 10, @1972-JAN-1
11, @1972-JUL-1
12, @1973-JAN-1
13, @1974-JAN-1
14, @1975-JAN-1
15, @1976-JAN-1
16, @1977-JAN-1
17, @1978-JAN-1
18, @1979-JAN-1
19, @1980-JAN-1
20, @1981-JUL-1
21, @1982-JUL-1
22, @1983-JUL-1
23, @1985-JUL-1
24, @1988-JAN-1
25, @1990-JAN-1
26, @1991-JAN-1
27, @1992-JUL-1
28, @1993-JUL-1
29, @1994-JUL-1
30, @1996-JAN-1
31, @1997-JUL-1
32, @1999-JAN-1
33, @2006-JAN-1
34, @2009-JAN-1
35, @2012-JUL-1
36, @2015-JUL-1
37, @2017-JAN-1 )
\begintext
This diff is collapsed.
{
"isis_camera_version": 1,
"image_lines": 700,
"image_samples": 832,
"name_platform": "Mariner_10",
"name_sensor": "M10_VIDICON_A",
"reference_height": {
"maxheight": 1000,
"minheight": -1000,
"unit": "m"
},
"name_model": "USGS_ASTRO_FRAME_SENSOR_MODEL",
"center_ephemeris_time": -812916168.4183488,
"radii": {
"semimajor": 2439.7,
"semiminor": 2439.7,
"unit": "km"
},
"body_rotation": {
"time_dependent_frames": [
10011,
1
],
"ck_table_start_time": -812916168.4183488,
"ck_table_end_time": -812916168.4183488,
"ck_table_original_size": 1,
"ephemeris_times": [
-812916168.4183488
],
"quaternions": [
[
-0.041589464253201175,
-0.036695469453297484,
0.24381936260450102,
-0.9682333796166442
]
],
"angular_velocities": [
[
1.1326300442450132e-07,
-5.816846505242454e-07,
1.0892405863919202e-06
]
],
"reference_frame": 1
},
"instrument_pointing": {
"time_dependent_frames": [
-76000,
1
],
"ck_table_start_time": -812916168.4183488,
"ck_table_end_time": -812916168.4183488,
"ck_table_original_size": 1,
"ephemeris_times": [
-812916168.4183488
],
"quaternions": [
[
-0.4151219005736828,
0.5204702103512857,
0.2881986100016333,
0.6882776539988121
]
],
"angular_velocities": [
[
-0.0,
-0.0,
-0.0
]
],
"reference_frame": 1,
"constant_frames": [
-76000
],
"constant_rotation": [
1.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
1.0
]
},
"naif_keywords": {
"BODY199_RADII": [
2439.7,
2439.7,
2439.7
],
"BODY_FRAME_CODE": 10011,
"BODY_CODE": 199,
"INS-76110_FOCAL_LENGTH": 1493.6,
"INS-76110_BORESIGHT_LINE": 400.0,
"INS-76110_CK_FRAME_ID": -76000.0,
"INS-76110_ITRANSL": [
0.0,
0.0,
75.0
],
"INS-76110_ITRANSS": [
0.0,
75.0,
0.0
],
"INS-76110_CK_REFERENCE_ID": 1.0,
"FRAME_-76110_CLASS": 3.0,
"INS-76110_CK_TIME_TOLERANCE": 1.0,
"CK_-76110_SPK": -76.0,
"INS-76110_PLATFORM_ID": -76.0,
"FRAME_-76110_CENTER": -76.0,
"FRAME_-76110_NAME": "VIDICON_A",
"FRAME_-76110_CLASS_ID": -76110.0,
"INS-76110_CK_TIME_BIAS": 0.0,
"INS-76110_BORESIGHT_SAMPLE": 475.0,
"CK_-76110_SCLK": -76.0,
"INS-76110_PIXEL_PITCH": 0.013333333,
"INS-76110_SPK_TIME_BIAS": 0.0,
"INS-76110_TRANSX": [
0.0,
0.013333333,
0.0
],
"INS-76110_TRANSY": [
0.0,
0.0,
0.013333333
],
"BODY199_PM": [
329.548,
6.1385025,
0.0
],
"BODY199_POLE_RA": [
281.01,
-0.033,
0.0
],
"BODY199_LONG_AXIS": 0.0,
"BODY199_POLE_DEC": [
61.45,
-0.005,
0.0
]
},
"detector_sample_summing": 1,
"detector_line_summing": 1,
"focal_length_model": {
"focal_length": 1493.6
},
"detector_center": {
"line": 400.0,
"sample": 475.0
},
"focal2pixel_lines": [
0.0,
0.0,
75.0
],
"focal2pixel_samples": [
0.0,
75.0,
0.0
],
"optical_distortion": {
"radial": {
"coefficients": [
0.0,
0.0,
0.0
]
}
},
"starting_detector_line": 0,
"starting_detector_sample": 0,
"instrument_position": {
"spk_table_start_time": -812916168.4183488,
"spk_table_end_time": -812916168.4183488,
"spk_table_original_size": 1,
"ephemeris_times": [
-812916168.4183488
],
"positions": [
[
-102972.7382271018,
3812.9827825224156,
-31471.92445819328
]
],
"velocities": [
[
10.071486208448203,
-0.6607146245234612,
2.9047780027319923
]
],
"reference_frame": 1
},
"sun_position": {
"spk_table_start_time": -812916168.4183488,
"spk_table_end_time": -812916168.4183488,
"spk_table_original_size": 1,
"ephemeris_times": [
-812916168.4183488
],
"positions": [
[
6487626.304499695,
61459556.251802824,
32153267.064496163
]
],
"velocities": [
[
-38.73233838516926,
0.39826024551668027,
4.232611805855759
]
],
"reference_frame": 1
}
}
\ No newline at end of file
import pytest
import os
import unittest
import json
from conftest import get_image_label, get_isd, get_image_kernels, convert_kernels, compare_dicts
import ale
from ale.drivers.mariner_drivers import Mariner10IsisLabelNaifSpiceDriver
@pytest.fixture(scope='module')
def test_mariner10_kernels():
kernels = get_image_kernels('27265')
updated_kernels, binary_kernels = convert_kernels(kernels)
yield updated_kernels
for kern in binary_kernels:
os.remove(kern)
def test_mariner10_load(test_mariner10_kernels):
label_file = get_image_label('27265', 'isis')
compare_dict = get_isd("mariner10")
isd_str = ale.loads(label_file, props={'kernels': test_mariner10_kernels})
isd_obj = json.loads(isd_str)
assert compare_dicts(isd_obj, compare_dict) == []
class test_mariner10_isis_naif(unittest.TestCase):
def setUp(self):
label = get_image_label("27265", "isis")
self.driver = Mariner10IsisLabelNaifSpiceDriver(label)
def test_instrument_id(self):
assert self.driver.instrument_id == "M10_SPACECRAFT"
def test_sensor_model_version(self):
assert self.driver.sensor_model_version == 1
def test_sensor_name(self):
assert self.driver.sensor_name == "M10_VIDICON_A"
def test_sensor_frame_id(self):
assert self.driver.sensor_frame_id == -76000
def test_ikid(self):
assert self.driver.ikid == -76110
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment