-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Jun  4 05:30:45 2023 UTC
-- File 20230603_231218_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 10.056124 to 39.756419
-each separately from 10s to 39s and from 56124us to 927221us.
   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, ...
      16.870519 in 1 packets: 18
      12.828909 in 1 packets: 36
MIU packet time from 2023-06-03T23:12:31.056.124.000 to 2023-06-03T23:13:00.756.419.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, ...
      16.870519 in 1 packets: 18
      12.828909 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 11.8185007 to 40.8183986
   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, ...
      15.9999437 in 1 packets: 18
      12.9999542 in 1 packets: 36
Temperature FPGA: 
      01 -> 53.7 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      00 -> 55.0 degC in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Temperature XO: 
      C4 -> 42.0 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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 35 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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 35 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
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 20230603_231218_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 11.8746262 to 11.8749152
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.8704630  -- OK for SL --
   MIU time from 2023-06-03T23:12:31.056.124.000 to 2023-06-03T23:12:31.056.413.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.870519

 - 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:
      97 in 18 packets (all packets)  -- OK --
   10 MHz counter from 28.7453782 to 28.7456672
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.8288630  -- OK for SL --
   MIU time from 2023-06-03T23:12:47.926.932.000 to 2023-06-03T23:12:47.927.221.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.828909

 - 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 41.5745302 to 41.5748192
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-06-03T23:13:00.756.130.000 to 2023-06-03T23:13:00.756.419.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 = 10, 32bit 10MHz counter = 11.874626200 corrected by 40bit 10MHz counter of 11.818500700 obtained at 1Hz counter of 10. Result: 10.056125691
--
   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.999996600
   Min 1st sample MIU time among all SL packets: 2023-06-03T23:12:31.055.983.725
   Max 1st sample MIU time among all SL packets: 2023-06-03T23:13:00.756.278.725
   Min 1st sample XO time among all SL packets: 10.055985415
   Max 1st sample XO time among all SL packets: 39.756282972
   TM values from -274 to 227 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-06-03T23:12:31.055.983.725 (XO: 10.055985415 - 10.056291416, t=42.0 degC)  Rank: 00080
   TM values: Max =   198  Min =  -274  Ave =    -4.51  Std =    22.75
   Min TM value:-274 at an offset of 118.025 usec -> 2023-06-03T23:12:31.056.101.750 (XO: 10.056103441)
   Max TM value:198 at an offset of 123.075 usec -> 2023-06-03T23:12:31.056.106.800 (XO: 10.056108491)
   Max dTM/dt [1/us]:1.80e+03 at an offset of 120.488 usec -> 2023-06-03T23:12:31.056.104.212 (XO: 10.056105903)
   Min dTM/dt [1/us]:-1.99e+03 at an offset of 117.913 usec -> 2023-06-03T23:12:31.056.101.637 (XO: 10.056103328)

 - Block number: 2 starting at 2023-06-03T23:12:47.926.791.725 (XO: 26.926796861 - 26.927102863, t=42.0 degC)  Rank: 00097
   TM values: Max =   186  Min =  -158  Ave =    -4.62  Std =    31.95
   Min TM value:-158 at an offset of 266.238 usec -> 2023-06-03T23:12:47.927.057.963 (XO: 26.927063100)
   Max TM value:186 at an offset of 107.500 usec -> 2023-06-03T23:12:47.926.899.225 (XO: 26.926904362)
   Max dTM/dt [1/us]:1.40e+03 at an offset of 266.276 usec -> 2023-06-03T23:12:47.927.058.000 (XO: 26.927063137)
   Min dTM/dt [1/us]:-1.49e+03 at an offset of 277.276 usec -> 2023-06-03T23:12:47.927.069.000 (XO: 26.927074137)

 - Block number: 3 starting at 2023-06-03T23:13:00.755.989.725 (XO: 39.755993971 - 39.756299972, t=42.0 degC)  Rank: 00078
   TM values: Max =   227  Min =  -251  Ave =    -4.50  Std =    19.34
   Min TM value:-251 at an offset of 122.475 usec -> 2023-06-03T23:13:00.756.112.200 (XO: 39.756116446)
   Max TM value:227 at an offset of 122.225 usec -> 2023-06-03T23:13:00.756.111.950 (XO: 39.756116196)
   Max dTM/dt [1/us]:1.87e+03 at an offset of 124.813 usec -> 2023-06-03T23:13:00.756.114.537 (XO: 39.756118784)
   Min dTM/dt [1/us]:-2.20e+03 at an offset of 122.313 usec -> 2023-06-03T23:13:00.756.112.037 (XO: 39.756116284)
