Skip to content
Snippets Groups Projects
Unverified Commit 46f53157 authored by Jacob Cain's avatar Jacob Cain Committed by GitHub
Browse files

MGS MOC Narrow Angle Camera (#517)

* added IsisLabelNaifSpiceMGSMOCNarrowAngleDriver

* added tests

* overwrite clock_start_count instead of ephemeris

* Removed spacecraft_clock_start_count overwrite
parent e689abf9
No related branches found
No related tags found
No related merge requests found
Showing
with 43699 additions and 10 deletions
......@@ -12,6 +12,124 @@ from ale.base.type_distortion import NoDistortion
from ale import util
class MgsMocNarrowAngleCameraIsisLabelNaifSpiceDriver(LineScanner, IsisLabel, NaifSpice, RadialDistortion, Driver):
"""
Driver for reading MGS MOC WA ISIS labels.
"""
@property
def instrument_id(self):
"""
Returns an instrument id for uniquely identifying the instrument, but often
also used to be piped into Spice Kernels to acquire IKIDs. Therefore they
the same ID the Spice expects in bods2c calls.
Expects instrument_id to be defined in the IsisLabel mixin. This should be
a string of the form 'MOC-NA'
Returns
-------
: str
instrument id
"""
id_lookup = {
"MOC-NA" : "MGS_MOC_NA"
}
return id_lookup[super().instrument_id]
@property
def sensor_name(self):
"""
Returns sensor name.
Expects instrument_id to be defined.
-------
: String
The name of the sensor
"""
return self.instrument_id
@property
def ephemeris_stop_time(self):
"""
ISIS doesn't preserve the spacecraft stop count that we can use to get
the ephemeris stop time of the image, so compute the ephemeris stop time
from the start time and the exposure duration.
"""
return self.ephemeris_start_time + (self.exposure_duration/1000 * ((self.image_lines) * self.label['IsisCube']['Instrument']['DowntrackSumming']))
@property
def detector_start_sample(self):
"""
Returns
-------
: int
The starting detector sample of the image
"""
return self.label['IsisCube']['Instrument']['FirstLineSample']
@property
def detector_center_sample(self):
"""
Returns the center detector sample. Expects ikid to be defined. This should
be an integer containing the Naif Id code of the instrument.
Returns
-------
: float
Detector sample of the principal point
"""
return float(spice.gdpool('INS{}_CENTER'.format(self.ikid), 0, 1)[0])
@property
def detector_center_line(self):
"""
Returns the center detector line. Expects ikid to be defined. This should
be an integer containing the Naif Id code of the instrument.
Returns
-------
: float
Detector line of the principal point
"""
return float(spice.gdpool('INS{}_CENTER'.format(self.ikid), 0, 2)[1])
@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 ikid(self):
"""
Overridden to grab the ikid from the Isis Cube since there is no way to
obtain this value with a spice bods2c call. Isis sets this value during
ingestion, based on the original IMG file.
Returns
-------
: int
Naif ID used to for identifying the instrument in Spice kernels
"""
return self.label["IsisCube"]["Kernels"]["NaifFrameCode"]
@property
def odtk(self):
"""
The optical distortion coefficients for radial distortion in MGS MOC NA.
These values appear in the IK / IAK, but are not listed under OD_K.
"""
return [0, 0.0131240578522949, 0.0131240578522949]
class MgsMocWideAngleCameraIsisLabelNaifSpiceDriver(LineScanner, IsisLabel, NaifSpice, RadialDistortion, Driver):
"""
Driver for reading MGS MOC WA ISIS labels.
......
This diff is collapsed.
KPL/SCLK
Status
-----------------------------------------------
This file is a SPICE spacecraft clock (SCLK) kernel containing
information required for Mars Global Surveyor spacecraft on-board
clock to ET conversion. This file also contains definitions
of MGS reference frames.
Production/History of this SCLK files
-----------------------------------------------
This file was generated by the NAIF utility program MAKCLK,
version 3.3, from the most recent Mars Global Surveyor spacecraft
SCLK SCET file.
Usage
-----------------------------------------------
This file must be loaded into the user's program by a call to
the LDPOOL subroutine
CALL LDPOOL( 'this_file_name' )
in order to use the SPICELIB SCLK family of subroutines to
convert MGS spacecraft on-board clock to ET and vice versa and
to use MGS frames defined below as reference frames for
geometric quantities being returned by high-level SPK and
CK subroutines.
References
-----------------------------------------------
1. SCLK Required Reading file, NAIF document number 222
2. MAKCLK User's Guide, NAIF document number 267
Inquiries
-----------------------------------------------
If you have any questions regarding this file contact
MGS Spacecraft Operations Team (SCOPS)
Lockheed/Martin, Denver
Boris Semenov - NAIF/JPL
(818) 354-8136
bsemenov@spice.jpl.nasa.gov
SCLK DATA
-----------------------------------------------
\begindata
SCLK_KERNEL_ID = ( @2006-02-26/00:38:24.00 )
SCLK_DATA_TYPE_94 = ( 1 )
SCLK01_TIME_SYSTEM_94 = ( 2 )
SCLK01_N_FIELDS_94 = ( 2 )
SCLK01_MODULI_94 = ( 4294967296 256 )
SCLK01_OFFSETS_94 = ( 0 0 )
SCLK01_OUTPUT_DELIM_94 = ( 1 )
SCLK_PARTITION_START_94 = ( 1.3611133440000E+11 )
SCLK_PARTITION_END_94 = ( 1.0995116277750E+12 )
SCLK01_COEFFICIENTS_94 = (
0.0000000000000E+00 -9.9510252675000E+07 9.9999996301748E-01
8.3066265600000E+08 -9.6265476795000E+07 9.9999994844682E-01
1.9330583040000E+09 -9.1959244017000E+07 9.9999994927604E-01
2.7708477440000E+09 -8.8686629183000E+07 9.9999994213351E-01
4.0538009600000E+09 -8.3675093473000E+07 9.9999993609973E-01
4.7829370880000E+09 -8.0826905655000E+07 9.9999993275158E-01
5.2473643520000E+09 -7.9012736777000E+07 9.9999993064539E-01
5.4909818880000E+09 -7.8061105843000E+07 9.9999992770059E-01
6.7515176960000E+09 -7.3137138199000E+07 9.9999992410889E-01
7.9017973760000E+09 -6.8643858540000E+07 9.9999992038548E-01
8.9854187520000E+09 -6.4410962877000E+07 9.9999991689249E-01
9.9588085760000E+09 -6.0608659193000E+07 9.9999991330346E-01
1.1222619136000E+10 -5.5671899621000E+07 9.9999990916047E-01
1.2448517120000E+10 -5.0883236056000E+07 9.9999990447344E-01
1.3831336704000E+10 -4.5481597572000E+07 9.9999990051645E-01
1.5223486464000E+10 -4.0043513113000E+07 9.9999989497162E-01
1.7390367488000E+10 -3.1579135002000E+07 9.9999988993180E-01
1.7567130624000E+10 -3.0888654078000E+07 9.9999989034894E-01
1.9308801024000E+10 -2.4085254824000E+07 9.9999988778163E-01
2.0709498624000E+10 -1.8613780438000E+07 9.9999988586150E-01
2.1416008704000E+10 -1.5853975753000E+07 9.9999988403100E-01
2.2566109184000E+10 -1.1361396274000E+07 9.9999988221971E-01
2.3583325184000E+10 -7.3878967420000E+06 9.9999988085764E-01
2.4401976064000E+10 -4.1900421230000E+06 9.9999987748439E-01
2.6148822784000E+10 2.6335770410000E+06 9.9999987443431E-01
2.7343544064000E+10 7.3004564550000E+06 9.9999987288243E-01
2.7697987584000E+10 8.6850012790000E+06 9.9999986959544E-01
3.0497398784000E+10 1.9620199853000E+07 9.9999986397005E-01
3.3094473984000E+10 2.9765023473000E+07 9.9999986031472E-01
3.3757908224000E+10 3.2356563111000E+07 9.9999986120037E-01
3.4879294464000E+10 3.6736977503000E+07 9.9999985904003E-01
3.6655458304000E+10 4.3675116525000E+07 9.9999985800849E-01
3.7663293184000E+10 4.7611970966000E+07 9.9999985675497E-01
3.9177007104000E+10 5.3524915119000E+07 9.9999985536588E-01
3.9998279424000E+10 5.6733009655000E+07 9.9999985291347E-01
4.1764858624000E+10 6.3633708640000E+07 9.9999985124879E-01
4.2117662464000E+10 6.5011848435000E+07 9.9999984781791E-01
4.2274106624000E+10 6.5622958342000E+07 9.9999984882922E-01
4.4218185984000E+10 7.3217017194000E+07 9.9999984659583E-01
4.5149373184000E+10 7.6854466636000E+07 9.9999984377543E-01
4.7697499904000E+10 8.6808085081000E+07 9.9999984158856E-01
4.8250187264000E+10 8.8967019739000E+07 9.9999984042488E-01
5.0351768064000E+10 9.7176318429000E+07 9.9999983895938E-01
5.1873073664000E+10 1.0311891747200E+08 9.9999983890233E-01
5.4328230144000E+10 1.1270937092700E+08 9.9999983767097E-01
5.5435314944000E+10 1.1703392022500E+08 9.9999983571827E-01
5.6783243264000E+10 1.2229926436000E+08 9.9999983408405E-01
5.8043833344000E+10 1.2722344354300E+08 9.9999983141787E-01
6.0034649344000E+10 1.3500006723200E+08 9.9999982876103E-01
6.2733100544000E+10 1.4554089042700E+08 9.9999982638865E-01
6.4568925184000E+10 1.5271207918200E+08 9.9999982473500E-01
6.5962380800000E+10 1.5815526422800E+08 9.9999982462235E-01
7.0164877568000E+10 1.7457126434900E+08 9.9999982312096E-01
7.2044942080000E+10 1.8191526505000E+08 9.9999982107624E-01
7.3394164736000E+10 1.8718566510700E+08 9.9999981990749E-01
7.3947124992000E+10 1.8934566571800E+08 9.9999981862840E-01
7.5141225984000E+10 1.9401012187200E+08 9.9999981500000E-01 )
\begintext
MGS Frame Definitions
-----------------------------------------------
The variables below define the MGS spacecraft, subsystems and
instrument frames within the SPICE Toolkit Frames mechanism.
In order to use "MGS_SPACECRAFT" as the value for the FRAME
argument defining the reference frame for output geometric
quantities in calls to
CKGP
CKGPAV
SPKEZ
SPKEZR
SPICELIB subroutines, or to be able to read CK orientation data
for some MGS subsystem or instrument if these data are referenced
to this frame in the file, these definitions along with the CK file
containing MGS spacecraft orientation must be loaded into the user's
program.
\begindata
FRAME_MGS_SPACECRAFT = -94000
FRAME_-94000_NAME = 'MGS_SPACECRAFT'
FRAME_-94000_CLASS = 3
FRAME_-94000_CLASS_ID = -94000
FRAME_-94000_CENTER = -94
FRAME_MGS_LEFT_SOLAR_ARRAY = -94001
FRAME_-94001_NAME = 'MGS_LEFT_SOLAR_ARRAY'
FRAME_-94001_CLASS = 3
FRAME_-94001_CLASS_ID = -94001
FRAME_-94001_CENTER = -94
FRAME_MGS_RIGHT_SOLAR_ARRAY = -94002
FRAME_-94002_NAME = 'MGS_RIGHT_SOLAR_ARRAY'
FRAME_-94002_CLASS = 3
FRAME_-94002_CLASS_ID = -94002
FRAME_-94002_CENTER = -94
This diff is collapsed.
DAFETF NAIF DAF ENCODED TRANSFER FILE
'DAF/SPK '
'2'
'6'
'SPKMERGE '
BEGIN_ARRAY 1 217
'p_m_990823_OD2047-2064_2065_rec.nio '
'-AB443A2EA7AC18^6'
'-AB4344421C6968^6'
'-5E'
'4'
'1'
'1'
217
'-AB43DD1EFCDD58^6'
'6C0FC16D78^1'
'D81F82DAF^1'
'1B03F05B5E^2'
'2885E8890D^2'
'3607E0B6BC^2'
'4389D8E46B^2'
'510BD1121A^2'
'5E8DC93FC9^2'
'6C0FC16D78^2'
'7991B99B27^2'
'8713B1C8D6^2'
'9495A9F685^2'
'A217A22434^2'
'AF999A51E3^2'
'BD1B927F92^2'
'-694956AEC7782C^3'
'-2493C33D00FF9^1'
'51435497A5807C^3'
'199AE3078C9327^1'
'-C0B306139387F8^3'
'1ECEC97188569A^1'
'5982EEA0895828^-2'
'D1C1051A2F0C88^-4'
'-D76F815EB42C58^-6'
'-2D25057D392D02^-7'
'-806478997100B^-9'
'-69990FB363EF24^-9'
'-1767E3E632238F^-9'
'7D072500917F5^-A'
'AEA1AE31793558^-A'
'716EBF4869CE68^-A'
'383E2E91DC8B5E^-A'
'B09489BD17003^-A'
'0^0'
'0^0'
'0^0'
'-451F71B8D1C2C8^-2'
'-92CC9F2E5A7388^-4'
'A67ECF09B83828^-6'
'1CFBFBD13CB56D^-7'
'-3CF3E4C50148AC^-9'
'3581F87FF7A9C8^-9'
'24E538E8365964^-9'
'76FAF94161BB^-A'
'-C3D0293766648^-A'
'-12C2BE8E8B6A88^-9'
'-357407EFCD216^-9'
'0^0'
'0^0'
'0^0'
'0^0'
'A3D35AB2ED951^-2'
'-AF12DD4C41D93^-4'
'-193DAF647BC308^-5'
'1FA4439601F506^-7'
'-AC9BF6DE4B71F^-9'
'-1C8BE8EC0617C8^-9'
'2895E62D8EE854^-9'
'1C14F49A31A036^-9'
'6776EBAD1F226^-A'
'-8BAB823DE3787^-A'
'-21030A50B0481^-9'
'0^0'
'0^0'
'0^0'
'0^0'
'C^1'
'B^1'
'A^1'
'A^1'
'-AB437023579B38^6'
'DB125BE9D8^1'
'1B624B7D3B^2'
'2913713BD88^2'
'36C496FA76^2'
'4475BCB9138^2'
'4B36B8CFEB^2'
'51F7B4E6C28^2'
'58B8B0FD9A^2'
'5F79AD14718^2'
'663AA92B49^2'
'6CFBA542208^2'
'73BCA158F8^2'
'7A7D9D6FCF8^2'
'87FF959D7E8^2'
'95818DCB2D8^2'
'-78539525C6FDC4^3'
'-220625725DE416^1'
'5BC13EAED731F8^3'
'17A5669C9A04C1^1'
'-B2AD865DB89EF8^3'
'230322BCA9E0E2^1'
'663FE7099A3928^-2'
'18C42285CF7B68^-3'
'-3FEFBE7EA36374^-5'
'-FC78AE4B44DAF8^-7'
'1F7FD3B801ED56^-7'
'9A2CF25BDA1E6^-8'
'-2B366C7F12ACDC^-8'
'-325CE414E87E8^-8'
'-86CB823F4D71F^-9'
'7F9F3815BAE514^-9'
'451AD093C03228^-9'
'-5A14C7BD51FCC^-A'
'-BECB43D61E63A^-A'
'0^0'
'0^0'
'-4E019FF18CFCE8^-2'
'-1137F5D4BC406E^-3'
'308F4B34628706^-5'
'C4E75654735488^-7'
'-B26AFBF93A797^-8'
'-77418EAA7BC00C^-8'
'-16321ECB8CA17^-9'
'1F5F98D4A5DFC1^-8'
'B01872446E0C2^-9'
'-43CA2F1FF52DD8^-9'
'-3D6828608A48DC^-9'
'-114FCF3BC5B31^-A'
'DB1A24^-A'
'0^0'
'0^0'
'97F5640C487BC8^-2'
'-1932991B3E57A5^-3'
'-6087FDD5D00DA4^-5'
'1456E932E2ED9B^-6'
'14AA0568F0619C^-7'
'-A003426BCC4B58^-8'
'-7EBF6CEE555378^-8'
'-92A2479782A4C^-9'
'19D40978C85AC6^-8'
'A7B387030362F8^-9'
'-26D317F8BC8E7E^-9'
'-2E870D719C0152^-9'
'-1B3F7^-A'
'0^0'
'0^0'
'D^1'
'C^1'
'C^1'
'C^1'
'-AB42BE246CED38^6'
'DB125BE9D8^1'
'1B624B7D3B^2'
'2913713BD88^2'
'36C496FA76^2'
'4475BCB9138^2'
'5226E277B1^2'
'5FD808364E8^2'
'6D892DF4EC^2'
'7B3A53B3898^2'
'88EB797227^2'
'969C9F30C48^2'
'A44DC4EF62^2'
'B1FEEAADFF8^2'
'BFB0106C9D^2'
'CD61362B3A8^2'
'-8E57575F9A60E^3'
'-1D2A706AD5EA48^1'
'6AF333E75E7C08^3'
'13F8244C297E04^1'
'-98259CF091D32^3'
'2923E218EECB4E^1'
'78DBFDFA138B9C^-2'
'1535B59D4DC5F2^-3'
'-4BEB2CBE99F1D4^-5'
'-C6C915FEEF8958^-7'
'24D450041B1318^-7'
'-666CEDADDC73^-9'
'-A7227113F97ED^-8'
'-27BD1DB69C4A8C^-8'
'2C56C2CD99DCC8^-8'
'1C01BC58C2FD04^-8'
'-5D1454400EE3^-9'
'-C3877897F0075^-9'
'-2944A015BC73C^-9'
'3868BA60DCDBA8^-9'
'25B74D8^-9'
'-5AD8565F6C851C^-2'
'-E85171E71365B^-4'
'38E5361652F166^-5'
'72857F764C0F28^-7'
'-14F885C9EAEA99^-7'
'394BF1B6B4DD2^-8'
'709A6611ADE7E^-8'
'1541D04FDF5762^-8'
'-1F84CEF98C295E^-8'
'-13A1D72FBFF59F^-8'
'3F51892ACC92E^-9'
'8F1B98DB3783B^-9'
'21D7F008BEDF8^-9'
'-2964852A952C2^-9'
'-1DD6F^-9'
'8175ED65973A9^-2'
'-1DB7D35BC45F93^-3'
'-51D375C94D55AC^-5'
'1756CCFE7010AD^-6'
'-6925561AA7354^-8'
'-1600A4C8962BA4^-7'
'-22B10B5459ADA^-8'
'6B599CF084E8A^-8'
'2D94FABD7E62C6^-8'
'-162D31E90F1092^-8'
'-183F384E310EC2^-8'
'-F97213E5EFA98^-A'
'8A7DB0A7A6A55^-9'
'3CCFDA5095B2FC^-9'
'-1DAA0B^-9'
'F^1'
'E^1'
'E^1'
'E^1'
'-AB43DD1EFCDD58^6'
'-AB437023579B38^6'
'-AB42BE246CED38^6'
'3^1'
END_ARRAY 1 217
BEGIN_ARRAY 2 39
'DE-0721LE-0721 '
'-AB443A2EA7AC18^6'
'-AB4344421C6968^6'
'A'
'0'
'1'
'2'
39
'-A968C^6'
'A8C^5'
'-11ABE697330396^6'
'12546D89FDC782^4'
'1FC8E67975DC2C^2'
'-1D075C9D06CF82^0'
'9AA1A91F9AE39^-3'
'D47A182469BC1^-2'
'-D7AEB47E473758^-3'
'-535A763A646154^-3'
'964D438C80D058^-4'
'21B3C3CD2509F^-4'
'-5E37CFFFDA6008^-5'
'-3EA0D83309C9B2^5'
'-23D9ECE662A24^4'
'AFF92FC84547E^1'
'2BBC2547F3FB6^0'
'-4B03E1C679B614^-1'
'3C54D76983854A^-2'
'1CAC60D8E58C01^-2'
'-2C42F8F41F6662^-3'
'-B7FFA277808098^-4'
'1B6E01F01EF6EF^-4'
'494FB70EC043B8^-5'
'-128B4D656CAB01^5'
'-FD7605FECE7AD^3'
'3E35B22EC1E67E^1'
'167D025131956C^0'
'-297DD085571D64^-1'
'A6E394754DBE18^-3'
'10B87DFC599DB3^-2'
'-EFF88E6205AF3^-4'
'-71DFB2BC4F771C^-4'
'B2802B7B04A46^-5'
'30EE97A1E97736^-5'
'-B3F4C^6'
'1518^6'
'23^2'
'1^1'
END_ARRAY 2 39
BEGIN_ARRAY 3 39
'DE-0721LE-0721 '
'-AB443A2EA7AC18^6'
'-AB4344421C6968^6'
'4'
'0'
'1'
'2'
39
'-9EDCC^6'
'1518^6'
'30B02C57F3BC18^7'
'2011341ACD9A62^7'
'-5383AC91887C^5'
'-96199DA4179498^4'
'-6B0C83D706255C^2'
'1384C84B1691F9^2'
'62965531930648^0'
'-1751E0D9A48DE8^-1'
'-191A9E17E0937E^-2'
'-304E7406CE7DE^-4'
'480A9EEA73438^-5'
'-B2123C6D7DFB2^7'
'9EBF9CD8321EF^6'
'12929EF982DB24^6'
'-10EC17BFBBBF1C^4'
'-33EDB858BF5442^3'
'-82761B180D1D1^1'
'580F0DF3ADE3FC^0'
'2FD524FC8BFDA8^-1'
'-1A93DEA605ECB6^-3'
'-958152C29D5DD^-4'
'-44306D70570C8^-5'
'-52FB5FBC4D96EC^7'
'3AF2DC2F1DDADE^6'
'8A8EB8C8E0FFF^5'
'-3B40E46C94CFA6^3'
'-17A31B1D47BF42^3'
'-4448934C0846C^1'
'25B9480C8BAEE6^0'
'16924F1C42760C^-1'
'-144A1F267BA2F8^-4'
'-43E15346D277D^-4'
'-2057041B7035EE^-5'
'-B3F4C^6'
'2A3^6'
'23^2'
'1^1'
END_ARRAY 3 39
BEGIN_ARRAY 4 54
'MAR097 '
'-AB443A2EA7AC18^6'
'-AB4344421C6968^6'
'1F3'
'4'
'1'
'3'
54
'-AB38D^6'
'2A3^4'
'-2B9D02DBA09C02^-3'
'184F45B519A491^-3'
'-79F618171F5B38^-3'
'-C836F1D1029708^-4'
'136A5347A91648^-3'
'D3377B39F71678^-5'
'-E3E97E835775D^-5'
'28F462D41F054^-6'
'327E37DDBF6E^-4'
'78E91A7149C954^-3'
'-4ADBB39EB34DD8^-5'
'-3CF98366A3C284^-3'
'58B20825EBDFD^-5'
'4E4C2C4610BA64^-4'
'-16038A464FD4F6^-5'
'-1D5CD246E33E^-5'
'1ADBAF19D8E2FA^-3'
'31029314B0EBA6^-3'
'40A72970CA17F8^-3'
'-184EF4BADC8F3C^-3'
'-A2BCC0B88B663^-4'
'20BB4A2628B06E^-4'
'6E4CAC46E9DD4C^-5'
'-1046C60E0AE0E^-5'
'-36D3CCC507BEC^-7'
'-8229FDBE86927^-6'
'-194AF1385F76F2^-6'
'36DB14F9FAEAA8^-6'
'32EA65CD1D4036^-7'
'-40D40D3AFA2858^-7'
'D97434F1DA2ED8^-9'
'0^0'
'-E8B40BAD9E064^-7'
'375BC49C918ED8^-8'
'-78CD01FC2DB668^-6'
'A8EBD02BDA753^-8'
'11F34E925C8CBE^-6'
'-642FF825D3FFD4^-8'
'-9BE7899FD48888^-8'
'0^0'
'-55C0BE411932E^-7'
'452E9905C4B2B^-6'
'-2FE4E6EB2C922E^-6'
'-1CE620B970293B^-6'
'76BC7AF3FA73DC^-7'
'1F5FC3C6CD549^-7'
'-566C065C01A148^-8'
'0^0'
'-AB63^6'
'546^4'
'32^2'
'1^1'
END_ARRAY 4 54
TOTAL_ARRAYS 4
~NAIF/SPC BEGIN COMMENTS~
; ../../../data/isistestdata/mgs/out/m0402852.ale_1.bsp LOG FILE
; Created 2023-02-01/13:45:15.00.
;
; BEGIN SPKMERGE COMMANDS
LEAPSECONDS_KERNEL = ../../../remotedata/isis_data/base/kernels/lsk/naif0012.tls
SPK_KERNEL = ../../../data/isistestdata/mgs/out/m0402852.ale_1.bsp
SOURCE_SPK_KERNEL = ../../../remotedata/isis_data/mgs/kernels/spk/mgs_map2.bsp
INCLUDE_COMMENTS = NO
BODIES = -94
BEGIN_TIME = 1999 AUG 24 14:10:13.635
END_TIME = 1999 AUG 24 14:14:19.559
SOURCE_SPK_KERNEL = ../../../remotedata/isis_data/base/kernels/spk/mar097.bsp
INCLUDE_COMMENTS = NO
BODIES = 4, 10, 499
BEGIN_TIME = 1999 AUG 24 14:10:13.635
END_TIME = 1999 AUG 24 14:14:19.559
; END SPKMERGE COMMANDS
~NAIF/SPC END COMMENTS~
Object = IsisCube
Object = Core
StartByte = 65537
Format = Tile
TileSamples = 256
TileLines = 1536
Group = Dimensions
Samples = 256
Lines = 1536
Bands = 1
End_Group
Group = Pixels
Type = UnsignedByte
ByteOrder = Lsb
Base = 0.0
Multiplier = 1.0
End_Group
End_Object
Group = Instrument
SpacecraftName = "MARS GLOBAL SURVEYOR"
InstrumentId = MOC-NA
TargetName = Mars
StartTime = 1999-08-24T14:12:13.64
StopTime = 1999-08-24T14:12:19.56
CrosstrackSumming = 8
DowntrackSumming = 8
FocalPlaneTemperature = 262.1
GainModeId = 0A
LineExposureDuration = 0.482100 <milliseconds>
MissionPhaseName = MAPPING
OffsetModeId = 38
SpacecraftClockCount = 619971158:28
RationaleDesc = "South Pole 3 degree ring"
OrbitNumber = 2063
FirstLineSample = 1
End_Group
Group = Archive
DataSetId = MGS-M-MOC-NA/WA-2-DSDP-L0-V1.0
ProductId = M04/02852
ProducerId = MGS_MOC_TEAM
ProductCreationTime = 2000-06-01T00:15:28
SoftwareName = "makepds 1.7"
UploadId = UNK
DataQualityDesc = OK
ImageNumber = 923602852
ImageKeyId = 6199702852
End_Group
Group = BandBin
FilterName = BROAD_BAND
OriginalBand = 1
Center = 0.7 <micrometers>
Width = 0.4 <micrometers>
End_Group
Group = Kernels
NaifFrameCode = -94031
End_Group
End_Object
Object = Label
Bytes = 65536
End_Object
Object = History
Name = IsisCube
StartByte = 458753
Bytes = 463
End_Object
Object = OriginalLabel
Name = IsisCube
StartByte = 459216
Bytes = 1607
End_Object
End
DAFETF NAIF DAF ENCODED TRANSFER FILE
'DAF/CK '
'2'
'6'
' < DAFCAT: CK CONCATENATION > '
BEGIN_ARRAY 1 515
'Partly corrected data (see file commnts)'
'54320EC38^9'
'54321E26F^9'
'-16F30'
'1'
'3'
'1'
515
'F31EDB1F6AB6B^0'
'27EB173FBA8386^-1'
'F71CFC0A82176^-1'
'4EA2DC556B163^0'
'21B6401B444E8C^-2'
'2EBC48A0AA384^-2'
'814DC4C3A17478^-4'
'F3215630C4AB4^0'
'2711D698641B6A^-1'
'F48B7F8D90D5F^-1'
'4EA3A55C62FE7C^0'
'21BFD31E0AEEE4^-2'
'2EB559383E365E^-2'
'82E12A9AB014E^-4'
'F32783BEE862A^0'
'24F0A3385EA74A^-1'
'EDBA15AFE3C5E8^-1'
'4EA67AE42B7108^0'
'2202CDA04E828E^-2'
'2EC01AD8B5F256^-2'
'88CCC64B19F4C^-4'
'F32E788D9778C8^0'
'22B29B50363DB6^-1'
'E6C675B4F6A2D^-1'
'4EA6B2E5A236B8^0'
'22064DB877ABC8^-2'
'2EE4B8A552233A^-2'
'9734744AEE9EC^-4'
'F33498A771F28^0'
'206C2A8A9E4982^-1'
'DFE381B6128338^-1'
'4EA8A25B7A4A1C^0'
'21FE08A5C451C8^-2'
'2EFD55EB1512F8^-2'
'C5A991747CC8^-4'
'F33AEE11A72E98^0'
'1E21BF0304D9BC^-1'
'D90AC9F55749F^-1'
'4EA9268CC135FC^0'
'21F494CC99F9EC^-2'
'2F3FC8D076F7D4^-2'
'B20575B708916^-4'
'F340E2BCF4E3D8^0'
'1BED165531328^-1'
'D21BD48D7D40A^-1'
'4EAA5F79B08B58^0'
'2226B2C7D5E92C^-2'
'2EF521907C67B8^-2'
'89A731F40C83C^-4'
'F3466C77861E2^0'
'19A699CCFA284C^-1'
'CB38705033F7D^-1'
'4EAC1E4E7DBCD^0'
'22461CFD722626^-2'
'2EB689C50D0D5^-2'
'9F65E4EC8EFF2^-4'
'F34BFC7B7CB538^0'
'1771DEC8106F21^-1'
'C4490F3F5B1008^-1'
'4EAD36AA6A5164^0'
'224B34297C9AD^-2'
'2F14DA302412DE^-2'
'BB810960C29CC^-4'
'F35121B3E11A58^0'
'152B6141D3E824^-1'
'BD6573E4177^-1'
'4EAED5021AA44C^0'
'22491DF5C79FD6^-2'
'2F2A7B559753F8^-2'
'AA806475392CE^-4'
'F3564CFEDAEB48^0'
'12F6999DE95F3B^-1'
'B675B8FD170638^-1'
'4EAFCCCF6646^0'
'221076E6D30102^-2'
'2F178142F01328^-2'
'C63D2B51CE9C8^-4'
'F35AF76F490CF^0'
'1099C83A29EE97^-1'
'AF954C54DC98C8^-1'
'4EB18CB9934C3C^0'
'22027F17914564^-2'
'2F2139DE1AAFC8^-2'
'D5BA532BB5C76^-4'
'F35F54A9D563^0'
'E68FE89C54D998^-2'
'A89B10DFC1E71^-1'
'4EB3BE671F3DEC^0'
'223EB6CEA6F2EC^-2'
'2F5862BA788DE4^-2'
'D810E3470D7D^-4'
'F3649FE2855CD8^0'
'C0AFD339843C68^-2'
'A1A3FE7FB5A53^-1'
'4EB2624C37B728^0'
'22729225EEBB9^-2'
'2F6DB9B3E98B72^-2'
'EC11099CC37EA^-4'
'F368CBEF37296^0'
'9C9D9849EBBC38^-2'
'9ACF10EF4F41E8^-1'
'4EB3874CB27CD^0'
'2240680625DF02^-2'
'2F430BDFC8701^-2'
'E9D91853B4CFE^-4'
'F36C90DD38C14^0'
'79910949AAD9FC^-2'
'93D48AA8DDC46^-1'
'4EB587BB4B74E^0'
'225F2ACE343BEA^-2'
'2F2E49D57B4F12^-2'
'ABB0C6051C94C^-4'
'F370DCB91A0CF^0'
'54461D453184DC^-2'
'8CE1FC601F0F38^-1'
'4EB52CCCADB818^0'
'224F2193D06B16^-2'
'2F4DFA7D888044^-2'
'9A3DB77B0AE36^-4'
'F374A61EAD8A38^0'
'30F837178B6AB2^-2'
'85F146C77F84F^-1'
'4EB5B228129C3^0'
'22651444EA8CB6^-2'
'2F771E3232531A^-2'
'FA892D066981C^-4'
'F37853B8DAC9A^0'
'CB2BD9308F9F88^-3'
'7ED8F723377DC^-1'
'4EB620D44C9958^0'
'226F723802CEF6^-2'
'2F83BED7585FC4^-2'
'EA8E2B93FCB32^-4'
'F37B8539D24E1^0'
'-175F143A36306F^-2'
'78039E51F9788^-1'
'4EB6F4D74953C^0'
'2266C74C1B97A8^-2'
'2F5160E6C5E764^-2'
'7AF06939A292E^-4'
'F37F05070B5FD8^0'
'-3CAA9B640B692E^-2'
'71108A9A313338^-1'
'4EB657E8806F^0'
'2244EED250F9C2^-2'
'2F2C674E64717C^-2'
'DA45226B619B4^-4'
'F3818138FE2238^0'
'-611F627C813A7^-2'
'6A18362135AE4^-1'
'4EB8374CE6171^0'
'225EF681ED16B6^-2'
'2F8DCA3AA4D7E4^-2'
'13A68BCA31CABA^-3'
'F3845F0541A8B8^0'
'-85649357EB11A^-2'
'62FF8AB1696BF4^-1'
'4EB862CCC864EC^0'
'22D63C0FE3C91E^-2'
'2FD815F7F17AC2^-2'
'CEDC38CF71D3E^-4'
'F38762E08E0FC^0'
'-A8F3BD998C2F38^-2'
'5C18418BD63B3C^-1'
'4EB72BC8E085B8^0'
'2273BFD6D86A1C^-2'
'2F6D4295B00838^-2'
'DB29E0BD2A17^-4'
'F389B160773998^0'
'-CDAB0ABBB32EB^-2'
'55296A9591801C^-1'
'4EB77FD9AB4044^0'
'223903E8B3B448^-2'
'2F1FCBD25786FA^-2'
'11983537FF75FA^-3'
'F38B60D2A4FC38^0'
'-F21F6ED3A2C11^-2'
'4E30C0456F1138^-1'
'4EB91D0EA1D03C^0'
'226CEC53B83748^-2'
'2F5F937AB4E62^-2'
'AB1D24948A18C^-4'
'F38E47A276F008^0'
'-116E9C63C1AFBD^-1'
'472B3D42998BA8^-1'
'4EB6525D794D64^0'
'22B87448CB068E^-2'
'2FB2091A32026E^-2'
'DDAD9B54A3A16^-4'
'F38F905338627^0'
'-13B5DB0D97EE2B^-1'
'403276421D1DD4^-1'
'4EB7CE5F2627FC^0'
'227050EB34F6^-2'
'2FA6D982A2EBD4^-2'
'18B5B28EA9E458^-3'
'F390A5CFEBD528^0'
'-15FD11C444273C^-1'
'3939AD589FFC78^-1'
'4EB939D2BC8CF^0'
'227DE6FEFD2E7C^-2'
'2F79A8D1880FD^-2'
'DBB505F6CF6D6^-4'
'F392627C9AC0A^0'
'-184CB7837F9C7C^-1'
'325405ABF50E9C^-1'
'4EB7E2323700F^0'
'22882018EDC0DE^-2'
'2F4DCB198BA052^-2'
'5C2EE998FCF1E^-4'
'F3940DA4874438^0'
'-1A9512F0E75FB1^-1'
'2B44B3CDBA43CA^-1'
'4EB62E0B4983E8^0'
'227FBAACD3B5D8^-2'
'2F63DC513C702C^-2'
'FBE23E5C2B8AE^-4'
'F395216B0CAD28^0'
'-1CD43BB162982^-1'
'2439B9E96E9C08^-1'
'4EB59CA04FFF2^0'
'22AF36E883E7E4^-2'
'2FA4FF25D2383E^-2'
'DCF3F3584EC7^-4'
'F3964534C8ABE^0'
'-1F23D8C0CD1F3D^-1'
'1D53DF31E1F3EE^-1'
'4EB41392EA836C^0'
'227D38CA98F5A8^-2'
'2F7B454AB66CEE^-2'
'ABF50D580FCBA^-4'
'F396F1CD22AD8^0'
'-2162F618D69752^-1'
'1648D327C447A4^-1'
'4EB360D3C5DD08^0'
'2241622AA109C^-2'
'2F7C07F7EEFD88^-2'
'12AB45889D1104^-3'
'F3967130F2F528^0'
'-23A0D54FD3E1C6^-1'
'F544FD89E3A038^-2'
'4EB59CB9047D08^0'
'227149032EC66^-2'
'2FBBB90BA40BEE^-2'
'13C29AB52FC00A^-3'
'F396FCDFD1C0E^0'
'-25F05F1FD63CDC^-1'
'86E62469756BA^-2'
'4EB3E283C56D8C^0'
'22E33767F2FA46^-2'
'30080DF2519226^-2'
'11F1481B6699CC^-3'
'F396ACDEAF47E^0'
'-2826478E0E299E^-1'
'16780F26ADCC05^-2'
'4EB431CA32B528^0'
'2284447EC16618^-2'
'2FD4B946C92D3E^-2'
'15CEC7A16C8316^-3'
'F3963E5AAA1878^0'
'-2A8D41345710E2^-1'
'-594001E96A3758^-2'
'4EB4155511CB84^0'
'225A2B4EE0FCE6^-2'
'2F7FB3A96F6092^-2'
'DC00B427B5FE4^-4'
'F3967E3C181BE^0'
'-2CB4AB73BB4FA8^-1'
'-C8961E301F6A4^-2'
'4EB150E4D0818^0'
'226A0DFD469782^-2'
'2F62699D2B720C^-2'
'8A9E8644EF992^-4'
'F396016CB799E8^0'
'-2EFE75EEA68B96^-1'
'-13AF15DB5DDD6C^-1'
'4EB007549A541^0'
'2278F36422A92^-2'
'2F909BF2ED59B4^-2'
'EB711A9C29616^-4'
'F3958E433F19B8^0'
'-314DCFEE0E19BC^-1'
'-1A94F3ED30A351^-1'
'4EADFAD06D0668^0'
'228EE17B4CAB7^-2'
'2F947F7A61A0B2^-2'
'EBE45B00C5948^-4'
'F394ABE38240A^0'
'-3387E6BCE03B76^-1'
'-21929DBA243A46^-1'
'4EAC9E2CB75BEC^0'
'22850A783CF9CE^-2'
'2F8903010D56E4^-2'
'BB39B368DB03E^-4'
'F3939645BF7E98^0'
'-35C1F5594B3AC8^-1'
'-28904927B32A44^-1'
'4EAB3100B81AA4^0'
'2262583B7F78D4^-2'
'2F8C7020AD6BCA^-2'
'10B5A6BA53ABF^-3'
'F391911AAB194^0'
'-381F99E078F148^-1'
'-2F878B543747CE^-1'
'4EABE4D55DBED4^0'
'22894BAB5E7C9^-2'
'2FBE1B8F08A81A^-2'
'13D458DCF746C4^-3'
'F39014E91896D8^0'
'-3A59915E90B776^-1'
'-368523EFDDEF74^-1'
'4EAA56856FC5D^0'
'22D1A27310FBFA^-2'
'2FED501E484D16^-2'
'11D7184BA2B4DE^-3'
'F38EBD300DA6F^0'
'-3CAC266F75EBAE^-1'
'-3DAEAD7C4920D8^-1'
'4EA772A73E508^0'
'229517A70B7494^-2'
'2FB6BC71386308^-2'
'10C714A2383EE^-3'
'F38C57D70B5238^0'
'-3EE934D47D48DC^-1'
'-448C8ED37730DC^-1'
'4EA76C62484798^0'
'225FB2B497FD82^-2'
'2FA20DC7F96B74^-2'
'10CDFB6CCE3802^-3'
'F38A15DA096A8^0'
'-413EDF9153B84^-1'
'-4B965DE8ACFBE4^-1'
'4EA61033281F58^0'
'226864FD7844D2^-2'
'2FB03AE3FFF50E^-2'
'EDA624D941866^-4'
'F3885C6FBEA11^0'
'-4370EA2AA705AC^-1'
'-52A6ABFF8A94F8^-1'
'4EA271BB91B95^0'
'22BE334E7BD628^-2'
'2FD4476305787C^-2'
'10C3727188DFE2^-3'
'F385B1E7EDF918^0'
'-45C6785967B5B^-1'
'-59B058BEB925FC^-1'
'4EA0F3CB211DB^0'
'22A66B03FA0416^-2'
'2FE3E6F5B8080A^-2'
'14E0C1B1D03FD4^-3'
'F382A0B7578558^0'
'-47F72CA7B37A58^-1'
'-60A9E9B7A9BD18^-1'
'4EA0363FF461E^0'
'229AF638FDD658^-2'
'2FDA500FB61DC8^-2'
'FD5F17DC7DCF4^-4'
'F37FFFBB0F634^0'
'-4A51144DBA0AE^-1'
'-67AA93D6B60B24^-1'
'4E9D3EC3632DB4^0'
'2277E4BB1DA60A^-2'
'2FCE01D655208E^-2'
'AE73F05F4F8D6^-4'
'F37CE78F3B142^0'
'-4C8A8DF56C58E^-1'
'-6EA77CD5AAB3^-1'
'4E9B2B74C502EC^0'
'2282DE65894B8^-2'
'2FD8AEE586837A^-2'
'DE7460E965D62^-4'
'F379FBC052E168^0'
'-4ED82E10432B94^-1'
'-75C3DD5891C20C^-1'
'4E979C0AF59354^0'
'22A1DD45B9698E^-2'
'2FE9CEA0B96D98^-2'
'DE16384FDE562^-4'
'F3765FB49E4C08^0'
'-51290524D09E64^-1'
'-7CC0CBE5F28B1C^-1'
'4E95A70097969^0'
'22A348FF4F97CC^-2'
'2FE806FCE19272^-2'
'FE6376DF02E98^-4'
'F3724DFFA172C^0'
'-535965535E6094^-1'
'-83B9DCFC613C5^-1'
'4E9496A8518724^0'
'229A9F9A428A38^-2'
'2FEC654ACEB7CC^-2'
'14ED303D016ACC^-3'
'F36E65E1E80DB8^0'
'-559DFB53E3421C^-1'
'-8AD296C60A2F38^-1'
'4E920949447124^0'
'22B718C275FF18^-2'
'2FD6CA57B8E81^-2'
'17C0734844D434^-3'
'F369BC4B8C294^0'
'-57EA16FFFC914^-1'
'-91D7DFB094E008^-1'
'4E9139E3CFF05C^0'
'22E0349A8846BA^-2'
'2FF4B3FBCD62AA^-2'
'16BBCEE0506CE^-3'
'F36551600DB1B8^0'
'-5A3AAC57B5453^-1'
'-98D46EEEB3846^-1'
'4E8F02144ED81C^0'
'22A7D99924AEC6^-2'
'2FE33E0E63EDCA^-2'
'13DED90DC1BD96^-3'
'F360FE16E8EE1^0'
'-5C632A2435645C^-1'
'-9FE057540A697^-1'
'4E8BE0241D7F34^0'
'227DB56E89B70E^-2'
'2FF07C50542F7^-2'
'D009ECF56BF72^-4'
'F35CFCF653BA68^0'
'-5EC0F85A67F908^-1'
'-A6D757B44B1B28^-1'
'4E86FA5B8F277C^0'
'225FBC07482F34^-2'
'3007263F556C0E^-2'
'A4259941D864^-4'
'F3580ED7DA2ED^0'
'-61053272D61CA^-1'
'-ADEF7CA4FE4D2^-1'
'4E841869018074^0'
'2287D92556ED6^-2'
'2FFC2390D89D58^-2'
'F1145E39AF328^-4'
'F352D4EC606F48^0'
'-6355759512144^-1'
'-B4EB7872C462C^-1'
'4E819DCF417D1C^0'
'22A741334C5AE6^-2'
'2FE3ABEBF701DA^-2'
'13DFDA60AF625E^-3'
'F351D0E2081568^0'
'-63BCAE1550C048^-1'
'-B632FB119F70E8^-1'
'4E814B7B24421C^0'
'22ABC9A06E187A^-2'
'2FE3D60003722C^-2'
'1436AB28AFFEF8^-3'
'54320EC38^9'
'54320EDB6^9'
'54320F1B6^9'
'54320F5B6^9'
'54320F9B6^9'
'54320FDB6^9'
'5432101B6^9'
'5432105B6^9'
'5432109B6^9'
'543210DB6^9'
'5432111B6^9'
'5432115B6^9'
'5432119B6^9'
'543211DB6^9'
'5432121B6^9'
'5432125B6^9'
'5432129B6^9'
'543212DB6^9'
'5432131B6^9'
'5432135B6^9'
'5432139B6^9'
'543213DB6^9'
'5432141B6^9'
'5432145B6^9'
'5432149B6^9'
'543214DB6^9'
'5432151B6^9'
'5432155B6^9'
'5432159B6^9'
'543215DB6^9'
'5432161B6^9'
'5432165B6^9'
'5432169B6^9'
'543216DB6^9'
'5432171B6^9'
'5432175B6^9'
'5432179B6^9'
'543217DB6^9'
'5432181B6^9'
'5432185B6^9'
'5432189B6^9'
'543218DB6^9'
'5432191B6^9'
'5432195B6^9'
'5432199B6^9'
'543219DB6^9'
'54321A1B6^9'
'54321A5B6^9'
'54321A9B6^9'
'54321ADB6^9'
'54321B1B6^9'
'54321B5B6^9'
'54321B9B6^9'
'54321BDB6^9'
'54321C1B6^9'
'54321C5B6^9'
'54321C9B6^9'
'54321CDB6^9'
'54321D1B6^9'
'54321D5B6^9'
'54321D9B6^9'
'54321DDB6^9'
'54321E1B6^9'
'54321E26F^9'
'54320EC38^9'
'1^1'
'4^2'
END_ARRAY 1 515
TOTAL_ARRAYS 1
~NAIF/SPC BEGIN COMMENTS~
This CK is for testing with the image: ../../../data/isistestdata/mgs/m0402852.ale.cub
This CK was generated using the following command: {}
~NAIF/SPC END COMMENTS~
DAFETF NAIF DAF ENCODED TRANSFER FILE
'DAF/CK '
'2'
'6'
' < DAFCAT: CK CONCATENATION > '
BEGIN_ARRAY 1 507
'Partly corrected data (see file commnts)'
'54323BA1C^9'
'54324B009^9'
'-16F30'
'1'
'3'
'1'
507
'EB7BC95F2E95^0'
'-16A394EFB6CA01^0'
'-3E435B1CF27F1^0'
'4B75E194AD5954^0'
'22816133DDF0F4^-2'
'2F9C2E777149C^-2'
'F05E6ACDF59D18^-4'
'EB625766CEC74^0'
'-16C278E7AD3D4B^0'
'-3EA501E11FAF22^0'
'4B6B27783971D^0'
'227E01C99A6F44^-2'
'2F8C921B1359F2^-2'
'FC730D3B4575^-4'
'EB4546D8B7E48^0'
'-16E4B2AD9A99A5^0'
'-3F1006FCD95ACA^0'
'4B624B1000AF9^0'
'22732DEBB2F7D4^-2'
'2F9433B838649C^-2'
'10433DAF902EEC^-3'
'EB28294611F39^0'
'-1708B6992B07E8^0'
'-3F7D2C9B01E4C4^0'
'4B568C9F454ED^0'
'2272C924A3CB5^-2'
'2F9479EDBF835^-2'
'104B4CDB27FA68^-3'
'EB0B2C4076D4F8^0'
'-172B476A767D81^0'
'-3FE7D71282BD4C^0'
'4B4C395B6692D^0'
'2272CC7B07F348^-2'
'2F947718D19DAA^-2'
'104C8355468548^-3'
'EAED50BDD387B^0'
'-174CAF6B0F180D^0'
'-405472A6A3FEF4^0'
'4B429BFACE306C^0'
'2279851113122A^-2'
'2F8F4D5175E986^-2'
'111B57F4DBE4D4^-3'
'EACF75C77DC7^0'
'-1770F52A79DDC^0'
'-40BFCDFDADC0C^0'
'4B38733A272508^0'
'2279DCE4E748F6^-2'
'2F8F0A1747BD3C^-2'
'11253C13C95022^-3'
'EAB1AC810FF048^0'
'-1792B4591A2664^0'
'-412C0F5F5D4578^0'
'4B2D5E95BF54CC^0'
'2279A101D91422^-2'
'2F8F381FEA3DC2^-2'
'111DF4D449B8FC^-3'
'EA936E3F8E4268^0'
'-17B6F0518D9CCF^0'
'-41974FBBB86D08^0'
'4B231605913F28^0'
'2279F95BDD940E^-2'
'2F8EF486408DB^-2'
'1127D195D712F6^-3'
'EA7541BB7E9A1^0'
'-17D8A580A0E23D^0'
'-42037581E15F98^0'
'4B17E1963AA418^0'
'227C699F773BB8^-2'
'2FA13F6C25DEC6^-2'
'104BEA16C7AD4^-3'
'EA571EFE8F175^0'
'-17FB19137B0619^0'
'-426DCF3E4E290C^0'
'4B0D3037C4442^0'
'227C6D0D51E42E^-2'
'2FA13C872C63C^-2'
'104D1E034EF8EE^-3'
'EA388600DF674^0'
'-181EE44EF4EA98^0'
'-42DA674A6D1D34^0'
'4B00CD83EA668C^0'
'226BDCBE86F43^-2'
'2F99CAEBE4F59E^-2'
'F781B1690973E^-4'
'EA1A019A8B1C38^0'
'-18414DB55D5D51^0'
'-4344A4BA0731BC^0'
'4AF5FCE3116B8C^0'
'2272A25C069142^-2'
'2F9493D01A47B4^-2'
'1051B4975CE7DA^-3'
'E9FAAF48569558^0'
'-18627D4796FC68^0'
'-43B0B36CFE6798^0'
'4AEBBCBA2E9164^0'
'2272C2EB0E83DA^-2'
'2F94808AFDE884^-2'
'104524620EDED8^-3'
'E9DB494170BD7^0'
'-18869A47288875^0'
'-441B9DCB4F1324^0'
'4AE115755AE114^0'
'227E12E7D47082^-2'
'2F8C868C4B215^-2'
'FC499487D29F8^-4'
'E9BC08953FAB1^0'
'-18A822506A407E^0'
'-44875634192144^0'
'4AD55DCD39AA6^0'
'2272BBF1B19E5E^-2'
'2F948450C30BDC^-2'
'1048DFC464D78E^-3'
'E99C40343AC4^0'
'-18CC348CAA8A5E^0'
'-44F2228B0B0D2C^0'
'4ACA970B4F77F8^0'
'22730C3B398738^-2'
'2F9446AB2B6D12^-2'
'10532325E22F96^-3'
'E97C9CA0E39598^0'
'-18EDB26140E5D6^0'
'-455DBEAF37CD3C^0'
'4ABEBFB633FC44^0'
'2272B54F7F4BA4^-2'
'2F9487D6D61F64^-2'
'104C9BFEE35A94^-3'
'E95C84BD3355A^0'
'-1911AD1499A61F^0'
'-45C85A0138EC3^0'
'4AB3B4A955847C^0'
'2272F6DD64B9AA^-2'
'2F9454CE95BBC4^-2'
'10570468841C2^-3'
'E93C0A4C2A01D^0'
'-1932BD2A991E8^0'
'-4634111B27878C^0'
'4AA915B469F4B8^0'
'227A29FCCD26F2^-2'
'2F8ED470B33BE8^-2'
'111F0697C9DD94^-3'
'E91B9FD701CC98^0'
'-19587A3AEC43DA^0'
'-46A0B7252D7074^0'
'4A9B125EA68898^0'
'23AEFA060F81CE^-2'
'309BCE1C5F11F2^-2'
'14FCC22610000A^-3'
'E8F85BC8532D68^0'
'-197E8D6088D98D^0'
'-471471200EDF1^0'
'4A8E58359DD75^0'
'265FA934B3ABA^-2'
'330E9BEA7E1A6^-2'
'17A31B31997C7E^-3'
'E8D5C5B7D21118^0'
'-19A34B91235ADB^0'
'-478728681C9648^0'
'4A8011ED5D5828^0'
'2592B46BB3887C^-2'
'32A0EC40DB13E2^-2'
'1A77ACE6C11E56^-3'
'E8B49B913EE548^0'
'-19C606311C9A9C^0'
'-47F4B8B4C2BE4C^0'
'4A7231FAD070E4^0'
'236A19025CFA5^-2'
'30CA51247E3D^-2'
'1D5DFEBB5DD62E^-3'
'E89460067C8758^0'
'-19E664908F06A^0'
'-485D6628893148^0'
'4A6638692971^0'
'216B8BEBB0204^-2'
'2EEB1BB5A43774^-2'
'1B0249C26AC76^-3'
'E874A3918CD348^0'
'-1A061A9FC2D55C^0'
'-48C1EFF1437B1^0'
'4A5C48192F8318^0'
'202BA5E368B0C6^-2'
'2DAC2A6E7B3E68^-2'
'13EACB082ABF64^-3'
'E853EEA96207F^0'
'-1A26C4DC95E45A^0'
'-4928EFD77C426C^0'
'4A51F9E3D5E494^0'
'204991191C6A84^-2'
'2DAD7F0DACEF66^-2'
'B979D66169D3C^-4'
'E8330C1885D578^0'
'-1A476A0FB9CB58^0'
'-498FE1B11ABC9C^0'
'4A479D16A8E334^0'
'20D132175C7F5A^-2'
'2E132744362996^-2'
'5DFB781DDF1C4^-4'
'E811FBF5EFD85^0'
'-1A680A24D2AB27^0'
'-49F6C53E9103A^0'
'4A3D31AEBA44D8^0'
'21561660C1F35A^-2'
'2E78DE4280DDC2^-2'
'521B84DDBF6F^-4'
'E7EFEDE44D782^0'
'-1A899D93ED0082^0'
'-4A601C867BF9^0'
'4A32669FE7E51C^0'
'217F0C7B73871E^-2'
'2E81CF64E553F8^-2'
'79895A96375FC^-4'
'E7CE81AF383B6^0'
'-1AAA331A4CD122^0'
'-4AC6E271465818^0'
'4A27DDC4A94B78^0'
'214D1A722028AC^-2'
'2E42B1613EA9AC^-2'
'8E1A4FBEA962E^-4'
'E7AC5DB388848^0'
'-1ACC807840CFD1^0'
'-4B2E60FC2206D^0'
'4A1D8BAAFD84A8^0'
'217A6BE7B8818C^-2'
'2E70910706B2EE^-2'
'9C8CBBA38FD32^-4'
'E78A347D6CEE6^0'
'-1AEE693CB1EC25^0'
'-4B9759E0557154^0'
'4A113AB9C30DDC^0'
'21CC907344C016^-2'
'2ED2CD93D71D86^-2'
'AC1A4099DDB5^-4'
'E76769A13F523^0'
'-1B0FE680BED321^0'
'-4C0072DCDB0DA4^0'
'4A06334395914C^0'
'228E6497B8FDC6^-2'
'2F8212CCF9A982^-2'
'C4327DC09DC14^-4'
'E74454F5EE96D8^0'
'-1B3381397BC135^0'
'-4C6A13D7FC77B4^0'
'49FA0889FCE8F8^0'
'226B896B7F87F8^-2'
'2F72751D09003^-2'
'FA83F966781^-4'
'E72151879D111^0'
'-1B549414F669B4^0'
'-4CD496E7D705C4^0'
'49ECF1CC5F6ADC^0'
'224C3AAFCFFC24^-2'
'2F4D57F7519C18^-2'
'10F92688C81E12^-3'
'E6FE68A34F3A18^0'
'-1B766672FB5AF6^0'
'-4D3D50DBA21F0C^0'
'49E0638BDFAB5C^0'
'22572EB40517A4^-2'
'2F6D37DD41FD5A^-2'
'103890E6A1186C^-3'
'E6DB504AAA49C8^0'
'-1B9833125ACF3F^0'
'-4DA5FAAA503744^0'
'49D3C61DF5788^0'
'22571470DA85EE^-2'
'2F6D4A56D6BCAC^-2'
'103A25ADFA0E26^-3'
'E6B6C80CDB6F38^0'
'-1BBA854BB36437^0'
'-4E1144D4FED0D4^0'
'49C7F6BA88B9CC^0'
'22BDDC3E2C095A^-2'
'2FD495726434E4^-2'
'10913AD32EB648^-3'
'E69273A428462^0'
'-1BDD3D6CE1AD51^0'
'-4E7C4C33743F2^0'
'49BAE5C276A554^0'
'230F02F59979D4^-2'
'30237A16363858^-2'
'12491E22F9FA78^-3'
'E66E5E5AB244F8^0'
'-1C0056ABE6BC44^0'
'-4EE71687064D3^0'
'49AC6BC2EB935C^0'
'22F17FD14B9082^-2'
'301117108C6DA^-2'
'12E43696F6207A^-3'
'E6494075B7383^0'
'-1C22970DDA4718^0'
'-4F522E7FE0FDE^0'
'49A06C82C827E8^0'
'22659181C92466^-2'
'2FB0B984423DF6^-2'
'12F87CE1628D1C^-3'
'E625409BB0EA1^0'
'-1C444267F7EFB^0'
'-4FBA8E196E5B0C^0'
'499359F11B77C^0'
'226FC8CC39C576^-2'
'2FA994131B85A8^-2'
'125C3AF844669A^-3'
'E60027087065D8^0'
'-1C66E1D5AD7AE7^0'
'-50254FB1BA0CBC^0'
'498609F86C37^0'
'22961E7F41A182^-2'
'2FC952B770038A^-2'
'11CE7CF765C084^-3'
'E5DAE5267FA678^0'
'-1C89780B85BC9D^0'
'-50900B065864CC^0'
'497881F7D92E34^0'
'22D7172550066C^-2'
'2FFD025EA4CCCC^-2'
'1210B92CAEA788^-3'
'E5B593F1A4C558^0'
'-1CA9E3B78DFCD2^0'
'-50FA18F69D8B6C^0'
'496C00D4127B88^0'
'22E07FC49E1866^-2'
'3009F3DC3C939A^-2'
'120835676A4C38^-3'
'E58FEF1CC0EAB8^0'
'-1CCC6DD0CC55E9^0'
'-5164B232F57B0C^0'
'495E59330563D4^0'
'2292A9F0BF21F6^-2'
'2FB744625C921A^-2'
'13F1A7B21D4F26^-3'
'E56AFDF513B6D^0'
'-1CEDFBD6D77B21^0'
'-51CCBF281377F^0'
'4950F979F01008^0'
'22664FA5C12BDA^-2'
'2F9CB2877DFE78^-2'
'1259EA5DABFFA6^-3'
'E544F6F907BDF^0'
'-1D1079C63E9AF4^0'
'-52373600AC91AC^0'
'49433276F26B74^0'
'2270567247C686^-2'
'2F95B1CA5FF566^-2'
'11B9D595B098F2^-3'
'E51F3736A6A66^0'
'-1D3192C9DB77DE^0'
'-529F473D6631F4^0'
'49370DFD9ABBD^0'
'22836BF73405C8^-2'
'2FAF6041264EC2^-2'
'11BF444225019^-3'
'E4F86613CBB0E^0'
'-1D539A75DDA90F^0'
'-5309D3538EEC1^0'
'492A587179D66C^0'
'22C42D07DB1786^-2'
'2FF6B63F14FA46^-2'
'129D8187A65BD2^-3'
'E4D2D011C0EC8^0'
'-1D74B2DF37864D^0'
'-53732B4E343124^0'
'491AC6C39F29C^0'
'228A08F7B3460E^-2'
'2F9646042A7758^-2'
'133DB70C98F18C^-3'
'E4AC5A05AD9F7^0'
'-1D97DE360DE01C^0'
'-53DBA59FED9E28^0'
'490D5C458998B8^0'
'22529B6B38A57A^-2'
'2F6F6B2674AB12^-2'
'1317DB8E45BB26^-3'
'E4858BD7A02E6^0'
'-1DB81794DC242E^0'
'-544539C1AB2A88^0'
'4900362AB493CC^0'
'224283356F2B46^-2'
'2F682891B33118^-2'
'10DC4D82A80174^-3'
'E45F4CF66872D8^0'
'-1DD97A6EEA190F^0'
'-54ACCC51C75C04^0'
'48F26BD569F734^0'
'22561D83BB721A^-2'
'2F957CF2C74608^-2'
'102D0741C855B6^-3'
'E437870BBEAC1^0'
'-1DFB62DBCEA2B4^0'
'-5516FFF5684E78^0'
'48E568112D9DAC^0'
'22C559963224A8^-2'
'2FF66A1795CC8A^-2'
'1130149CAAC3AC^-3'
'E40FFD45CA5DD^0'
'-1E1DAF019907E^0'
'-5580FEB2B38868^0'
'48D6FA336913C^0'
'22B1101DE4F548^-2'
'2FDD0F7F5D39C8^-2'
'129210BA96AE34^-3'
'E3E8C56008EA8^0'
'-1E3E962A83C3DC^0'
'-55E89752105668^0'
'48CA3254D81CE^0'
'2241D3C738FA3^-2'
'2F8F9B0386B69^-2'
'123AF5CB15541C^-3'
'E3C23653081608^0'
'-1E6049A26233A6^0'
'-564FBE99921194^0'
'48BAD1191944F8^0'
'224151CA7857FC^-2'
'2F8FF489838C38^-2'
'1245A4BFBE083A^-3'
'E39942CBFA214^0'
'-1E81B02C810544^0'
'-56B9E6D73DBEA^0'
'48AEBEF84E68A4^0'
'22307D94CCC37A^-2'
'2F753537F9B304^-2'
'10CA7EF72FB786^-3'
'E371E9D8C0F8E8^0'
'-1EA2EF0158604D^0'
'-5721286B6953D^0'
'48A06F3C5FA224^0'
'225F7FFF66174E^-2'
'2FA271A64E7828^-2'
'1036680430EC5^-3'
'E3490018182B78^0'
'-1EC4B02BDC4B02^0'
'-578AEC73DB984^0'
'48930E46B6C03C^0'
'22BC3B5417EDE8^-2'
'2FE94500E2E038^-2'
'1123F3A8B3BAB6^-3'
'E331BD18B5506^0'
'-1ED786C41ACD1C^0'
'-57C7D5154308C^0'
'488A52793EFB1^0'
'229B1C58B56388^-2'
'2FC7B8B0621614^-2'
'1176DAE6FA25BA^-3'
'54323BA1C^9'
'54323BDB6^9'
'54323C1B6^9'
'54323C5B6^9'
'54323C9B6^9'
'54323CDB6^9'
'54323D1B6^9'
'54323D5B6^9'
'54323D9B6^9'
'54323DDB6^9'
'54323E1B6^9'
'54323E5B6^9'
'54323E9B6^9'
'54323EDB6^9'
'54323F1B6^9'
'54323F5B6^9'
'54323F9B6^9'
'54323FDB6^9'
'5432401B6^9'
'5432405B6^9'
'5432409B6^9'
'543240DB6^9'
'5432411B6^9'
'5432415B6^9'
'5432419B6^9'
'543241DB6^9'
'5432421B6^9'
'5432425B6^9'
'5432429B6^9'
'543242DB6^9'
'5432431B6^9'
'5432435B6^9'
'5432439B6^9'
'543243DB6^9'
'5432441B6^9'
'5432445B6^9'
'5432449B6^9'
'543244DB6^9'
'5432451B6^9'
'5432455B6^9'
'5432459B6^9'
'543245DB6^9'
'5432461B6^9'
'5432465B6^9'
'5432469B6^9'
'543246DB6^9'
'5432471B6^9'
'5432475B6^9'
'5432479B6^9'
'543247DB6^9'
'5432481B6^9'
'5432485B6^9'
'5432489B6^9'
'543248DB6^9'
'5432491B6^9'
'5432495B6^9'
'5432499B6^9'
'543249DB6^9'
'54324A1B6^9'
'54324A5B6^9'
'54324A9B6^9'
'54324ADB6^9'
'54324B009^9'
'54323BA1C^9'
'1^1'
'3F^2'
END_ARRAY 1 507
TOTAL_ARRAYS 1
~NAIF/SPC BEGIN COMMENTS~
This CK is for testing with the image: ../../../data/isistestdata/mgs/m0402852.ale.cub
This CK was generated using the following command: {}
~NAIF/SPC END COMMENTS~
This diff is collapsed.
\begintext
Focal lengths are in mm and pixel pitch is in mm/pix
\begindata
INS-94031_SPK_TIME_BIAS = 0.0
INS-94031_CK_TIME_BIAS = -1.15
INS-94031_CK_TIME_TOLERANCE = 1
INS-94031_EULER_ANGLES = ( 0.003141592654 -0.001250000000 6.28518593581 )
INS-94031_EULER_AXES = ( 3 2 1 )
INS-94031_FOCAL_LENGTH = 3500.0
INS-94031_PIXEL_PITCH = 0.0131240578522949
INS-94031_BORESIGHT_SAMPLE = 1024.5
INS-94031_ALONGTRACK_OFFSET = 0.0
INS-94031_TRANSX = ( 0.0, 0.0, 0.0131240578522949)
INS-94031_TRANSY = ( 0.0, 0.0131240578522949, 0.0)
INS-94031_ITRANSS = ( 0.0, 0.0, 76.1959457398412)
INS-94031_ITRANSL = ( 0.0, 76.1959457398412, 0.0)
INS-94032_SPK_TIME_BIAS = 0.0
INS-94032_CK_TIME_BIAS = -1.15
INS-94032_CK_TIME_TOLERANCE = 1
INS-94032_EULER_ANGLES = ( -0.013726 -0.00789399 6.30147 )
INS-94032_EULER_AXES = ( 3 2 1 )
INS-94032_FOCAL_LENGTH = 11.20537656
INS-94032_PIXEL_PITCH = 0.007
INS-94032_BORESIGHT_SAMPLE = 1674.65
INS-94032_ALONGTRACK_OFFSET = 6.7785
INS-94032_TRANSX = ( 0.0, 0.0, 0.007)
INS-94032_TRANSY = ( 0.0, -0.007, 0.0)
INS-94032_ITRANSS = ( 0.0, 0.0, -142.8571429)
INS-94032_ITRANSL = ( 0.0, 142.8571429, 0.0)
INS-94033_SPK_TIME_BIAS = 0.0
INS-94033_CK_TIME_BIAS = -1.15
INS-94033_CK_TIME_TOLERANCE = 1
INS-94033_EULER_ANGLES = ( -0.005269 -0.00619099 6.300817 )
INS-94033_EULER_AXES = ( 3 2 1 )
INS-94033_FOCAL_LENGTH = 11.22998086
INS-94033_PIXEL_PITCH = 0.007
INS-94033_BORESIGHT_SAMPLE = 1688.58
INS-94033_ALONGTRACK_OFFSET = -0.8486
INS-94033_TRANSX = ( 0.0, 0.0, 0.007)
INS-94033_TRANSY = ( 0.0, 0.007, 0.0)
INS-94033_ITRANSS = ( 0.0, 0.0, 142.857)
INS-94033_ITRANSL = ( 0.0, 142.857, 0.0)
\begintext
Below frames were copied from moc20.ti and modified to match our euler angles
Jeff Anderson 3/22/2006
\begindata
FRAME_MGS_MOC_NA = -94031
FRAME_-94031_NAME = 'MGS_MOC_NA'
FRAME_-94031_CLASS = 4
FRAME_-94031_CLASS_ID = -94031
FRAME_-94031_CENTER = -94
TKFRAME_-94031_SPEC = 'ANGLES'
TKFRAME_-94031_RELATIVE = 'MGS_SPACECRAFT'
TKFRAME_-94031_ANGLES = ( -6.28518593581 0.00125000 -0.003141592654 )
TKFRAME_-94031_AXES = ( 1, 2, 3 )
TKFRAME_-94031_UNITS = 'RADIANS'
FRAME_MGS_MOC_WA_RED = -94032
FRAME_-94032_NAME = 'MGS_MOC_WA_RED'
FRAME_-94032_CLASS = 4
FRAME_-94032_CLASS_ID = -94032
FRAME_-94032_CENTER = -94
TKFRAME_-94032_SPEC = 'ANGLES'
TKFRAME_-94032_RELATIVE = 'MGS_SPACECRAFT'
TKFRAME_-94032_ANGLES = ( -6.30147 0.00789399 0.013726 )
TKFRAME_-94032_AXES = ( 1, 2, 3 )
TKFRAME_-94032_UNITS = 'RADIANS'
FRAME_MGS_MOC_WA_BLUE = -94033
FRAME_-94033_NAME = 'MGS_MOC_WA_BLUE'
FRAME_-94033_CLASS = 4
FRAME_-94033_CLASS_ID = -94033
FRAME_-94033_CENTER = -94
TKFRAME_-94033_SPEC = 'ANGLES'
TKFRAME_-94033_RELATIVE = 'MGS_SPACECRAFT'
TKFRAME_-94033_ANGLES = ( -6.300817 0.006191099 0.005269 )
TKFRAME_-94033_AXES = ( 1, 2, 3 )
TKFRAME_-94033_UNITS = 'RADIANS'
\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 MGS spacecraft the ck frame is MGS_SPACECRAFT (-94000), and the
ck reference frame is J2000 (1).
\begindata
INS-94031_CK_FRAME_ID=-94000
INS-94031_CK_REFERENCE_ID=1
INS-94032_CK_FRAME_ID=-94000
INS-94032_CK_REFERENCE_ID=1
INS-94033_CK_FRAME_ID=-94000
INS-94033_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.
......@@ -8,30 +8,47 @@ import json
from conftest import get_image, get_image_label, get_isd, get_image_kernels, convert_kernels, compare_dicts
import ale
from ale.drivers.mgs_drivers import MgsMocWideAngleCameraIsisLabelNaifSpiceDriver
from ale.drivers.mgs_drivers import MgsMocWideAngleCameraIsisLabelNaifSpiceDriver, MgsMocNarrowAngleCameraIsisLabelNaifSpiceDriver
from ale import util
@pytest.fixture(scope='module')
def test_kernels():
kernels = get_image_kernels('ab102401')
def test_nac_kernels():
kernels = get_image_kernels('m0402852')
updated_kernels, binary_kernels = convert_kernels(kernels)
yield updated_kernels
for kern in binary_kernels:
os.remove(kern)
def test_nac_load(test_nac_kernels):
label_file = get_image_label('m0402852', 'isis')
compare_dict = get_isd("mgsmocna")
isd_str = ale.loads(label_file, props={'kernels': test_nac_kernels}, verbose=True)
isd_obj = json.loads(isd_str)
print(json.dumps(isd_obj, indent=2))
assert compare_dicts(isd_obj, compare_dict) == []
def test_load(test_kernels):
@pytest.fixture(scope='module')
def test_wac_kernels():
kernels = get_image_kernels('ab102401')
updated_kernels, binary_kernels = convert_kernels(kernels)
yield updated_kernels
for kern in binary_kernels:
os.remove(kern)
def test_wac_load(test_wac_kernels):
label_file = get_image_label('ab102401', 'isis3')
compare_dict = get_isd("mgsmocwa")
isd_str = ale.loads(label_file, props={'kernels': test_kernels})
isd_str = ale.loads(label_file, props={'kernels': test_wac_kernels})
isd_obj = json.loads(isd_str)
print(json.dumps(isd_obj, indent=2))
assert compare_dicts(isd_obj, compare_dict) == []
class test_isis3_naif(unittest.TestCase):
class test_wac_isis3_naif(unittest.TestCase):
def setUp(self):
label = get_image_label("ab102401", "isis3")
self.driver = MgsMocWideAngleCameraIsisLabelNaifSpiceDriver(label)
......@@ -43,27 +60,30 @@ class test_isis3_naif(unittest.TestCase):
assert self.driver.sensor_name == "MGS_MOC_WA_RED"
def test_ephemeris_start_time(self):
with patch('ale.drivers.mgs_drivers.spice.scs2e', return_value=1234) as gdpool:
with patch('ale.drivers.mgs_drivers.spice.scs2e', return_value=1234) as scs2e:
assert self.driver.ephemeris_start_time == 1234
scs2e.assert_called_with(-94, "561812335:32")
def test_ephemeris_stop_time(self):
with patch('ale.drivers.mgs_drivers.spice.scs2e', return_value=1234) as gdpool:
with patch('ale.drivers.mgs_drivers.spice.scs2e', return_value=1234) as scs2e:
assert self.driver.ephemeris_stop_time == 1541.2
scs2e.assert_called_with(-94, "561812335:32")
def test_detector_start_sample(self):
with patch('ale.drivers.mgs_drivers.spice.gdpool', return_value=[673]) as gdpool:
assert self.driver.detector_start_sample == 673
def test_detector_center_sample(self):
with patch('ale.drivers.mgs_drivers.spice.gdpool', return_value=[1727.5]) as gdpool:
assert self.driver.detector_center_sample == 1727.5
gdpool.assert_called_with('INS-94032_CENTER', 0, 1)
def test_detector_center_line(self):
with patch('ale.drivers.mgs_drivers.spice.gdpool', return_value=[0, 1727.5]) as gdpool:
assert self.driver.detector_center_line == 1727.5
gdpool.assert_called_with('INS-94032_CENTER', 0, 2)
def test_sensor_model_version(self):
assert self.driver.sensor_model_version == 1
......@@ -75,3 +95,50 @@ class test_isis3_naif(unittest.TestCase):
assert self.driver.odtk == [0, -.007, .007]
with patch('ale.drivers.mgs_drivers.MgsMocWideAngleCameraIsisLabelNaifSpiceDriver.instrument_id', return_value='MGS_MOC_WA_BLUE'):
assert self.driver.odtk == [0, .007, .007]
class test_nac_isis3_naif(unittest.TestCase):
def setUp(self):
label = get_image_label("m0402852", "isis")
self.driver = MgsMocNarrowAngleCameraIsisLabelNaifSpiceDriver(label)
def test_instrument_id(self):
assert self.driver.instrument_id == "MGS_MOC_NA"
def test_sensor_name(self):
assert self.driver.sensor_name == "MGS_MOC_NA"
def test_ephemeris_start_time(self):
with patch('ale.drivers.mgs_drivers.spice.scs2e', return_value=1234) as scs2e:
assert self.driver.ephemeris_start_time == 1234
scs2e.assert_called_with(-94, "619971158:28")
def test_ephemeris_stop_time(self):
with patch('ale.drivers.mgs_drivers.spice.scs2e', return_value=1234) as scs2e:
assert self.driver.ephemeris_stop_time == 1239.9240448
scs2e.assert_called_with(-94, "619971158:28")
def test_detector_start_sample(self):
assert self.driver.detector_start_sample == 1
def test_detector_center_sample(self):
with patch('ale.drivers.mgs_drivers.spice.gdpool', return_value=[1727.5]) as gdpool:
assert self.driver.detector_center_sample == 1727.5
gdpool.assert_called_with('INS-94031_CENTER', 0, 1)
def test_detector_center_line(self):
with patch('ale.drivers.mgs_drivers.spice.gdpool', return_value=[0, 1727.5]) as gdpool:
assert self.driver.detector_center_line == 1727.5
gdpool.assert_called_with('INS-94031_CENTER', 0, 2)
def test_sensor_model_version(self):
assert self.driver.sensor_model_version == 1
def test_ikid(self):
assert self.driver.ikid == -94031
def test_odtk(self):
assert self.driver.odtk == [0, 0.0131240578522949, 0.0131240578522949]
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment