-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Jun  7 00:21:59 2021 UTC
-- File 20210524_152657_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 3.929669 to 59.420999
-each separately from 3s to 59s and from 23760us to 929958us.
   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, ...
      11.093802 in 1 packets: 18
      15.091496 in 1 packets: 36
      29.304876 in 1 packets: 54
MIU packet time from 2021-05-24T15:27:03.929.669.000 to 2021-05-24T15:27:59.420.999.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, ...
      11.093802 in 1 packets: 18
      15.091496 in 1 packets: 36
      29.304876 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 4.7975415 to 60.7973322
   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, ...
      11.9999553 in 1 packets: 18
      14.9999439 in 1 packets: 36
      28.9998915 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      06 -> 47.2 degC in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Temperature XO: 
      BF -> 34.0 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 20210524_152657_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.7272103 to 5.7274993
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.0937590  -- OK for SL --
   MIU time from 2021-05-24T15:27:03.929.669.000 to 2021-05-24T15:27:03.929.958.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.093802

 - 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:
      7 in 18 packets (all packets)  -- OK --
   10 MHz counter from 16.8212583 to 16.8215473
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.0914390  -- OK for SL --
   MIU time from 2021-05-24T15:27:15.023.760.000 to 2021-05-24T15:27:15.024.049.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.091496

 - 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:
      7 in 18 packets (all packets)  -- OK --
   10 MHz counter from 31.9129863 to 31.9132753
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 29.3047670  -- OK for SL --
   MIU time from 2021-05-24T15:27:30.115.545.000 to 2021-05-24T15:27:30.115.834.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 29.304876

 - 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:
      116 in 18 packets (all packets)  -- OK --
   10 MHz counter from 61.2180423 to 61.2183313
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-05-24T15:27:59.420.710.000 to 2021-05-24T15:27:59.420.999.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 = 3, 32bit 10MHz counter = 5.727210300 corrected by 40bit 10MHz counter of 4.797541500 obtained at 1Hz counter of 3. Result: 3.929672240
--
   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.999996200 - 0.999996300
   Min 1st sample MIU time among all SL packets: 2021-05-24T15:27:03.929.528.725
   Max 1st sample MIU time among all SL packets: 2021-05-24T15:27:59.420.858.725
   Min 1st sample XO time among all SL packets: 3.929531964
   Max 1st sample XO time among all SL packets: 59.420860382
   TM values from -589 to 394 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-05-24T15:27:03.929.528.725 (XO: 3.929531964 - 3.929837965, t=34.0 degC)  Rank: 00085
   TM values: Max =   178  Min =  -298  Ave =    -4.51  Std =    19.99
   Min TM value:-298 at an offset of 119.088 usec -> 2021-05-24T15:27:03.929.647.812 (XO: 3.929651052)
   Max TM value:178 at an offset of 121.313 usec -> 2021-05-24T15:27:03.929.650.037 (XO: 3.929653277)
   Max dTM/dt [1/us]:1.04e+03 at an offset of 119.213 usec -> 2021-05-24T15:27:03.929.647.937 (XO: 3.929651177)
   Min dTM/dt [1/us]:-9.96e+02 at an offset of 118.975 usec -> 2021-05-24T15:27:03.929.647.700 (XO: 3.929650940)

 - Block number: 2 starting at 2021-05-24T15:27:15.023.619.725 (XO: 15.023621315 - 15.023927316, t=34.0 degC)  Rank: 00007
   TM values: Max =    17  Min =   -27  Ave =    -4.45  Std =     7.46
   Min TM value:-27 at an offset of 93.000 usec -> 2021-05-24T15:27:15.023.712.725 (XO: 15.023714315)
   Max TM value:17 at an offset of 125.775 usec -> 2021-05-24T15:27:15.023.745.500 (XO: 15.023747090)
   Max dTM/dt [1/us]:1.21e+02 at an offset of 120.825 usec -> 2021-05-24T15:27:15.023.740.550 (XO: 15.023742140)
   Min dTM/dt [1/us]:-1.52e+02 at an offset of 107.725 usec -> 2021-05-24T15:27:15.023.727.450 (XO: 15.023729040)

 - Block number: 3 starting at 2021-05-24T15:27:30.115.404.725 (XO: 30.115405764 - 30.115711765, t=34.0 degC)  Rank: 00007
   TM values: Max =    18  Min =   -27  Ave =    -4.47  Std =     7.22
   Min TM value:-27 at an offset of 195.988 usec -> 2021-05-24T15:27:30.115.600.713 (XO: 30.115601752)
   Max TM value:18 at an offset of 126.813 usec -> 2021-05-24T15:27:30.115.531.537 (XO: 30.115532577)
   Max dTM/dt [1/us]:1.44e+02 at an offset of 59.375 usec -> 2021-05-24T15:27:30.115.464.100 (XO: 30.115465139)
   Min dTM/dt [1/us]:-1.24e+02 at an offset of 136.263 usec -> 2021-05-24T15:27:30.115.540.988 (XO: 30.115542027)

 - Block number: 4 starting at 2021-05-24T15:27:59.420.569.725 (XO: 59.420571381 - 59.420877382, t=34.0 degC)  Rank: 00116
   TM values: Max =   394  Min =  -589  Ave =    -4.59  Std =    38.85
   Min TM value:-589 at an offset of 120.000 usec -> 2021-05-24T15:27:59.420.689.725 (XO: 59.420691382)
   Max TM value:394 at an offset of 120.475 usec -> 2021-05-24T15:27:59.420.690.200 (XO: 59.420691857)
   Max dTM/dt [1/us]:5.08e+03 at an offset of 250.851 usec -> 2021-05-24T15:27:59.420.820.575 (XO: 59.420822232)
   Min dTM/dt [1/us]:-4.36e+03 at an offset of 119.950 usec -> 2021-05-24T15:27:59.420.689.675 (XO: 59.420691332)
