-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Mar 19 12:02:06 2023 UTC
-- File 20220615_152136_1227.dat, 72  packets found.
APID:
      1227 (SL) in 72 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 72 packets (all packets)
Total number of packets: 
      18 in 72 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 5.948750 to 58.072942
-each separately from 5s to 58s and from 72653us to 949039us.
   Differences in neigboring packets: 
      0.000017 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      11.900678 in 1 packets: 18
      23.061339 in 1 packets: 36
      17.161019 in 1 packets: 54
MIU packet time from 2022-06-15T15:21:44.948.750.000 to 2022-06-15T15:22:37.072.942.000
   Differences in neigboring packets: 
      0.000017 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      11.900678 in 1 packets: 18
      23.061339 in 1 packets: 36
      17.161019 in 1 packets: 54
MIU orbit number: 
      60000 in 72 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 72 packets (all packets)
MIU orbit information / number of events: 
      0 in 72 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 72 packets (all packets)
Instrument anomalies: 
      0 (OK) in 72 packets (all packets)
FPGA configuration version: 
      211 in 72 packets (all packets)
10 MHz counter at the last 1Hz pulse from 6.7556641 to 59.7554897
   Differences in neigboring packets: 
      0.0000000 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      11.9999605 in 1 packets: 18
      22.9999242 in 1 packets: 36
      17.9999409 in 1 packets: 54
Temperature FPGA: 
      00 -> 55.0 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      FF -> 56.3 degC in 36 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, ...
Temperature XO: 
      C5 -> 43.6 degC in 72 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 72 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 72 packets (all packets)
Number of external events: 
      0 in 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
Survey memory error: 
      0 in 72 packets (all packets)
Event memory error: 
      0 in 72 packets (all packets)
Configuration error: 
      0 in 72 packets (all packets)
SDRAM CRC error: 
      0 in 72 packets (all packets)
Radio gain: 
      0 in 72 packets (all packets)
Radio bandwidth: 
      0 in 72 packets (all packets)
Digital gain: 
      0 in 72 packets (all packets)
Analog gain: 
      0 in 72 packets (all packets)
 
SURVEY DATA READER
-- File 20220615_152136_1227.dat, 4 SL data blocks found. Extra packets: 0.
--
Data structure of blocks of survey data packets:

 - Block number: 1 from the sequence of 18 packets.
   Block numbers in the data:
      1 in 18 packets (all packets)  -- OK --
   Ranks for SL, 0 for SR and SA:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 7.7044160 to 7.7047050
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.9006390  -- OK for SL --
   MIU time from 2022-06-15T15:21:44.948.750.000 to 2022-06-15T15:21:44.949.039.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.900678

 - Block number: 2 from the sequence of 18 packets.
   Block numbers in the data:
      2 in 18 packets (all packets)  -- OK --
   Ranks for SL, 0 for SR and SA:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 19.6053440 to 19.6056330
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.0612630  -- OK for SL --
   MIU time from 2022-06-15T15:21:56.849.717.000 to 2022-06-15T15:21:56.850.006.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.061339

 - Block number: 3 from the sequence of 18 packets.
   Block numbers in the data:
      3 in 18 packets (all packets)  -- OK --
   Ranks for SL, 0 for SR and SA:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 42.6668960 to 42.6671850
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.1609590  -- OK for SL --
   MIU time from 2022-06-15T15:22:19.911.345.000 to 2022-06-15T15:22:19.911.634.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.161019

 - Block number: 4 from the sequence of 18 packets.
   Block numbers in the data:
      4 in 18 packets (all packets)  -- OK --
   Ranks for SL, 0 for SR and SA:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 59.8281440 to 59.8284330
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-15T15:22:37.072.653.000 to 2022-06-15T15:22:37.072.942.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 72 points based on 59 XO calibration points at 1Hz counter from 0 to 58
   --- First point: 1Hz counter = 5, 32bit 10MHz counter = 7.704416000 corrected by 40bit 10MHz counter of 6.755664100 obtained at 1Hz counter of 5. Result: 5.948755126
