-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Apr 25 22:30:07 2023 UTC
-- File 20230425_143616_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 6.283745 to 37.034482
-each separately from 6s to 37s and from 34193us to 524459us.
   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, ...
      20.240136 in 1 packets: 18
      10.509734 in 1 packets: 36
MIU packet time from 2023-04-25T14:36:25.283.745.000 to 2023-04-25T14:36:56.034.482.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, ...
      20.240136 in 1 packets: 18
      10.509734 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 7.7515389 to 38.7514263
   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, ...
      19.9999274 in 1 packets: 18
      10.9999600 in 1 packets: 36
Temperature FPGA: 
      05 -> 48.5 degC in 54 packets (all packets)
Temperature XO: 
      C0 -> 35.6 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 53 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 53 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
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 20230425_143616_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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 8.0352848 to 8.0355738
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.2400630  -- OK for SL --
   MIU time from 2023-04-25T14:36:25.283.745.000 to 2023-04-25T14:36:25.284.034.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.240136

 - 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 28.2756368 to 28.2759258
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.5096950  -- OK for SL --
   MIU time from 2023-04-25T14:36:45.524.170.000 to 2023-04-25T14:36:45.524.459.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.509734

 - 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 38.7856208 to 38.7859098
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-04-25T14:36:56.034.193.000 to 2023-04-25T14:36:56.034.482.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 = 6, 32bit 10MHz counter = 8.035284800 corrected by 40bit 10MHz counter of 7.751538900 obtained at 1Hz counter of 6. Result: 6.283746921
--
   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.999996300 - 0.999996400
   Min 1st sample MIU time among all SL packets: 2023-04-25T14:36:25.283.604.725
   Max 1st sample MIU time among all SL packets: 2023-04-25T14:36:56.034.341.725
   Min 1st sample XO time among all SL packets: 6.283606646
   Max 1st sample XO time among all SL packets: 37.034343349
   TM values from -241 to 195 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-04-25T14:36:25.283.604.725 (XO: 6.283606646 - 6.283912647, t=35.6 degC)  Rank: 00081
   TM values: Max =   195  Min =  -232  Ave =    -4.49  Std =    17.85
   Min TM value:-232 at an offset of 118.538 usec -> 2023-04-25T14:36:25.283.723.262 (XO: 6.283725184)
   Max TM value:195 at an offset of 106.100 usec -> 2023-04-25T14:36:25.283.710.825 (XO: 6.283712746)
   Max dTM/dt [1/us]:1.78e+03 at an offset of 121.113 usec -> 2023-04-25T14:36:25.283.725.837 (XO: 6.283727759)
   Min dTM/dt [1/us]:-1.87e+03 at an offset of 106.213 usec -> 2023-04-25T14:36:25.283.710.937 (XO: 6.283712859)

 - Block number: 2 starting at 2023-04-25T14:36:45.524.029.725 (XO: 26.524032164 - 26.524338165, t=35.6 degC)  Rank: 00076
   TM values: Max =   172  Min =  -241  Ave =    -4.42  Std =    18.61
   Min TM value:-241 at an offset of 119.163 usec -> 2023-04-25T14:36:45.524.148.887 (XO: 26.524151327)
   Max TM value:172 at an offset of 118.875 usec -> 2023-04-25T14:36:45.524.148.600 (XO: 26.524151039)
   Max dTM/dt [1/us]:1.51e+03 at an offset of 121.663 usec -> 2023-04-25T14:36:45.524.151.387 (XO: 26.524153827)
   Min dTM/dt [1/us]:-1.94e+03 at an offset of 107.225 usec -> 2023-04-25T14:36:45.524.136.950 (XO: 26.524139389)

 - Block number: 3 starting at 2023-04-25T14:36:56.034.052.725 (XO: 37.034054348 - 37.034360349, t=35.6 degC)  Rank: 00075
   TM values: Max =   185  Min =  -216  Ave =    -4.52  Std =    13.61
   Min TM value:-216 at an offset of 111.263 usec -> 2023-04-25T14:36:56.034.163.987 (XO: 37.034165610)
   Max TM value:185 at an offset of 108.638 usec -> 2023-04-25T14:36:56.034.161.362 (XO: 37.034162985)
   Max dTM/dt [1/us]:1.78e+03 at an offset of 111.375 usec -> 2023-04-25T14:36:56.034.164.100 (XO: 37.034165723)
   Min dTM/dt [1/us]:-1.75e+03 at an offset of 108.750 usec -> 2023-04-25T14:36:56.034.161.475 (XO: 37.034163098)
