-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Dec 12 15:33:32 2021 UTC
-- File 20210812_010924_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 4.083314 to 58.563735
-each separately from 4s to 58s and from 83314us to 563735us.
   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, ...
      19.119711 in 1 packets: 18
      15.059760 in 1 packets: 36
      20.299794 in 1 packets: 54
MIU packet time from 2021-08-12T01:09:31.083.314.000 to 2021-08-12T01:10:25.563.735.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, ...
      19.119711 in 1 packets: 18
      15.059760 in 1 packets: 36
      20.299794 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 5.8473826 to 59.8472035
   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, ...
      18.9999368 in 1 packets: 18
      14.9999504 in 1 packets: 36
      19.9999337 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      03 -> 51.1 degC in 18 packets: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Temperature XO: 
      C1 -> 37.2 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 17 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      2 in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 17 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      2 in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
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 20210812_010924_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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 5.9306981 to 5.9309871
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.1196470  -- OK for SL --
   MIU time from 2021-08-12T01:09:31.083.314.000 to 2021-08-12T01:09:31.083.603.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.119711

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 25.0506341 to 25.0509231
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.0597110  -- OK for SL --
   MIU time from 2021-08-12T01:09:50.203.314.000 to 2021-08-12T01:09:50.203.603.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.059760

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 40.1106341 to 40.1109231
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.2997270  -- OK for SL --
   MIU time from 2021-08-12T01:10:05.263.363.000 to 2021-08-12T01:10:05.263.652.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.299794

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 60.4106501 to 60.4109391
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-12T01:10:25.563.446.000 to 2021-08-12T01:10:25.563.735.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 = 4, 32bit 10MHz counter = 5.930698100 corrected by 40bit 10MHz counter of 5.847382600 obtained at 1Hz counter of 4. Result: 4.083315775
--
   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.999996600 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-08-12T01:09:31.083.173.725
   Max 1st sample MIU time among all SL packets: 2021-08-12T01:10:25.563.594.725
   Min 1st sample XO time among all SL packets: 4.083175499
   Max 1st sample XO time among all SL packets: 58.563597241
   TM values from -269 to 210 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-12T01:09:31.083.173.725 (XO: 4.083175499 - 4.083481500, t=37.2 degC)  Rank: 00085
   TM values: Max =   198  Min =  -247  Ave =    -4.44  Std =    21.71
   Min TM value:-247 at an offset of 108.650 usec -> 2021-08-12T01:09:31.083.282.375 (XO: 4.083284150)
   Max TM value:198 at an offset of 108.363 usec -> 2021-08-12T01:09:31.083.282.087 (XO: 4.083283862)
   Max dTM/dt [1/us]:1.86e+03 at an offset of 111.038 usec -> 2021-08-12T01:09:31.083.284.762 (XO: 4.083286537)
   Min dTM/dt [1/us]:-1.98e+03 at an offset of 108.463 usec -> 2021-08-12T01:09:31.083.282.187 (XO: 4.083283962)

 - Block number: 2 starting at 2021-08-12T01:09:50.203.173.725 (XO: 23.203175095 - 23.203481096, t=37.2 degC)  Rank: 00080
   TM values: Max =   210  Min =  -269  Ave =    -4.40  Std =    31.20
   Min TM value:-269 at an offset of 101.700 usec -> 2021-08-12T01:09:50.203.275.425 (XO: 23.203276796)
   Max TM value:210 at an offset of 101.450 usec -> 2021-08-12T01:09:50.203.275.175 (XO: 23.203276546)
   Max dTM/dt [1/us]:1.95e+03 at an offset of 104.088 usec -> 2021-08-12T01:09:50.203.277.812 (XO: 23.203279183)
   Min dTM/dt [1/us]:-2.47e+03 at an offset of 101.563 usec -> 2021-08-12T01:09:50.203.275.287 (XO: 23.203276658)

 - Block number: 3 starting at 2021-08-12T01:10:05.263.222.725 (XO: 38.263224894 - 38.263530895, t=37.2 degC)  Rank: 00080
   TM values: Max =   208  Min =  -230  Ave =    -4.43  Std =    19.92
   Min TM value:-230 at an offset of 121.650 usec -> 2021-08-12T01:10:05.263.344.375 (XO: 38.263346544)
   Max TM value:208 at an offset of 121.325 usec -> 2021-08-12T01:10:05.263.344.050 (XO: 38.263346219)
   Max dTM/dt [1/us]:1.83e+03 at an offset of 124.050 usec -> 2021-08-12T01:10:05.263.346.775 (XO: 38.263348944)
   Min dTM/dt [1/us]:-2.10e+03 at an offset of 121.463 usec -> 2021-08-12T01:10:05.263.344.187 (XO: 38.263346357)

 - Block number: 4 starting at 2021-08-12T01:10:25.563.305.725 (XO: 58.563308240 - 58.563614241, t=37.2 degC)  Rank: 00078
   TM values: Max =   201  Min =  -237  Ave =    -4.49  Std =    21.19
   Min TM value:-237 at an offset of 111.650 usec -> 2021-08-12T01:10:25.563.417.375 (XO: 58.563419891)
   Max TM value:201 at an offset of 126.888 usec -> 2021-08-12T01:10:25.563.432.612 (XO: 58.563435128)
   Max dTM/dt [1/us]:1.55e+03 at an offset of 126.725 usec -> 2021-08-12T01:10:25.563.432.450 (XO: 58.563434966)
   Min dTM/dt [1/us]:-2.01e+03 at an offset of 111.475 usec -> 2021-08-12T01:10:25.563.417.200 (XO: 58.563419716)
