-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar  3 20:48:03 2022 UTC
-- File 20220105_155645_1227.dat, 54  packets found.
APID:
      1227 (SL) in 54 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 54 packets (all packets)
Total number of packets: 
      18 in 54 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 12.322122 to 38.445826
-each separately from 12s to 38s and from 322122us to 922333us.
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      10.599633 in 1 packets: 18
      15.523204 in 1 packets: 36
MIU packet time from 2022-01-05T15:57:00.322.122.000 to 2022-01-05T15:57:26.445.826.000
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      10.599633 in 1 packets: 18
      15.523204 in 1 packets: 36
MIU orbit number: 
      60000 in 54 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 54 packets (all packets)
MIU orbit information / number of events: 
      0 in 54 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 54 packets (all packets)
Instrument anomalies: 
      0 (OK) in 54 packets (all packets)
FPGA configuration version: 
      211 in 54 packets (all packets)
10 MHz counter at the last 1Hz pulse from 13.6204162 to 39.6203285
   Differences in neigboring packets: 
      0.0000000 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      9.9999663 in 1 packets: 18
      15.9999460 in 1 packets: 36
Temperature FPGA: 
      04 -> 49.8 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      05 -> 48.5 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Temperature XO: 
      C1 -> 37.2 degC in 54 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 54 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 54 packets (all packets)
Number of external events: 
      0 in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 1 packets: 37
      2 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Number of generated alerts: 
      0 in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 1 packets: 37
      2 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Survey memory error: 
      0 in 54 packets (all packets)
Event memory error: 
      0 in 54 packets (all packets)
Configuration error: 
      0 in 54 packets (all packets)
SDRAM CRC error: 
      0 in 54 packets (all packets)
Radio gain: 
      0 in 54 packets (all packets)
Radio bandwidth: 
      0 in 54 packets (all packets)
Digital gain: 
      0 in 54 packets (all packets)
Analog gain: 
      0 in 54 packets (all packets)
 
SURVEY DATA READER
-- File 20220105_155645_1227.dat, 3 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:
      67 in 18 packets (all packets)  -- OK --
   10 MHz counter from 13.9425388 to 13.9428278
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.5995990  -- OK for SL --
   MIU time from 2022-01-05T15:57:00.322.122.000 to 2022-01-05T15:57:00.322.411.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.599633

 - 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:
      63 in 18 packets (all packets)  -- OK --
   10 MHz counter from 24.5424268 to 24.5427158
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.5231510  -- OK for SL --
   MIU time from 2022-01-05T15:57:10.922.044.000 to 2022-01-05T15:57:10.922.333.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.523204

 - 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:
      206 in 18 packets (all packets)  -- OK --
   10 MHz counter from 40.0658668 to 40.0661558
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-01-05T15:57:26.445.537.000 to 2022-01-05T15:57:26.445.826.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 54 points based on 44 XO calibration points at 1Hz counter from 0 to 43
   --- First point: 1Hz counter = 12, 32bit 10MHz counter = 13.942538800 corrected by 40bit 10MHz counter of 13.620416200 obtained at 1Hz counter of 12. Result: 12.322123695
--
   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.999996600
   Min 1st sample MIU time among all SL packets: 2022-01-05T15:57:00.321.981.725
   Max 1st sample MIU time among all SL packets: 2022-01-05T15:57:26.445.685.725
   Min 1st sample XO time among all SL packets: 12.321983420
   Max 1st sample XO time among all SL packets: 38.445688540
   TM values from -869 to 351 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-01-05T15:57:00.321.981.725 (XO: 12.321983420 - 12.322289421, t=37.2 degC)  Rank: 00067
   TM values: Max =   149  Min =  -170  Ave =    -4.51  Std =    16.98
   Min TM value:-170 at an offset of 116.713 usec -> 2022-01-05T15:57:00.322.098.437 (XO: 12.322100133)
   Max TM value:149 at an offset of 116.100 usec -> 2022-01-05T15:57:00.322.097.825 (XO: 12.322099520)
   Max dTM/dt [1/us]:1.15e+03 at an offset of 116.013 usec -> 2022-01-05T15:57:00.322.097.737 (XO: 12.322099433)
   Min dTM/dt [1/us]:-1.37e+03 at an offset of 118.463 usec -> 2022-01-05T15:57:00.322.100.187 (XO: 12.322101883)

 - Block number: 2 starting at 2022-01-05T15:57:10.921.903.725 (XO: 22.921907159 - 22.922213161, t=37.2 degC)  Rank: 00063
   TM values: Max =   153  Min =  -161  Ave =    -4.42  Std =    15.23
   Min TM value:-161 at an offset of 128.113 usec -> 2022-01-05T15:57:10.922.031.837 (XO: 22.922035272)
   Max TM value:153 at an offset of 115.650 usec -> 2022-01-05T15:57:10.922.019.375 (XO: 22.922022810)
   Max dTM/dt [1/us]:1.47e+03 at an offset of 115.550 usec -> 2022-01-05T15:57:10.922.019.275 (XO: 22.922022710)
   Min dTM/dt [1/us]:-1.37e+03 at an offset of 129.950 usec -> 2022-01-05T15:57:10.922.033.675 (XO: 22.922037110)

 - Block number: 3 starting at 2022-01-05T15:57:26.445.396.725 (XO: 38.445399539 - 38.445705540, t=37.2 degC)  Rank: 00206
   TM values: Max =   351  Min =  -869  Ave =    -4.25  Std =    56.53
   Min TM value:-869 at an offset of 127.400 usec -> 2022-01-05T15:57:26.445.524.125 (XO: 38.445526940)
   Max TM value:351 at an offset of 131.238 usec -> 2022-01-05T15:57:26.445.527.962 (XO: 38.445530777)
   Max dTM/dt [1/us]:2.97e+03 at an offset of 173.013 usec -> 2022-01-05T15:57:26.445.569.738 (XO: 38.445572552)
   Min dTM/dt [1/us]:-3.30e+03 at an offset of 173.176 usec -> 2022-01-05T15:57:26.445.569.900 (XO: 38.445572715)
