-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Mar  4 02:57:38 2022 UTC
-- File 20220122_114522_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 5.040592 to 33.500421
-each separately from 5s to 33s and from 40592us to 620729us.
   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, ...
      11.579559 in 1 packets: 18
      16.879403 in 1 packets: 36
MIU packet time from 2022-01-22T11:45:30.040.592.000 to 2022-01-22T11:45:58.500.421.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, ...
      11.579559 in 1 packets: 18
      16.879403 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 6.7905464 to 34.7904476
   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, ...
      10.9999612 in 1 packets: 18
      16.9999400 in 1 packets: 36
Temperature FPGA: 
      05 -> 48.5 degC in 54 packets (all packets)
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 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 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 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 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 20220122_114522_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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.8311398 to 6.8314288
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.5795190  -- OK for SL --
   MIU time from 2022-01-22T11:45:30.040.592.000 to 2022-01-22T11:45:30.040.881.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.579559

 - 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:
      73 in 18 packets (all packets)  -- OK --
   10 MHz counter from 18.4109478 to 18.4112368
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.8793430  -- OK for SL --
   MIU time from 2022-01-22T11:45:41.620.440.000 to 2022-01-22T11:45:41.620.729.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.879403

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 35.2905798 to 35.2908688
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-01-22T11:45:58.500.132.000 to 2022-01-22T11:45:58.500.421.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 = 5, 32bit 10MHz counter = 6.831139800 corrected by 40bit 10MHz counter of 6.790546400 obtained at 1Hz counter of 5. Result: 5.040593546
--
   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.999996400 - 0.999996500
   Min 1st sample MIU time among all SL packets: 2022-01-22T11:45:30.040.451.725
   Max 1st sample MIU time among all SL packets: 2022-01-22T11:45:58.500.280.725
   Min 1st sample XO time among all SL packets: 5.040453271
   Max 1st sample XO time among all SL packets: 33.500282676
   TM values from -252 to 202 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-01-22T11:45:30.040.451.725 (XO: 5.040453271 - 5.040759272, t=37.2 degC)  Rank: 00081
   TM values: Max =   164  Min =  -240  Ave =    -4.56  Std =    20.99
   Min TM value:-240 at an offset of 113.775 usec -> 2022-01-22T11:45:30.040.565.500 (XO: 5.040567046)
   Max TM value:164 at an offset of 111.275 usec -> 2022-01-22T11:45:30.040.563.000 (XO: 5.040564546)
   Max dTM/dt [1/us]:2.08e+03 at an offset of 113.863 usec -> 2022-01-22T11:45:30.040.565.587 (XO: 5.040567134)
   Min dTM/dt [1/us]:-2.14e+03 at an offset of 111.400 usec -> 2022-01-22T11:45:30.040.563.125 (XO: 5.040564671)

 - Block number: 2 starting at 2022-01-22T11:45:41.620.299.725 (XO: 16.620302096 - 16.620608097, t=37.2 degC)  Rank: 00073
   TM values: Max =   170  Min =  -235  Ave =    -4.62  Std =    20.15
   Min TM value:-235 at an offset of 124.975 usec -> 2022-01-22T11:45:41.620.424.700 (XO: 16.620427071)
   Max TM value:170 at an offset of 125.225 usec -> 2022-01-22T11:45:41.620.424.950 (XO: 16.620427321)
   Max dTM/dt [1/us]:2.12e+03 at an offset of 125.100 usec -> 2022-01-22T11:45:41.620.424.825 (XO: 16.620427196)
   Min dTM/dt [1/us]:-2.26e+03 at an offset of 122.638 usec -> 2022-01-22T11:45:41.620.422.362 (XO: 16.620424734)

 - Block number: 3 starting at 2022-01-22T11:45:58.499.991.725 (XO: 33.499993675 - 33.500299676, t=37.2 degC)  Rank: 00081
   TM values: Max =   202  Min =  -252  Ave =    -4.54  Std =    21.80
   Min TM value:-252 at an offset of 125.013 usec -> 2022-01-22T11:45:58.500.116.737 (XO: 33.500118688)
   Max TM value:202 at an offset of 122.550 usec -> 2022-01-22T11:45:58.500.114.275 (XO: 33.500116225)
   Max dTM/dt [1/us]:2.18e+03 at an offset of 125.125 usec -> 2022-01-22T11:45:58.500.116.850 (XO: 33.500118800)
   Min dTM/dt [1/us]:-2.29e+03 at an offset of 122.650 usec -> 2022-01-22T11:45:58.500.114.375 (XO: 33.500116325)
