-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 23 07:52:16 2023 UTC
-- File 20210627_085146_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 8.395031 to 57.677674
-each separately from 8s to 57s and from 121541us to 824354us.
   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, ...
      7.428745 in 1 packets: 18
      18.297187 in 1 packets: 36
      23.555555 in 1 packets: 54
MIU packet time from 2021-06-27T08:51:54.395.031.000 to 2021-06-27T08:52:43.677.674.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, ...
      7.428745 in 1 packets: 18
      18.297187 in 1 packets: 36
      23.555555 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 9.9036036 to 58.9034263
   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, ...
      6.9999747 in 1 packets: 18
      18.9999314 in 1 packets: 36
      22.9999166 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 72 packets (all packets)
Temperature XO: 
      C0 -> 35.6 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: 
      1 in 1 packets: 1
      2 in 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Number of generated alerts: 
      1 in 1 packets: 1
      2 in 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
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 20210627_085146_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 10.2986355 to 10.2989245
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 7.4287190  -- OK for SL --
   MIU time from 2021-06-27T08:51:54.395.031.000 to 2021-06-27T08:51:54.395.320.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 7.428745

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 17.7276435 to 17.7279325
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.2971190  -- OK for SL --
   MIU time from 2021-06-27T08:52:01.824.065.000 to 2021-06-27T08:52:01.824.354.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.297187

 - 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 36.0250515 to 36.0253405
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.5554710  -- OK for SL --
   MIU time from 2021-06-27T08:52:20.121.541.000 to 2021-06-27T08:52:20.121.830.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.555555

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 59.5808115 to 59.5811005
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-06-27T08:52:43.677.385.000 to 2021-06-27T08:52:43.677.674.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 = 8, 32bit 10MHz counter = 10.298635500 corrected by 40bit 10MHz counter of 9.903603600 obtained at 1Hz counter of 8. Result: 8.395033322
--
   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.999996500
   Min 1st sample MIU time among all SL packets: 2021-06-27T08:51:54.394.890.725
   Max 1st sample MIU time among all SL packets: 2021-06-27T08:52:43.677.533.725
   Min 1st sample XO time among all SL packets: 8.394893047
   Max 1st sample XO time among all SL packets: 57.677536432
   TM values from -268 to 231 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-06-27T08:51:54.394.890.725 (XO: 8.394893047 - 8.395199048, t=35.6 degC)  Rank: 00082
   TM values: Max =   199  Min =  -233  Ave =    -4.36  Std =    18.82
   Min TM value:-233 at an offset of 113.163 usec -> 2021-06-27T08:51:54.395.003.887 (XO: 8.395006210)
   Max TM value:199 at an offset of 113.500 usec -> 2021-06-27T08:51:54.395.004.225 (XO: 8.395006547)
   Max dTM/dt [1/us]:1.82e+03 at an offset of 113.275 usec -> 2021-06-27T08:51:54.395.004.000 (XO: 8.395006322)
   Min dTM/dt [1/us]:-1.87e+03 at an offset of 110.663 usec -> 2021-06-27T08:51:54.395.001.387 (XO: 8.395003710)

 - Block number: 2 starting at 2021-06-27T08:52:01.823.924.725 (XO: 15.823927809 - 15.824233810, t=35.6 degC)  Rank: 00078
   TM values: Max =   195  Min =  -241  Ave =    -4.35  Std =    19.10
   Min TM value:-241 at an offset of 114.800 usec -> 2021-06-27T08:52:01.824.039.525 (XO: 15.824042609)
   Max TM value:195 at an offset of 114.475 usec -> 2021-06-27T08:52:01.824.039.200 (XO: 15.824042284)
   Max dTM/dt [1/us]:1.70e+03 at an offset of 117.200 usec -> 2021-06-27T08:52:01.824.041.925 (XO: 15.824045009)
   Min dTM/dt [1/us]:-1.94e+03 at an offset of 114.638 usec -> 2021-06-27T08:52:01.824.039.362 (XO: 15.824042447)

 - Block number: 3 starting at 2021-06-27T08:52:20.121.400.725 (XO: 34.121401974 - 34.121707975, t=35.6 degC)  Rank: 00076
   TM values: Max =   191  Min =  -234  Ave =    -4.39  Std =    27.44
   Min TM value:-234 at an offset of 112.063 usec -> 2021-06-27T08:52:20.121.512.787 (XO: 34.121514037)
   Max TM value:191 at an offset of 114.675 usec -> 2021-06-27T08:52:20.121.515.400 (XO: 34.121516650)
   Max dTM/dt [1/us]:1.72e+03 at an offset of 192.338 usec -> 2021-06-27T08:52:20.121.593.063 (XO: 34.121594312)
   Min dTM/dt [1/us]:-1.79e+03 at an offset of 100.113 usec -> 2021-06-27T08:52:20.121.500.837 (XO: 34.121502087)

 - Block number: 4 starting at 2021-06-27T08:52:43.677.244.725 (XO: 57.677247431 - 57.677553432, t=35.6 degC)  Rank: 00079
   TM values: Max =   231  Min =  -268  Ave =    -4.41  Std =    21.90
   Min TM value:-268 at an offset of 126.388 usec -> 2021-06-27T08:52:43.677.371.112 (XO: 57.677373819)
   Max TM value:231 at an offset of 126.088 usec -> 2021-06-27T08:52:43.677.370.812 (XO: 57.677373519)
   Max dTM/dt [1/us]:2.00e+03 at an offset of 124.075 usec -> 2021-06-27T08:52:43.677.368.800 (XO: 57.677371506)
   Min dTM/dt [1/us]:-2.24e+03 at an offset of 126.213 usec -> 2021-06-27T08:52:43.677.370.937 (XO: 57.677373644)
