-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Jun  2 00:44:24 2023 UTC
-- File 20230601_103939_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 2.203300 to 57.304180
-each separately from 2s to 57s and from 203300us to 758587us.
   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, ...
      25.554709 in 1 packets: 18
      15.972727 in 1 packets: 36
      13.572288 in 1 packets: 54
MIU packet time from 2023-06-01T10:39:44.203.300.000 to 2023-06-01T10:40:39.304.180.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, ...
      25.554709 in 1 packets: 18
      15.972727 in 1 packets: 36
      13.572288 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 3.9521180 to 58.9519271
   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, ...
      24.9999132 in 1 packets: 18
      15.9999444 in 1 packets: 36
      13.9999515 in 1 packets: 54
Temperature FPGA: 
      01 -> 53.7 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      02 -> 52.4 degC in 36 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, ...
Temperature XO: 
      C3 -> 40.4 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 1 packets: 1
      1 in 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 20230601_103939_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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 4.1554191 to 4.1557081
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 25.5546230  -- OK for SL --
   MIU time from 2023-06-01T10:39:44.203.300.000 to 2023-06-01T10:39:44.203.589.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 25.554709

 - 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 29.7103311 to 29.7106201
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.9726710  -- OK for SL --
   MIU time from 2023-06-01T10:40:09.758.298.000 to 2023-06-01T10:40:09.758.587.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.972727

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 45.6832911 to 45.6835801
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.5722390  -- OK for SL --
   MIU time from 2023-06-01T10:40:25.731.314.000 to 2023-06-01T10:40:25.731.603.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.572288

 - 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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 59.2558191 to 59.2561081
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-06-01T10:40:39.303.891.000 to 2023-06-01T10:40:39.304.180.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 = 2, 32bit 10MHz counter = 4.155419100 corrected by 40bit 10MHz counter of 3.952118000 obtained at 1Hz counter of 2. Result: 2.203301791
--
   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.999996500 - 0.999996600
   Min 1st sample MIU time among all SL packets: 2023-06-01T10:39:44.203.159.725
   Max 1st sample MIU time among all SL packets: 2023-06-01T10:40:39.304.039.725
   Min 1st sample XO time among all SL packets: 2.203161516
   Max 1st sample XO time among all SL packets: 57.304041759
   TM values from -244 to 188 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-06-01T10:39:44.203.159.725 (XO: 2.203161516 - 2.203467517, t=40.4 degC)  Rank: 00082
   TM values: Max =   183  Min =  -244  Ave =    -4.34  Std =    17.48
   Min TM value:-244 at an offset of 120.675 usec -> 2023-06-01T10:39:44.203.280.400 (XO: 2.203282191)
   Max TM value:183 at an offset of 125.663 usec -> 2023-06-01T10:39:44.203.285.387 (XO: 2.203287179)
   Max dTM/dt [1/us]:1.56e+03 at an offset of 123.213 usec -> 2023-06-01T10:39:44.203.282.937 (XO: 2.203284729)
   Min dTM/dt [1/us]:-1.86e+03 at an offset of 108.175 usec -> 2023-06-01T10:39:44.203.267.900 (XO: 2.203269691)

 - Block number: 2 starting at 2023-06-01T10:40:09.758.157.725 (XO: 27.758162279 - 27.758468280, t=40.4 degC)  Rank: 00070
   TM values: Max =   168  Min =  -229  Ave =    -4.42  Std =    17.24
   Min TM value:-229 at an offset of 96.900 usec -> 2023-06-01T10:40:09.758.254.625 (XO: 27.758259179)
   Max TM value:168 at an offset of 102.013 usec -> 2023-06-01T10:40:09.758.259.737 (XO: 27.758264291)
   Max dTM/dt [1/us]:1.64e+03 at an offset of 99.438 usec -> 2023-06-01T10:40:09.758.257.162 (XO: 27.758261716)
   Min dTM/dt [1/us]:-1.66e+03 at an offset of 96.788 usec -> 2023-06-01T10:40:09.758.254.512 (XO: 27.758259066)

 - Block number: 3 starting at 2023-06-01T10:40:25.731.173.725 (XO: 43.731177711 - 43.731483712, t=40.4 degC)  Rank: 00076
   TM values: Max =   188  Min =  -228  Ave =    -4.46  Std =    18.54
   Min TM value:-228 at an offset of 120.475 usec -> 2023-06-01T10:40:25.731.294.200 (XO: 43.731298186)
   Max TM value:188 at an offset of 107.775 usec -> 2023-06-01T10:40:25.731.281.500 (XO: 43.731285486)
   Max dTM/dt [1/us]:1.47e+03 at an offset of 122.988 usec -> 2023-06-01T10:40:25.731.296.712 (XO: 43.731300699)
   Min dTM/dt [1/us]:-1.90e+03 at an offset of 107.875 usec -> 2023-06-01T10:40:25.731.281.600 (XO: 43.731285586)

 - Block number: 4 starting at 2023-06-01T10:40:39.303.750.725 (XO: 57.303752758 - 57.304058759, t=40.4 degC)  Rank: 00082
   TM values: Max =   161  Min =  -208  Ave =    -4.50  Std =    16.53
   Min TM value:-208 at an offset of 120.550 usec -> 2023-06-01T10:40:39.303.871.275 (XO: 57.303873308)
   Max TM value:161 at an offset of 125.775 usec -> 2023-06-01T10:40:39.303.876.500 (XO: 57.303878533)
   Max dTM/dt [1/us]:1.70e+03 at an offset of 123.113 usec -> 2023-06-01T10:40:39.303.873.837 (XO: 57.303875871)
   Min dTM/dt [1/us]:-1.49e+03 at an offset of 125.900 usec -> 2023-06-01T10:40:39.303.876.625 (XO: 57.303878658)