--
   MIU or XO time of the 1st SL sample = header (MIU or corrected XO) time +offset(if negative) - 275 ns delay
   Samplig frequency correction factor in all SL packets: 0.999996600 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2022-06-15T15:21:44.948.609.725
   Max 1st sample MIU time among all SL packets: 2022-06-15T15:22:37.072.801.725
   Min 1st sample XO time among all SL packets: 5.948614850
   Max 1st sample XO time among all SL packets: 58.072803265
   TM values from -267 to 244 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-15T15:21:44.948.609.725 (XO: 5.948614850 - 5.948920851, t=43.6 degC)  Rank: 00082
   TM values: Max =   244  Min =  -267  Ave =    -4.47  Std =    19.67
   Min TM value:-267 at an offset of 126.538 usec -> 2022-06-15T15:21:44.948.736.262 (XO: 5.948741388)
   Max TM value:244 at an offset of 126.263 usec -> 2022-06-15T15:21:44.948.735.987 (XO: 5.948741113)
   Max dTM/dt [1/us]:1.95e+03 at an offset of 128.763 usec -> 2022-06-15T15:21:44.948.738.487 (XO: 5.948743613)
   Min dTM/dt [1/us]:-2.63e+03 at an offset of 126.363 usec -> 2022-06-15T15:21:44.948.736.087 (XO: 5.948741213)

 - Block number: 2 starting at 2022-06-15T15:21:56.849.576.725 (XO: 17.849582014 - 17.849888015, t=43.6 degC)  Rank: 00080
   TM values: Max =   220  Min =  -243  Ave =    -4.41  Std =    34.90
   Min TM value:-243 at an offset of 153.551 usec -> 2022-06-15T15:21:56.849.730.275 (XO: 17.849735564)
   Max TM value:220 at an offset of 126.963 usec -> 2022-06-15T15:21:56.849.703.687 (XO: 17.849708977)
   Max dTM/dt [1/us]:2.22e+03 at an offset of 153.651 usec -> 2022-06-15T15:21:56.849.730.375 (XO: 17.849735664)
   Min dTM/dt [1/us]:-2.34e+03 at an offset of 127.088 usec -> 2022-06-15T15:21:56.849.703.812 (XO: 17.849709102)

 - Block number: 3 starting at 2022-06-15T15:22:19.911.204.725 (XO: 40.911209932 - 40.911515933, t=43.6 degC)  Rank: 00082
   TM values: Max =   228  Min =  -232  Ave =    -4.43  Std =    28.37
   Min TM value:-232 at an offset of 98.800 usec -> 2022-06-15T15:22:19.911.303.525 (XO: 40.911308732)
   Max TM value:228 at an offset of 101.138 usec -> 2022-06-15T15:22:19.911.305.862 (XO: 40.911311070)
   Max dTM/dt [1/us]:2.21e+03 at an offset of 158.476 usec -> 2022-06-15T15:22:19.911.363.200 (XO: 40.911368408)
   Min dTM/dt [1/us]:-1.86e+03 at an offset of 98.625 usec -> 2022-06-15T15:22:19.911.303.350 (XO: 40.911308557)

 - Block number: 4 starting at 2022-06-15T15:22:37.072.512.725 (XO: 58.072514264 - 58.072820265, t=43.6 degC)  Rank: 00079
   TM values: Max =   233  Min =  -263  Ave =    -4.38  Std =    36.38
   Min TM value:-263 at an offset of 126.588 usec -> 2022-06-15T15:22:37.072.639.312 (XO: 58.072640852)
   Max TM value:233 at an offset of 126.325 usec -> 2022-06-15T15:22:37.072.639.050 (XO: 58.072640590)
   Max dTM/dt [1/us]:2.19e+03 at an offset of 128.800 usec -> 2022-06-15T15:22:37.072.641.525 (XO: 58.072643065)
   Min dTM/dt [1/us]:-2.52e+03 at an offset of 126.413 usec -> 2022-06-15T15:22:37.072.639.137 (XO: 58.072640677)
