-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 23 15:49:25 2023 UTC
-- File 20211104_121226_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 1.234269 to 49.930962
-each separately from 1s to 49s and from 202888us to 930962us.
   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, ...
      21.968330 in 1 packets: 18
      15.488307 in 1 packets: 36
      11.238900 in 1 packets: 54
MIU packet time from 2021-11-04T12:12:30.234.269.000 to 2021-11-04T12:13:18.930.962.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, ...
      21.968330 in 1 packets: 18
      15.488307 in 1 packets: 36
      11.238900 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 2.7887088 to 50.7885454
   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, ...
      21.9999251 in 1 packets: 18
      14.9999489 in 1 packets: 36
      10.9999626 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 72 packets (all packets)
Temperature XO: 
      C0 -> 35.6 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 72 packets (all packets)
Number of generated alerts: 
      0 in 72 packets (all packets)
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 20211104_121226_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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 3.0229790 to 3.0232680
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.9682550  -- OK for SL --
   MIU time from 2021-11-04T12:12:30.234.269.000 to 2021-11-04T12:12:30.234.558.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.968330

 - 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 24.9915230 to 24.9918120
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.4882550  -- OK for SL --
   MIU time from 2021-11-04T12:12:52.202.888.000 to 2021-11-04T12:12:52.203.177.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.488307

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 40.4800670 to 40.4803560
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.2388630  -- OK for SL --
   MIU time from 2021-11-04T12:13:07.691.484.000 to 2021-11-04T12:13:07.691.773.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.238900

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 51.7192190 to 51.7195080
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-11-04T12:13:18.930.673.000 to 2021-11-04T12:13:18.930.962.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 = 1, 32bit 10MHz counter = 3.022979000 corrected by 40bit 10MHz counter of 2.788708800 obtained at 1Hz counter of 1. Result: 1.234270997
--
   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: 2021-11-04T12:12:30.234.128.725
   Max 1st sample MIU time among all SL packets: 2021-11-04T12:13:18.930.821.725
   Min 1st sample XO time among all SL packets: 1.234130721
   Max 1st sample XO time among all SL packets: 49.930825490
   TM values from -240 to 244 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-11-04T12:12:30.234.128.725 (XO: 1.234130721 - 1.234436722, t=35.6 degC)  Rank: 00075
   TM values: Max =   229  Min =  -240  Ave =    -4.49  Std =    24.37
   Min TM value:-240 at an offset of 97.438 usec -> 2021-11-04T12:12:30.234.226.162 (XO: 1.234228159)
   Max TM value:229 at an offset of 97.213 usec -> 2021-11-04T12:12:30.234.225.937 (XO: 1.234227934)
   Max dTM/dt [1/us]:1.92e+03 at an offset of 95.238 usec -> 2021-11-04T12:12:30.234.223.962 (XO: 1.234225959)
   Min dTM/dt [1/us]:-2.54e+03 at an offset of 97.338 usec -> 2021-11-04T12:12:30.234.226.062 (XO: 1.234228059)

 - Block number: 2 starting at 2021-11-04T12:12:52.202.747.725 (XO: 23.202749514 - 23.203055515, t=35.6 degC)  Rank: 00075
   TM values: Max =   196  Min =  -231  Ave =    -4.50  Std =    19.51
   Min TM value:-231 at an offset of 125.550 usec -> 2021-11-04T12:12:52.202.873.275 (XO: 23.202875065)
   Max TM value:196 at an offset of 125.238 usec -> 2021-11-04T12:12:52.202.872.962 (XO: 23.202874752)
   Max dTM/dt [1/us]:1.33e+03 at an offset of 125.175 usec -> 2021-11-04T12:12:52.202.872.900 (XO: 23.202874690)
   Min dTM/dt [1/us]:-1.83e+03 at an offset of 125.388 usec -> 2021-11-04T12:12:52.202.873.112 (XO: 23.202874902)

 - Block number: 3 starting at 2021-11-04T12:13:07.691.343.725 (XO: 38.691346276 - 38.691652277, t=35.6 degC)  Rank: 00078
   TM values: Max =   231  Min =  -216  Ave =    -4.45  Std =    18.26
   Min TM value:-216 at an offset of 111.525 usec -> 2021-11-04T12:13:07.691.455.250 (XO: 38.691457801)
   Max TM value:231 at an offset of 111.163 usec -> 2021-11-04T12:13:07.691.454.887 (XO: 38.691457438)
   Max dTM/dt [1/us]:1.70e+03 at an offset of 113.838 usec -> 2021-11-04T12:13:07.691.457.562 (XO: 38.691460113)
   Min dTM/dt [1/us]:-2.24e+03 at an offset of 111.275 usec -> 2021-11-04T12:13:07.691.455.000 (XO: 38.691457551)

 - Block number: 4 starting at 2021-11-04T12:13:18.930.532.725 (XO: 49.930536489 - 49.930842490, t=35.6 degC)  Rank: 00077
   TM values: Max =   244  Min =  -231  Ave =    -4.43  Std =    24.70
   Min TM value:-231 at an offset of 126.538 usec -> 2021-11-04T12:13:18.930.659.262 (XO: 49.930663027)
   Max TM value:244 at an offset of 112.150 usec -> 2021-11-04T12:13:18.930.644.875 (XO: 49.930648639)
   Max dTM/dt [1/us]:1.93e+03 at an offset of 114.813 usec -> 2021-11-04T12:13:18.930.647.537 (XO: 49.930651302)
   Min dTM/dt [1/us]:-2.32e+03 at an offset of 112.250 usec -> 2021-11-04T12:13:18.930.644.975 (XO: 49.930648739)
