-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Jan 12 01:26:55 2022 UTC
-- File 20210915_175734_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 7.359998 to 58.443545
-each separately from 7s to 58s and from 359998us to 862025us.
   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, ...
      17.400871 in 1 packets: 18
      10.100289 in 1 packets: 36
      23.581231 in 1 packets: 54
MIU packet time from 2021-09-15T17:57:44.359.998.000 to 2021-09-15T17:58:35.443.545.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, ...
      17.400871 in 1 packets: 18
      10.100289 in 1 packets: 36
      23.581231 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 8.9141594 to 59.9139891
   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, ...
      16.9999432 in 1 packets: 18
      9.9999666 in 1 packets: 36
      23.9999199 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 72 packets (all packets)
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 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
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 20210915_175734_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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 9.2741579 to 9.2744469
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.4008150  -- OK for SL --
   MIU time from 2021-09-15T17:57:44.359.998.000 to 2021-09-15T17:57:44.360.287.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.400871

 - 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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 26.6752619 to 26.6755509
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.1002550  -- OK for SL --
   MIU time from 2021-09-15T17:58:01.761.158.000 to 2021-09-15T17:58:01.761.447.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.100289

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 36.7758059 to 36.7760949
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.5811510  -- OK for SL --
   MIU time from 2021-09-15T17:58:11.861.736.000 to 2021-09-15T17:58:11.862.025.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.581231

 - 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 60.3572459 to 60.3575349
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-15T17:58:35.443.256.000 to 2021-09-15T17:58:35.443.545.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 = 7, 32bit 10MHz counter = 9.274157900 corrected by 40bit 10MHz counter of 8.914159400 obtained at 1Hz counter of 7. Result: 7.359999724
--
   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-09-15T17:57:44.359.857.725
   Max 1st sample MIU time among all SL packets: 2021-09-15T17:58:35.443.404.725
   Min 1st sample XO time among all SL packets: 7.359859449
   Max 1st sample XO time among all SL packets: 58.443407033
   TM values from -322 to 258 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-15T17:57:44.359.857.725 (XO: 7.359859449 - 7.360165450, t=37.2 degC)  Rank: 00081
   TM values: Max =   250  Min =  -281  Ave =    -4.42  Std =    27.42
   Min TM value:-281 at an offset of 125.738 usec -> 2021-09-15T17:57:44.359.983.462 (XO: 7.359985186)
   Max TM value:250 at an offset of 125.450 usec -> 2021-09-15T17:57:44.359.983.175 (XO: 7.359984899)
   Max dTM/dt [1/us]:2.47e+03 at an offset of 128.088 usec -> 2021-09-15T17:57:44.359.985.812 (XO: 7.359987536)
   Min dTM/dt [1/us]:-2.58e+03 at an offset of 125.538 usec -> 2021-09-15T17:57:44.359.983.262 (XO: 7.359984986)

 - Block number: 2 starting at 2021-09-15T17:58:01.761.017.725 (XO: 24.761021536 - 24.761327537, t=37.2 degC)  Rank: 00082
   TM values: Max =   246  Min =  -277  Ave =    -4.37  Std =    25.06
   Min TM value:-277 at an offset of 130.550 usec -> 2021-09-15T17:58:01.761.148.275 (XO: 24.761152087)
   Max TM value:246 at an offset of 130.788 usec -> 2021-09-15T17:58:01.761.148.512 (XO: 24.761152324)
   Max dTM/dt [1/us]:2.42e+03 at an offset of 130.675 usec -> 2021-09-15T17:58:01.761.148.400 (XO: 24.761152212)
   Min dTM/dt [1/us]:-2.58e+03 at an offset of 128.150 usec -> 2021-09-15T17:58:01.761.145.875 (XO: 24.761149687)

 - Block number: 3 starting at 2021-09-15T17:58:11.861.595.725 (XO: 34.861599268 - 34.861905269, t=37.2 degC)  Rank: 00077
   TM values: Max =   239  Min =  -236  Ave =    -4.41  Std =    27.54
   Min TM value:-236 at an offset of 125.913 usec -> 2021-09-15T17:58:11.861.721.637 (XO: 34.861725181)
   Max TM value:239 at an offset of 128.563 usec -> 2021-09-15T17:58:11.861.724.287 (XO: 34.861727831)
   Max dTM/dt [1/us]:2.21e+03 at an offset of 128.375 usec -> 2021-09-15T17:58:11.861.724.100 (XO: 34.861727644)
   Min dTM/dt [1/us]:-1.97e+03 at an offset of 125.663 usec -> 2021-09-15T17:58:11.861.721.387 (XO: 34.861724931)

 - Block number: 4 starting at 2021-09-15T17:58:35.443.115.725 (XO: 58.443118032 - 58.443424033, t=37.2 degC)  Rank: 00079
   TM values: Max =   258  Min =  -322  Ave =    -4.42  Std =    28.16
   Min TM value:-322 at an offset of 94.688 usec -> 2021-09-15T17:58:35.443.210.412 (XO: 58.443212719)
   Max TM value:258 at an offset of 94.438 usec -> 2021-09-15T17:58:35.443.210.162 (XO: 58.443212469)
   Max dTM/dt [1/us]:2.56e+03 at an offset of 97.063 usec -> 2021-09-15T17:58:35.443.212.787 (XO: 58.443215094)
   Min dTM/dt [1/us]:-3.13e+03 at an offset of 94.563 usec -> 2021-09-15T17:58:35.443.210.287 (XO: 58.443212594)
