IMP-8 Pc_Fourier File Format
IMP-8 Pc_Pha file begin with an ASCII header that describes each of the
data fields (columns) in the file. The actual data follows the header
and is in binary format as specified on the first line of the header.
The columns are grouped into records called verses in order to group
data of a similar kind i.e. data from a given particle telescope.
The group of verses that make up an event or time period is called a
chapter.
More detail information , see document Low-Energy Cosmic-Ray Group
PC Data Base written by Don V. Reames.
The following indicated the format descriptor for the data field.
Descriptor Description
---------- -----------
T2 Begin and end time
F2 Float value and error (2*32 bits)
F Single Float value (32 bits)
Header record's format
Names Format Description
------ ------- -------------
qline1 A80 data type and creation Date
qline2 A80 satellite name and file title
qsemi A4 semicolumn
qline4 A80 starting time of first chapter in file
qline5 A80 stopping time of last chapter in file
qline6 A45 average interval
qsemi A4 semicolumn
qline8 A8
qline9 A28
qsemi A4 semicolumn
qpha1 A20 verse type (I8VLETSUM1)
q1l A40 byte count
qrate1 A45 DI.Dii.S1D.-F
q1di A40 DI channel
q1dii A40 DII channel
q1e A40 E channel
q1t A40 tags
qpha2 A20 verse type (I8VLETSUM2)
q1l A40 byte count
qrate1 A45 DI.Dii.S1D.-F
q1di A40 DI channel
q1dii A40 DII channel
q1e A40 E channel
q1t A40 tags
Data record's format
Names Format Description
------ ------- -------------
HVR0 I2 time verse type number=0
IBEG I4 chapter starting time
IEND I4 chapter stopping time
HVR1 I2 event verse type number=1
NCTP1 I4 number bytes in rest of verse
IRTCT1 I4 rate count
IRTLT1 I4 rate live time
HPHA1 I2 PHA 1
HPHA2 I2 PHA 2
HPHA3 I2 PHA 3
HTAG I2 tag bit field
repeat from HPHA1 to HTAG through NCTP1
HVR2 I2 event verse type number=2
NCTP0 I4 number bytes in rest of verse
IRTCT0 I4 rate count
IRTLT0 I4 rate live time
HPHA1 I2 PHA 1
HPHA2 I2 PHA 2
HPHA3 I2 PHA 3
HTAG I2 tag bit field
repeat from HPHA1 to HTAG through NCTP0
Sample header records
BINARY
IMP8 15 MIN DATA FILE
2001/05/05 00:00:00
2001/06/14 23:59:00
0 0 00:15:00
;
#0 RATE
T2 TIME
F2 0.0 10000. B_(MAGNITUDE)
F2 0.0 360. PHI (MAGNETIC FIELD)
F2 -90.0 90. THETA (MAGNETIC FIELD)
#1 SECTOR
R2 0.0 100000. DI.-(DI&EI)1.E.-F.-G
F 218.0 263.0 27.0 73.0 S0
F 263.0 308.0 27.0 73.0 S1
F 308.0 353.0 27.0 73.0 S2
F 353.0 38.0 27.0 73.0 S3
F 38.0 83.0 27.0 73.0 S4
F 83.0 128.0 27.0 73.0 S5
F 128.0 173.0 27.0 73.0 S6
F 173.0 218.0 27.0 73.0 S7
#2 RATE
F2 0.0 100000. A0 DI.-(DI&EI)1.E.-F.-G
F2 0.0 100000. A1 DI.-(DI&EI)1.E.-F.-G
F2 0.0 100000. A2 DI.-(DI&EI)1.E.-F.-G
F2 0.0 100000. A3 DI.-(DI&EI)1.E.-F.-G
F2 0.0 360. PHI1 DI.-(DI&EI)1.E.-F.-G
F2 0.0 360. PHI2 DI.-(DI&EI)1.E.-F.-G
F2 0.0 360. PHI3 DI.-(DI&EI)1.E.-F.-G
#3 SECTOR
R2 0.0 100000. A1.-B.-C
F 67.5 112.5 -25.0 25.0 S0
F 112.5 157.5 -25.0 25.0 S1
F 157.5 202.5 -25.0 25.0 S2
F 202.5 247.5 -25.0 25.0 S3
F 247.5 292.5 -25.0 25.0 S4
F 292.5 337.5 -25.0 25.0 S5
F 337.5 22.5 -25.0 25.0 S6
F 22.5 67.5 -25.0 25.0 S7
#4 RATE
F2 0.0 100000. A0 A1.-B.-C
F2 0.0 100000. A1 A1.-B.-C
F2 0.0 100000. A2 A1.-B.-C
F2 0.0 100000. A3 A1.-B.-C
F2 0.0 360. PHI1 A1.-B.-C
F2 0.0 360. PHI2 A1.-B.-C
F2 0.0 360. PHI3 A1.-B.-C
#5 SECTOR
R2 0.0 100000. A1.B.-C
F 67.5 112.5 -25.0 25.0 S0
F 112.5 157.5 -25.0 25.0 S1
F 157.5 202.5 -25.0 25.0 S2
F 202.5 247.5 -25.0 25.0 S3
F 247.5 292.5 -25.0 25.0 S4
F 292.5 337.5 -25.0 25.0 S5
F 337.5 22.5 -25.0 25.0 S6
F 22.5 67.5 -25.0 25.0 S7
#6 RATE
F2 0.0 100000. A0 A1.B.-C
F2 0.0 100000. A1 A1.B.-C
F2 0.0 100000. A2 A1.B.-C
F2 0.0 100000. A3 A1.B.-C
F2 0.0 360. PHI1 A1.B.-C
F2 0.0 360. PHI2 A1.B.-C
F2 0.0 360. PHI3 A1.B.-C
#7 SECTOR
R2 0.0 100000. DI.DII.S1D.-F
F 67.5 112.5 -19.0 19.0 S0
F 112.5 157.5 -19.0 19.0 S1
F 157.5 202.5 -19.0 19.0 S2
F 202.5 247.5 -19.0 19.0 S3
F 247.5 292.5 -19.0 19.0 S4
F 292.5 337.5 -19.0 19.0 S5
F 337.5 22.5 -19.0 19.0 S6
F 22.5 67.5 -19.0 19.0 S7
#8 RATE
F2 0.0 100000. A0 DI.DII.S1D.-F
F2 0.0 100000. A1 DI.DII.S1D.-F
F2 0.0 100000. A2 DI.DII.S1D.-F
F2 0.0 100000. A3 DI.DII.S1D.-F
F2 0.0 360. PHI1 DI.DII.S1D.-F
F2 0.0 360. PHI2 DI.DII.S1D.-F
F2 0.0 360. PHI3 DI.DII.S1D.-F
#9 SECTOR
R2 0.0 100. B(THETA)
F 0.0 100. 90.0 75.0 S0
F 0.0 100. 75.0 60.0 S1
F 0.0 100. 60.0 45.0 S2
F 0.0 100. 45.0 30.0 S3
F 0.0 100. 30.0 15.0 S4
F 0.0 100. 15.0 0.0 S5
F 0.0 100. 0.0 -15.0 S6
F 0.0 100. -15.0 -30.0 S7
F 0.0 100. -30.0 -45.0 S8
F 0.0 100. -45.0 -60.0 S9
F 0.0 100. -60.0 -75.0 S10
F 0.0 100. -75.0 -90.0 S11
#10 SECTOR
R2 0.0 100. B(PHI)
F -7.5 7.5 -90. 90. S0
F 7.5 22.5 -90. 90. S1
F 22.5 37.5 -90. 90. S2
F 37.5 52.5 -90. 90. S3
F 52.5 67.5 -90. 90. S4
F 67.5 82.5 -90. 90. S5
F 82.5 97.5 -90. 90. S6
F 97.5 112.5 -90. 90. S7
F 112.5 127.5 -90. 90. S8
F 127.5 142.5 -90. 90. S9
F 142.5 157.5 -90. 90. S10
F 157.5 172.5 -90. 90. S11
F 172.5 187.5 -90. 90. S12
F 187.5 202.5 -90. 90. S13
F 202.5 217.5 -90. 90. S14
F 217.5 232.5 -90. 90. S15
F 232.5 247.5 -90. 90. S16
F 247.5 262.5 -90. 90. S17
F 262.5 277.5 -90. 90. S18
F 277.5 292.5 -90. 90. S19
F 292.5 307.5 -90. 90. S20
F 307.5 322.5 -90. 90. S21
F 322.5 337.5 -90. 90. S22
F 337.5 352.5 -90. 90. S23