-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Jan  1 13:54:06 2022 UTC
-- File 20210902_204042_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.202402 to 38.544169
-each separately from 12s to 38s and from 202402us to 544169us.
   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, ...
      8.060137 in 1 packets: 18
      18.280763 in 1 packets: 36
MIU packet time from 2021-09-02T20:40:57.202.402.000 to 2021-09-02T20:41:23.544.169.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, ...
      8.060137 in 1 packets: 18
      18.280763 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.9040830 to 39.9039967
   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, ...
      7.9999735 in 1 packets: 18
      17.9999402 in 1 packets: 36
Temperature FPGA: 
      04 -> 49.8 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 20210902_204042_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:
      88 in 18 packets (all packets)  -- OK --
   10 MHz counter from 14.1064859 to 14.1067749
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.0601110  -- OK for SL --
   MIU time from 2021-09-02T20:40:57.202.402.000 to 2021-09-02T20:40:57.202.691.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.060137

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 22.1668859 to 22.1671749
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.2807030  -- OK for SL --
   MIU time from 2021-09-02T20:41:05.262.828.000 to 2021-09-02T20:41:05.263.117.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.280763

 - 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 40.4478779 to 40.4481669
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-02T20:41:23.543.880.000 to 2021-09-02T20:41:23.544.169.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 = 14.106485900 corrected by 40bit 10MHz counter of 13.904083000 obtained at 1Hz counter of 12. Result: 12.202403568
--
   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: 2021-09-02T20:40:57.202.261.725
   Max 1st sample MIU time among all SL packets: 2021-09-02T20:41:23.544.028.725
   Min 1st sample XO time among all SL packets: 12.202263292
   Max 1st sample XO time among all SL packets: 38.544031775
   TM values from -275 to 237 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-02T20:40:57.202.261.725 (XO: 12.202263292 - 12.202569293, t=37.2 degC)  Rank: 00088
   TM values: Max =   229  Min =  -269  Ave =    -4.56  Std =    24.90
   Min TM value:-269 at an offset of 112.863 usec -> 2021-09-02T20:40:57.202.374.587 (XO: 12.202376155)
   Max TM value:229 at an offset of 115.525 usec -> 2021-09-02T20:40:57.202.377.250 (XO: 12.202378818)
   Max dTM/dt [1/us]:2.23e+03 at an offset of 115.288 usec -> 2021-09-02T20:40:57.202.377.012 (XO: 12.202378580)
   Min dTM/dt [1/us]:-2.80e+03 at an offset of 112.725 usec -> 2021-09-02T20:40:57.202.374.450 (XO: 12.202376018)

 - Block number: 2 starting at 2021-09-02T20:41:05.262.687.725 (XO: 20.262689992 - 20.262995993, t=37.2 degC)  Rank: 00076
   TM values: Max =   224  Min =  -275  Ave =    -4.53  Std =    24.14
   Min TM value:-275 at an offset of 113.638 usec -> 2021-09-02T20:41:05.262.801.362 (XO: 20.262803630)
   Max TM value:224 at an offset of 116.163 usec -> 2021-09-02T20:41:05.262.803.887 (XO: 20.262806155)
   Max dTM/dt [1/us]:2.45e+03 at an offset of 115.975 usec -> 2021-09-02T20:41:05.262.803.700 (XO: 20.262805967)
   Min dTM/dt [1/us]:-2.34e+03 at an offset of 113.425 usec -> 2021-09-02T20:41:05.262.801.150 (XO: 20.262803417)

 - Block number: 3 starting at 2021-09-02T20:41:23.543.739.725 (XO: 38.543742774 - 38.544048775, t=37.2 degC)  Rank: 00081
   TM values: Max =   237  Min =  -268  Ave =    -4.57  Std =    24.98
   Min TM value:-268 at an offset of 88.738 usec -> 2021-09-02T20:41:23.543.828.462 (XO: 38.543831512)
   Max TM value:237 at an offset of 91.288 usec -> 2021-09-02T20:41:23.543.831.012 (XO: 38.543834062)
   Max dTM/dt [1/us]:2.63e+03 at an offset of 91.100 usec -> 2021-09-02T20:41:23.543.830.825 (XO: 38.543833874)
   Min dTM/dt [1/us]:-2.63e+03 at an offset of 88.575 usec -> 2021-09-02T20:41:23.543.828.300 (XO: 38.543831349)
