-- ERROR --
-----------------> BLESK ver.2021-02-27 run on Wed Apr 24 22:22:31 2024 UTC
-- File 20240420_035133_1227.dat, 103  packets found.
APID:
      1227 (SL) in 103 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 103 packets (all packets)
Total number of packets: 
      18 in 103 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
!!!ERROR: Last packet number must be = 18
Hz and MHz counters from 0.000087 to 75.055077
-each separately from 0s to 75s and from 87us to 55077us.
   Differences in neigboring packets: 
      0.000017 in 97 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      15.010611 in 1 packets: 18
      15.010706 in 1 packets: 36
      15.010659 in 1 packets: 54
      15.010707 in 1 packets: 72
      15.010658 in 1 packets: 90
MIU packet time from 2024-04-20T03:51:36.000.087.000 to 2024-04-20T03:52:51.055.077.000
   Differences in neigboring packets: 
      0.000017 in 97 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      15.010611 in 1 packets: 18
      15.010706 in 1 packets: 36
      15.010659 in 1 packets: 54
      15.010707 in 1 packets: 72
      15.010658 in 1 packets: 90
MIU orbit number: 
      60000 in 103 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 103 packets (all packets)
MIU orbit information / number of events: 
      0 in 103 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 103 packets (all packets)
Instrument anomalies: 
      0 (OK) in 103 packets (all packets)
FPGA configuration version: 
      211 in 103 packets (all packets)
10 MHz counter at the last 1Hz pulse from 1.9752879 to 76.9750298
   Differences in neigboring packets: 
      0.0000000 in 97 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      14.9999483 in 1 packets: 18
      14.9999484 in 4 packets: 36, 54, 72, 90
Temperature FPGA: 
      05 -> 48.5 degC in 103 packets (all packets)
Temperature XO: 
      C0 -> 35.6 degC in 103 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 103 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 103 packets (all packets)
Number of external events: 
      0 in 103 packets (all packets)
Number of generated alerts: 
      0 in 103 packets (all packets)
Survey memory error: 
      0 in 103 packets (all packets)
Event memory error: 
      0 in 103 packets (all packets)
Configuration error: 
      0 in 103 packets (all packets)
SDRAM CRC error: 
      0 in 103 packets (all packets)
Radio gain: 
      0 in 103 packets (all packets)
Radio bandwidth: 
      0 in 103 packets (all packets)
Digital gain: 
      0 in 103 packets (all packets)
Analog gain: 
      0 in 103 packets (all packets)
 
SURVEY DATA READER
-- File 20240420_035133_1227.dat, 5 SL data blocks found. Extra packets: 13.
   ERROR -  Extra packets
--
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:
      1 in 18 packets (all packets)  -- OK --
   10 MHz counter from 1.9753761 to 1.9756651
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.0105590  -- OK for SL --
   MIU time from 2024-04-20T03:51:36.000.087.000 to 2024-04-20T03:51:36.000.376.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.010611

 - 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:
      1 in 18 packets (all packets)  -- OK --
   10 MHz counter from 16.9862241 to 16.9865131
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.0106550  -- OK for SL --
   MIU time from 2024-04-20T03:51:51.010.987.000 to 2024-04-20T03:51:51.011.276.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.010706

 - 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:
      1 in 18 packets (all packets)  -- OK --
   10 MHz counter from 31.9971681 to 31.9974571
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.0106070  -- OK for SL --
   MIU time from 2024-04-20T03:52:06.021.982.000 to 2024-04-20T03:52:06.022.271.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.010659

 - 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:
      1 in 18 packets (all packets)  -- OK --
   10 MHz counter from 47.0080641 to 47.0083531
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.0106550  -- OK for SL --
   MIU time from 2024-04-20T03:52:21.032.930.000 to 2024-04-20T03:52:21.033.219.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.010707

 - Block number: 5 from the sequence of 18 packets.
   Block numbers in the data:
      5 in 18 packets (all packets)  -- OK --
   Ranks for SL, 0 for SR and SA:
      1 in 18 packets (all packets)  -- OK --
   10 MHz counter from 62.0190081 to 62.0192971
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2024-04-20T03:52:36.043.926.000 to 2024-04-20T03:52:36.044.215.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 90 points based on 89 XO calibration points at 1Hz counter from 0 to 88
   --- First point: 1Hz counter = 0, 32bit 10MHz counter = 1.975376100 corrected by 40bit 10MHz counter of 1.975287900 obtained at 1Hz counter of 0. Result: 0.000088200
