-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Jul  8 00:02:46 2023 UTC
-- File 20230628_230130_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 5.467211 to 34.029430
-each separately from 5s to 34s and from 29141us to 698471us.
   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.230682 in 1 packets: 18
      12.330670 in 1 packets: 36
MIU packet time from 2023-06-28T23:01:38.467.211.000 to 2023-06-28T23:02:07.029.430.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.230682 in 1 packets: 18
      12.330670 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 6.8532881 to 35.8531821
   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.9999416 in 1 packets: 18
      12.9999524 in 1 packets: 36
Temperature FPGA: 
      05 -> 48.5 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      04 -> 49.8 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 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 20230628_230130_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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 7.3205000 to 7.3207890
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.2306230  -- OK for SL --
   MIU time from 2023-06-28T23:01:38.467.211.000 to 2023-06-28T23:01:38.467.500.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.230682

 - 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 23.5514120 to 23.5517010
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.3306230  -- OK for SL --
   MIU time from 2023-06-28T23:01:54.698.182.000 to 2023-06-28T23:01:54.698.471.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.330670

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 35.8823240 to 35.8826130
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-06-28T23:02:07.029.141.000 to 2023-06-28T23:02:07.029.430.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 = 5, 32bit 10MHz counter = 7.320500000 corrected by 40bit 10MHz counter of 6.853288100 obtained at 1Hz counter of 5. Result: 5.467213582
--
   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-06-28T23:01:38.467.070.725
   Max 1st sample MIU time among all SL packets: 2023-06-28T23:02:07.029.289.725
   Min 1st sample XO time among all SL packets: 5.467073306
   Max 1st sample XO time among all SL packets: 34.029290730
   TM values from -290 to 231 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-06-28T23:01:38.467.070.725 (XO: 5.467073306 - 5.467379308, t=37.2 degC)  Rank: 00084
   TM values: Max =   231  Min =  -290  Ave =    -4.51  Std =    24.61
   Min TM value:-290 at an offset of 98.900 usec -> 2023-06-28T23:01:38.467.169.625 (XO: 5.467172207)
   Max TM value:231 at an offset of 85.938 usec -> 2023-06-28T23:01:38.467.156.662 (XO: 5.467159244)
   Max dTM/dt [1/us]:2.14e+03 at an offset of 101.488 usec -> 2023-06-28T23:01:38.467.172.212 (XO: 5.467174794)
   Min dTM/dt [1/us]:-2.40e+03 at an offset of 98.750 usec -> 2023-06-28T23:01:38.467.169.475 (XO: 5.467172057)

 - Block number: 2 starting at 2023-06-28T23:01:54.698.041.725 (XO: 21.698044608 - 21.698350609, t=37.2 degC)  Rank: 00076
   TM values: Max =   195  Min =  -243  Ave =    -4.54  Std =    20.00
   Min TM value:-243 at an offset of 104.400 usec -> 2023-06-28T23:01:54.698.146.125 (XO: 21.698149008)
   Max TM value:195 at an offset of 104.650 usec -> 2023-06-28T23:01:54.698.146.375 (XO: 21.698149258)
   Max dTM/dt [1/us]:2.06e+03 at an offset of 104.500 usec -> 2023-06-28T23:01:54.698.146.225 (XO: 21.698149108)
   Min dTM/dt [1/us]:-1.99e+03 at an offset of 101.763 usec -> 2023-06-28T23:01:54.698.143.487 (XO: 21.698146371)

 - Block number: 3 starting at 2023-06-28T23:02:07.029.000.725 (XO: 34.029001729 - 34.029307731, t=37.2 degC)  Rank: 00079
   TM values: Max =   213  Min =  -243  Ave =    -4.56  Std =    21.69
   Min TM value:-243 at an offset of 123.800 usec -> 2023-06-28T23:02:07.029.124.525 (XO: 34.029125530)
   Max TM value:213 at an offset of 123.525 usec -> 2023-06-28T23:02:07.029.124.250 (XO: 34.029125255)
   Max dTM/dt [1/us]:1.94e+03 at an offset of 126.400 usec -> 2023-06-28T23:02:07.029.127.125 (XO: 34.029128130)
   Min dTM/dt [1/us]:-2.08e+03 at an offset of 123.675 usec -> 2023-06-28T23:02:07.029.124.400 (XO: 34.029125405)
