-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 23 19:48:23 2023 UTC
-- File 20220112_002518_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 7.179337 to 35.401997
-each separately from 7s to 35s and from 179337us to 860908us.
   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, ...
      14.680993 in 1 packets: 18
      13.540800 in 1 packets: 36
MIU packet time from 2022-01-12T00:25:28.179.337.000 to 2022-01-12T00:25:56.401.997.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, ...
      14.680993 in 1 packets: 18
      13.540800 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 9.1168048 to 37.1167057
   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, ...
      13.9999504 in 1 packets: 18
      13.9999505 in 1 packets: 36
Temperature FPGA: 
      04 -> 49.8 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      03 -> 51.1 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
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 54 packets (all packets)
Number of generated alerts: 
      0 in 54 packets (all packets)
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 20220112_002518_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:
      73 in 18 packets (all packets)  -- OK --
   10 MHz counter from 9.2961425 to 9.2964315
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.6809430  -- OK for SL --
   MIU time from 2022-01-12T00:25:28.179.337.000 to 2022-01-12T00:25:28.179.626.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.680993

 - 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:
      70 in 18 packets (all packets)  -- OK --
   10 MHz counter from 23.9773745 to 23.9776635
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.5407510  -- OK for SL --
   MIU time from 2022-01-12T00:25:42.860.619.000 to 2022-01-12T00:25:42.860.908.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.540800

 - 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:
      68 in 18 packets (all packets)  -- OK --
   10 MHz counter from 37.5184145 to 37.5187035
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-01-12T00:25:56.401.708.000 to 2022-01-12T00:25:56.401.997.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 = 7, 32bit 10MHz counter = 9.296142500 corrected by 40bit 10MHz counter of 9.116804800 obtained at 1Hz counter of 7. Result: 7.179338346
--
   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-12T00:25:28.179.196.725
   Max 1st sample MIU time among all SL packets: 2022-01-12T00:25:56.401.856.725
   Min 1st sample XO time among all SL packets: 7.179198070
   Max 1st sample XO time among all SL packets: 35.401858972
   TM values from -206 to 235 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-01-12T00:25:28.179.196.725 (XO: 7.179198070 - 7.179504071, t=37.2 degC)  Rank: 00073
   TM values: Max =   178  Min =  -206  Ave =    -4.37  Std =    19.37
   Min TM value:-206 at an offset of 114.338 usec -> 2022-01-12T00:25:28.179.311.062 (XO: 7.179312408)
   Max TM value:178 at an offset of 111.900 usec -> 2022-01-12T00:25:28.179.308.625 (XO: 7.179309971)
   Max dTM/dt [1/us]:1.76e+03 at an offset of 111.838 usec -> 2022-01-12T00:25:28.179.308.562 (XO: 7.179309908)
   Min dTM/dt [1/us]:-1.98e+03 at an offset of 114.238 usec -> 2022-01-12T00:25:28.179.310.962 (XO: 7.179312308)

 - Block number: 2 starting at 2022-01-12T00:25:42.860.478.725 (XO: 21.860482037 - 21.860788038, t=37.2 degC)  Rank: 00070
   TM values: Max =   165  Min =  -181  Ave =    -4.42  Std =    17.66
   Min TM value:-181 at an offset of 114.550 usec -> 2022-01-12T00:25:42.860.593.275 (XO: 21.860596587)
   Max TM value:165 at an offset of 114.788 usec -> 2022-01-12T00:25:42.860.593.512 (XO: 21.860596825)
   Max dTM/dt [1/us]:1.81e+03 at an offset of 114.663 usec -> 2022-01-12T00:25:42.860.593.387 (XO: 21.860596700)
   Min dTM/dt [1/us]:-1.89e+03 at an offset of 114.463 usec -> 2022-01-12T00:25:42.860.593.187 (XO: 21.860596500)

 - Block number: 3 starting at 2022-01-12T00:25:56.401.567.725 (XO: 35.401569971 - 35.401875972, t=37.2 degC)  Rank: 00068
   TM values: Max =   235  Min =  -203  Ave =    -4.45  Std =    20.85
   Min TM value:-203 at an offset of 129.638 usec -> 2022-01-12T00:25:56.401.697.362 (XO: 35.401699609)
   Max TM value:235 at an offset of 127.213 usec -> 2022-01-12T00:25:56.401.694.937 (XO: 35.401697184)
   Max dTM/dt [1/us]:2.08e+03 at an offset of 127.138 usec -> 2022-01-12T00:25:56.401.694.862 (XO: 35.401697109)
   Min dTM/dt [1/us]:-2.49e+03 at an offset of 127.300 usec -> 2022-01-12T00:25:56.401.695.025 (XO: 35.401697271)
