WSL/SLF GitLab Repository

  1. 21 Mar, 2013 1 commit
  2. 19 Mar, 2013 2 commits
  3. 18 Mar, 2013 1 commit
  4. 14 Mar, 2013 1 commit
  5. 13 Mar, 2013 1 commit
    • Mathias Bavay's avatar
      A rounding bug has been found in the Date class: when using a Date object in a... · 2ddc7feb
      Mathias Bavay authored
      A rounding bug has been found in the Date class: when using a Date object in a loop where it gets incremented, it accumulates errors and after ~70000 iterations, the error would get bigger than one second, making date comparisons with a fixed date impossible. This has been solved by always rounding the internal gmt Julian date to the closest second, after each assignment (from the constructors, the setDate() calls or any arithmetic operation). Moreover, the rounding methods have been re-written to be more efficient as well as other roundings (specially when computing the date decomposition from Julian). 
      
      The seek() call performing a binary search has also been simplified, in order to remove unnecessary tests, put some similar tests together and make the code clearer. 
      
      Some constification and better vector usage took place in ResamplingAlgorithms and Meteo1DInterpolator.
      2ddc7feb
  6. 12 Mar, 2013 1 commit
  7. 11 Mar, 2013 2 commits
  8. 10 Mar, 2013 2 commits
  9. 05 Mar, 2013 5 commits
  10. 04 Mar, 2013 1 commit
  11. 28 Feb, 2013 2 commits
  12. 21 Feb, 2013 2 commits
  13. 18 Feb, 2013 1 commit
  14. 15 Feb, 2013 2 commits
  15. 14 Feb, 2013 1 commit
    • Mathias Bavay's avatar
      In order to try to be closer to the spirit of the STL, now the empty... · 3f45c394
      Mathias Bavay authored
      In order to try to be closer to the spirit of the STL, now the empty strings/vectors/lists are tested with .empty(), the first/last elements of vectors accessed with front()/back(), the empty strings are not contructed with string("") but with string(), etc This makes a benchmark based on meteo_reading ~4% faster and this makes the code suprisingly easier to read. 
      
      Some extra constification took place as well as some minor code cleanup (optimizing the comparison between two vectors in order to perform less tests, etc).
      
      The Date class can now properly generate and parse full ISO timestamps, including time zone information. The full specification is now supported by convertString() with a helper method in the Date class. Ouputing an ISO string with its time zone is done by requesting the ISO_TZ format.
      
      
      3f45c394
  16. 13 Feb, 2013 2 commits
  17. 11 Feb, 2013 2 commits
  18. 08 Feb, 2013 1 commit
  19. 07 Feb, 2013 1 commit
    • Mathias Bavay's avatar
      The plugins used to keep a reference to a config object as provided by... · d13e0b75
      Mathias Bavay authored
      The plugins used to keep a reference to a config object as provided by IOManager. But this was triggering some warnings (reference to an object that might disappear outside of the constructor), therefore it has been replaced by a const copy (it is not yet 100% sure if this is really better, but at least the compilers won't complain).
      
      When a user was provinding IMISIO with a non-existing station name, the error messages were quite cryptic. In order to properly tell the user what happened, the code has been slightly reorganized. Some code clean up also took place in IMISIO.
      d13e0b75
  20. 02 Feb, 2013 1 commit
  21. 01 Feb, 2013 1 commit
  22. 31 Jan, 2013 2 commits
  23. 30 Jan, 2013 1 commit
    • Mathias Bavay's avatar
      The estimation of the average sampling rate was quite wrong: it was not... · 7a61d513
      Mathias Bavay authored
      The estimation of the average sampling rate was quite wrong: it was not correct for multiple stations or for partially empty buffers (ie giving an end date way beyond the real end of the data). It was also claiming to return a value in 1/s but instead it was 1/days. This now only takes into account the time interval when there is some data and properly handles multiple stations and returns a value in Hz (or 1/s). The documentation has been expanded. Also some code cleanup (constification).
      7a61d513
  24. 29 Jan, 2013 1 commit
  25. 28 Jan, 2013 2 commits
  26. 24 Jan, 2013 1 commit