-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Dec 27 10:51:50 2021 UTC
-- File 20210828_082220_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 12.270660 to 48.556572
-each separately from 12s to 48s and from 270660us to 995091us.
   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, ...
      14.723853 in 1 packets: 18
      9.585824 in 1 packets: 36
      11.975079 in 1 packets: 54
MIU packet time from 2021-08-28T08:22:35.270.660.000 to 2021-08-28T08:23:11.556.572.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, ...
      14.723853 in 1 packets: 18
      9.585824 in 1 packets: 36
      11.975079 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 13.9278158 to 49.9276970
   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, ...
      13.9999538 in 1 packets: 18
      9.9999670 in 1 packets: 36
      11.9999604 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 72 packets (all packets)
Temperature XO: 
      C1 -> 37.2 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 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
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 20210828_082220_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:
      93 in 18 packets (all packets)  -- OK --
   10 MHz counter from 14.1984765 to 14.1987655
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.7238070  -- OK for SL --
   MIU time from 2021-08-28T08:22:35.270.660.000 to 2021-08-28T08:22:35.270.949.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.723853

 - 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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 28.9225725 to 28.9228615
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.5857910  -- OK for SL --
   MIU time from 2021-08-28T08:22:49.994.802.000 to 2021-08-28T08:22:49.995.091.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.585824

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 38.5086525 to 38.5089415
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.9750390  -- OK for SL --
   MIU time from 2021-08-28T08:22:59.580.915.000 to 2021-08-28T08:22:59.581.204.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.975079

 - 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 50.4839805 to 50.4842695
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-28T08:23:11.556.283.000 to 2021-08-28T08:23:11.556.572.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 = 12, 32bit 10MHz counter = 14.198476500 corrected by 40bit 10MHz counter of 13.927815800 obtained at 1Hz counter of 12. Result: 12.270661593
--
   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.999996700 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-08-28T08:22:35.270.519.725
   Max 1st sample MIU time among all SL packets: 2021-08-28T08:23:11.556.431.725
   Min 1st sample XO time among all SL packets: 12.270521318
   Max 1st sample XO time among all SL packets: 48.556434061
   TM values from -258 to 248 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-28T08:22:35.270.519.725 (XO: 12.270521318 - 12.270827319, t=37.2 degC)  Rank: 00093
   TM values: Max =   248  Min =  -258  Ave =    -4.58  Std =    22.10
   Min TM value:-258 at an offset of 128.750 usec -> 2021-08-28T08:22:35.270.648.475 (XO: 12.270650068)
   Max TM value:248 at an offset of 128.475 usec -> 2021-08-28T08:22:35.270.648.200 (XO: 12.270649793)
   Max dTM/dt [1/us]:2.26e+03 at an offset of 131.075 usec -> 2021-08-28T08:22:35.270.650.800 (XO: 12.270652393)
   Min dTM/dt [1/us]:-2.72e+03 at an offset of 128.588 usec -> 2021-08-28T08:22:35.270.648.312 (XO: 12.270649906)

 - Block number: 2 starting at 2021-08-28T08:22:49.994.661.725 (XO: 26.994665907 - 26.994971908, t=37.2 degC)  Rank: 00082
   TM values: Max =   187  Min =  -231  Ave =    -4.60  Std =    22.53
   Min TM value:-231 at an offset of 126.300 usec -> 2021-08-28T08:22:49.994.788.025 (XO: 26.994792208)
   Max TM value:187 at an offset of 128.988 usec -> 2021-08-28T08:22:49.994.790.712 (XO: 26.994794895)
   Max dTM/dt [1/us]:1.68e+03 at an offset of 128.863 usec -> 2021-08-28T08:22:49.994.790.587 (XO: 26.994794770)
   Min dTM/dt [1/us]:-1.68e+03 at an offset of 112.950 usec -> 2021-08-28T08:22:49.994.774.675 (XO: 26.994778858)

 - Block number: 3 starting at 2021-08-28T08:22:59.580.774.725 (XO: 36.580777542 - 36.581083543, t=37.2 degC)  Rank: 00077
   TM values: Max =   192  Min =  -244  Ave =    -4.60  Std =    19.86
   Min TM value:-244 at an offset of 128.325 usec -> 2021-08-28T08:22:59.580.903.050 (XO: 36.580905867)
   Max TM value:192 at an offset of 128.025 usec -> 2021-08-28T08:22:59.580.902.750 (XO: 36.580905567)
   Max dTM/dt [1/us]:1.96e+03 at an offset of 130.675 usec -> 2021-08-28T08:22:59.580.905.400 (XO: 36.580908217)
   Min dTM/dt [1/us]:-1.90e+03 at an offset of 128.113 usec -> 2021-08-28T08:22:59.580.902.837 (XO: 36.580905654)

 - Block number: 4 starting at 2021-08-28T08:23:11.556.142.725 (XO: 48.556145060 - 48.556451061, t=37.2 degC)  Rank: 00079
   TM values: Max =   187  Min =  -231  Ave =    -4.54  Std =    21.92
   Min TM value:-231 at an offset of 127.263 usec -> 2021-08-28T08:23:11.556.269.987 (XO: 48.556272323)
   Max TM value:187 at an offset of 129.888 usec -> 2021-08-28T08:23:11.556.272.612 (XO: 48.556274948)
   Max dTM/dt [1/us]:1.52e+03 at an offset of 129.738 usec -> 2021-08-28T08:23:11.556.272.462 (XO: 48.556274798)
   Min dTM/dt [1/us]:-1.76e+03 at an offset of 127.063 usec -> 2021-08-28T08:23:11.556.269.787 (XO: 48.556272123)
