-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Mar 19 01:22:43 2023 UTC
-- File 20220613_135027_1227.dat, 54  packets found.
APID:
      1227 (SL) in 54 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 54 packets (all packets)
Total number of packets: 
      18 in 54 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 2.671541 to 33.012735
-each separately from 2s to 33s and from 12446us to 671830us.
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      20.980294 in 1 packets: 18
      9.360033 in 1 packets: 36
MIU packet time from 2022-06-13T13:50:32.671.541.000 to 2022-06-13T13:51:03.012.735.000
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      20.980294 in 1 packets: 18
      9.360033 in 1 packets: 36
MIU orbit number: 
      60000 in 54 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 54 packets (all packets)
MIU orbit information / number of events: 
      0 in 54 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 54 packets (all packets)
Instrument anomalies: 
      0 (OK) in 54 packets (all packets)
FPGA configuration version: 
      211 in 54 packets (all packets)
10 MHz counter at the last 1Hz pulse from 4.2537857 to 35.2536816
   Differences in neigboring packets: 
      0.0000000 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      20.9999295 in 1 packets: 18
      9.9999664 in 1 packets: 36
Temperature FPGA: 
      FF -> 56.3 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      FE -> 57.6 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Temperature XO: 
      C5 -> 43.6 degC in 54 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 54 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 54 packets (all packets)
Number of external events: 
      0 in 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Survey memory error: 
      0 in 54 packets (all packets)
Event memory error: 
      0 in 54 packets (all packets)
Configuration error: 
      0 in 54 packets (all packets)
SDRAM CRC error: 
      0 in 54 packets (all packets)
Radio gain: 
      0 in 54 packets (all packets)
Radio bandwidth: 
      0 in 54 packets (all packets)
Digital gain: 
      0 in 54 packets (all packets)
Analog gain: 
      0 in 54 packets (all packets)
 
SURVEY DATA READER
-- File 20220613_135027_1227.dat, 3 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:
      97 in 18 packets (all packets)  -- OK --
   10 MHz counter from 4.9253290 to 4.9256180
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.9802230  -- OK for SL --
   MIU time from 2022-06-13T13:50:32.671.541.000 to 2022-06-13T13:50:32.671.830.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.980294

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 25.9058410 to 25.9061300
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.3599990  -- OK for SL --
   MIU time from 2022-06-13T13:50:53.652.124.000 to 2022-06-13T13:50:53.652.413.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.360033

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 35.2661290 to 35.2664180
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-13T13:51:03.012.446.000 to 2022-06-13T13:51:03.012.735.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 54 points based on 44 XO calibration points at 1Hz counter from 0 to 43
   --- First point: 1Hz counter = 2, 32bit 10MHz counter = 4.925329000 corrected by 40bit 10MHz counter of 4.253785700 obtained at 1Hz counter of 2. Result: 2.671545583
--
   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.999996600
   Min 1st sample MIU time among all SL packets: 2022-06-13T13:50:32.671.400.725
   Max 1st sample MIU time among all SL packets: 2022-06-13T13:51:03.012.594.725
   Min 1st sample XO time among all SL packets: 2.671405308
   Max 1st sample XO time among all SL packets: 33.012596168
   TM values from -287 to 237 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-13T13:50:32.671.400.725 (XO: 2.671405308 - 2.671711309, t=43.6 degC)  Rank: 00097
   TM values: Max =   237  Min =  -253  Ave =    -4.52  Std =    23.84
   Min TM value:-253 at an offset of 110.275 usec -> 2022-06-13T13:50:32.671.511.000 (XO: 2.671515583)
   Max TM value:237 at an offset of 110.000 usec -> 2022-06-13T13:50:32.671.510.725 (XO: 2.671515308)
   Max dTM/dt [1/us]:1.58e+03 at an offset of 109.938 usec -> 2022-06-13T13:50:32.671.510.662 (XO: 2.671515246)
   Min dTM/dt [1/us]:-2.18e+03 at an offset of 110.163 usec -> 2022-06-13T13:50:32.671.510.887 (XO: 2.671515471)

 - Block number: 2 starting at 2022-06-13T13:50:53.651.983.725 (XO: 23.651987742 - 23.652293743, t=43.6 degC)  Rank: 00079
   TM values: Max =   195  Min =  -252  Ave =    -4.40  Std =    25.87
   Min TM value:-252 at an offset of 119.550 usec -> 2022-06-13T13:50:53.652.103.275 (XO: 23.652107292)
   Max TM value:195 at an offset of 121.775 usec -> 2022-06-13T13:50:53.652.105.500 (XO: 23.652109517)
   Max dTM/dt [1/us]:1.95e+03 at an offset of 149.601 usec -> 2022-06-13T13:50:53.652.133.325 (XO: 23.652137342)
   Min dTM/dt [1/us]:-2.09e+03 at an offset of 119.325 usec -> 2022-06-13T13:50:53.652.103.050 (XO: 23.652107067)

 - Block number: 3 starting at 2022-06-13T13:51:03.012.305.725 (XO: 33.012307167 - 33.012613168, t=43.6 degC)  Rank: 00081
   TM values: Max =   224  Min =  -287  Ave =    -4.46  Std =    29.62
   Min TM value:-287 at an offset of 190.201 usec -> 2022-06-13T13:51:03.012.495.925 (XO: 33.012497367)
   Max TM value:224 at an offset of 189.913 usec -> 2022-06-13T13:51:03.012.495.638 (XO: 33.012497080)
   Max dTM/dt [1/us]:1.77e+03 at an offset of 5.188 usec -> 2022-06-13T13:51:03.012.310.912 (XO: 33.012312354)
   Min dTM/dt [1/us]:-2.10e+03 at an offset of 147.538 usec -> 2022-06-13T13:51:03.012.453.263 (XO: 33.012454705)