--
   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.999996500 - 0.999996600
   Min 1st sample MIU time among all SL packets: 2024-04-20T03:51:35.999.946.725
   Max 1st sample MIU time among all SL packets: 2024-04-20T03:52:36.044.074.725
   Min 1st sample XO time among all SL packets: -0.000052075
   Max 1st sample XO time among all SL packets: 60.044075575
   TM values from -9 to 0 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2024-04-20T03:51:35.999.946.725 (XO: -0.000052075 - 0.000253926, t=35.6 degC)  Rank: 00001
   TM values: Max =     0  Min =    -9  Ave =    -4.34  Std =     0.54
   Min TM value:-9 at an offset of 18.863 usec -> 2024-04-20T03:51:35.999.965.587 (XO: -0.000033213)
   Max TM value:0 at an offset of 21.550 usec -> 2024-04-20T03:51:35.999.968.275 (XO: -0.000030525)
   Max dTM/dt [1/us]:4.20e+01 at an offset of 21.475 usec -> 2024-04-20T03:51:35.999.968.200 (XO: -0.000030600)
   Min dTM/dt [1/us]:-4.10e+01 at an offset of 18.763 usec -> 2024-04-20T03:51:35.999.965.487 (XO: -0.000033313)

 - Block number: 2 starting at 2024-04-20T03:51:51.010.846.725 (XO: 15.010847663 - 15.011153664, t=35.6 degC)  Rank: 00001
   TM values: Max =    -3  Min =    -6  Ave =    -4.53  Std =     0.50
   Min TM value:-6 at an offset of 0.488 usec -> 2024-04-20T03:51:51.010.847.212 (XO: 15.010848150)
   Max TM value:-3 at an offset of 164.776 usec -> 2024-04-20T03:51:51.011.011.500 (XO: 15.011012439)
   Max dTM/dt [1/us]:1.60e+01 at an offset of 171.326 usec -> 2024-04-20T03:51:51.011.018.050 (XO: 15.011018989)
   Min dTM/dt [1/us]:-1.60e+01 at an offset of 294.589 usec -> 2024-04-20T03:51:51.011.141.313 (XO: 15.011142251)

 - Block number: 3 starting at 2024-04-20T03:52:06.021.841.725 (XO: 30.021843301 - 30.022149303, t=35.6 degC)  Rank: 00001
   TM values: Max =    -3  Min =    -6  Ave =    -4.48  Std =     0.50
   Min TM value:-6 at an offset of 22.650 usec -> 2024-04-20T03:52:06.021.864.375 (XO: 30.021865952)
   Max TM value:-3 at an offset of 4.538 usec -> 2024-04-20T03:52:06.021.846.262 (XO: 30.021847839)
   Max dTM/dt [1/us]:1.30e+01 at an offset of 4.488 usec -> 2024-04-20T03:52:06.021.846.212 (XO: 30.021847789)
   Min dTM/dt [1/us]:-1.60e+01 at an offset of 220.676 usec -> 2024-04-20T03:52:06.022.062.400 (XO: 30.022063977)

 - Block number: 4 starting at 2024-04-20T03:52:21.032.789.725 (XO: 45.032790940 - 45.033096941, t=35.6 degC)  Rank: 00001
   TM values: Max =    -3  Min =    -6  Ave =    -4.52  Std =     0.50
   Min TM value:-6 at an offset of 34.450 usec -> 2024-04-20T03:52:21.032.824.175 (XO: 45.032825390)
   Max TM value:-3 at an offset of 51.138 usec -> 2024-04-20T03:52:21.032.840.862 (XO: 45.032842077)
   Max dTM/dt [1/us]:1.50e+01 at an offset of 200.688 usec -> 2024-04-20T03:52:21.032.990.413 (XO: 45.032991628)
   Min dTM/dt [1/us]:-1.20e+01 at an offset of 48.163 usec -> 2024-04-20T03:52:21.032.837.887 (XO: 45.032839102)

 - Block number: 5 starting at 2024-04-20T03:52:36.043.785.725 (XO: 60.043786574 - 60.044092575, t=35.6 degC)  Rank: 00001
   TM values: Max =    -3  Min =    -6  Ave =    -4.42  Std =     0.50
   Min TM value:-6 at an offset of 53.025 usec -> 2024-04-20T03:52:36.043.838.750 (XO: 60.043839599)
   Max TM value:-3 at an offset of 17.513 usec -> 2024-04-20T03:52:36.043.803.237 (XO: 60.043804086)
   Max dTM/dt [1/us]:1.40e+01 at an offset of 277.238 usec -> 2024-04-20T03:52:36.044.062.963 (XO: 60.044063812)
   Min dTM/dt [1/us]:-1.30e+01 at an offset of 52.988 usec -> 2024-04-20T03:52:36.043.838.712 (XO: 60.043839562)
