-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Nov 30 09:09:03 2021 UTC
-- File 20210729_100801_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 4.603166 to 41.451258
-each separately from 4s to 41s and from 352489us to 603455us.
   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, ...
      12.749034 in 1 packets: 18
      24.098191 in 1 packets: 36
MIU packet time from 2021-07-29T10:08:08.603.166.000 to 2021-07-29T10:08:45.451.258.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, ...
      12.749034 in 1 packets: 18
      24.098191 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 5.9418054 to 42.9416827
   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, ...
      12.9999569 in 1 packets: 18
      23.9999204 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 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 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 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 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 20210729_100801_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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.5449725 to 6.5452615
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.7489910  -- OK for SL --
   MIU time from 2021-07-29T10:08:08.603.166.000 to 2021-07-29T10:08:08.603.455.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.749034

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 19.2942525 to 19.2945415
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.0981110  -- OK for SL --
   MIU time from 2021-07-29T10:08:21.352.489.000 to 2021-07-29T10:08:21.352.778.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.098191

 - 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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 43.3926525 to 43.3929415
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-29T10:08:45.450.969.000 to 2021-07-29T10:08:45.451.258.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 = 4, 32bit 10MHz counter = 6.544972500 corrected by 40bit 10MHz counter of 5.941805400 obtained at 1Hz counter of 4. Result: 4.603169090
--
   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-07-29T10:08:08.603.025.725
   Max 1st sample MIU time among all SL packets: 2021-07-29T10:08:45.451.117.725
   Min 1st sample XO time among all SL packets: 4.603028815
   Max 1st sample XO time among all SL packets: 41.451120059
   TM values from -242 to 194 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-29T10:08:08.603.025.725 (XO: 4.603028815 - 4.603334816, t=37.2 degC)  Rank: 00080
   TM values: Max =   172  Min =  -213  Ave =    -4.68  Std =    17.02
   Min TM value:-213 at an offset of 127.250 usec -> 2021-07-29T10:08:08.603.152.975 (XO: 4.603156065)
   Max TM value:172 at an offset of 129.925 usec -> 2021-07-29T10:08:08.603.155.650 (XO: 4.603158740)
   Max dTM/dt [1/us]:1.30e+03 at an offset of 124.925 usec -> 2021-07-29T10:08:08.603.150.650 (XO: 4.603153740)
   Min dTM/dt [1/us]:-1.60e+03 at an offset of 127.100 usec -> 2021-07-29T10:08:08.603.152.825 (XO: 4.603155915)

 - Block number: 2 starting at 2021-07-29T10:08:21.352.348.725 (XO: 17.352351088 - 17.352657089, t=37.2 degC)  Rank: 00078
   TM values: Max =   187  Min =  -224  Ave =    -4.67  Std =    17.82
   Min TM value:-224 at an offset of 115.588 usec -> 2021-07-29T10:08:21.352.464.312 (XO: 17.352466676)
   Max TM value:187 at an offset of 118.125 usec -> 2021-07-29T10:08:21.352.466.850 (XO: 17.352469213)
   Max dTM/dt [1/us]:1.94e+03 at an offset of 117.950 usec -> 2021-07-29T10:08:21.352.466.675 (XO: 17.352469038)
   Min dTM/dt [1/us]:-1.92e+03 at an offset of 115.388 usec -> 2021-07-29T10:08:21.352.464.112 (XO: 17.352466476)

 - Block number: 3 starting at 2021-07-29T10:08:45.450.828.725 (XO: 41.450831058 - 41.451137059, t=37.2 degC)  Rank: 00084
   TM values: Max =   194  Min =  -242  Ave =    -4.57  Std =    26.66
   Min TM value:-242 at an offset of 127.313 usec -> 2021-07-29T10:08:45.450.956.037 (XO: 41.450958371)
   Max TM value:194 at an offset of 125.313 usec -> 2021-07-29T10:08:45.450.954.037 (XO: 41.450956371)
   Max dTM/dt [1/us]:1.79e+03 at an offset of 86.700 usec -> 2021-07-29T10:08:45.450.915.425 (XO: 41.450917758)
   Min dTM/dt [1/us]:-1.97e+03 at an offset of 84.138 usec -> 2021-07-29T10:08:45.450.912.862 (XO: 41.450915196)
