WSL/SLF GitLab Repository

  1. 21 Feb, 2013 1 commit
  2. 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
  3. 13 Feb, 2013 1 commit
  4. 11 Feb, 2013 1 commit
  5. 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
  6. 01 Feb, 2013 1 commit
  7. 24 Jan, 2013 1 commit
  8. 22 Jan, 2013 1 commit
    • Mathias Bavay's avatar
      The detection of popc has been improved, the ARC plugin can now handle empty... · c4724474
      Mathias Bavay authored
      The detection of popc has been improved, the ARC plugin can now handle empty lines in the data section (since some versions of ArcGis produce such files) and the exceptions now remove the full path in front of the source file name when reporting the source code location of an exception (so the users would be less confused by this Desktop\Bavay\etc).
      c4724474
  9. 08 Jan, 2013 1 commit
  10. 03 Dec, 2012 2 commits
  11. 30 Nov, 2012 2 commits
    • Mathias Bavay's avatar
      The FileIndexer class has been expanded to cater to the needs of SMET (it is... · ebddecb6
      Mathias Bavay authored
      The FileIndexer class has been expanded to cater to the needs of SMET (it is not the most efficient, but for now...). A bug has been fixed that was leading to segfault. The explanation for the remaining slowness of SNIO has been found: the Config keys were re-read for every parsed line... It is now 10x faster, ie up to par with SMET (more or less).
      ebddecb6
    • Mathias Bavay's avatar
      The indexing for SNIO and SMETIO was not working (because of BUFF_READ_BEFORE,... · f531e8cd
      Mathias Bavay authored
      The indexing for SNIO and SMETIO was not working (because of BUFF_READ_BEFORE, we are almost never restarting exactly at the last read time step, but before). Moreover, SNIO was always reading the whole file, even past the specified dateEnd. This was extremely slow on large input file. This has been fixed. SNIO is still quite slow (it seems something like 10x compared to SMETIO), but it is much more acceptable. A file indexer class has been implemented in IOUtils.
      f531e8cd
  12. 28 Nov, 2012 1 commit
  13. 27 Nov, 2012 1 commit
  14. 26 Nov, 2012 1 commit
  15. 23 Nov, 2012 1 commit
  16. 21 Nov, 2012 1 commit
  17. 11 Nov, 2012 1 commit
  18. 05 Nov, 2012 3 commits
  19. 04 Nov, 2012 2 commits
  20. 03 Nov, 2012 2 commits
    • Thomas Egger's avatar
      Every former plugin now adds a definition. This define can be checked in... · 2161ae7b
      Thomas Egger authored
      Every former plugin now adds a definition. This define can be checked in IOHandler. This is not the best solution, because turning a plugin on or off results in compilation of the whole meteoio.
      2161ae7b
    • Thomas Egger's avatar
      The plugins are no longer separately loadable libraries, but are fully... · 5fadda07
      Thomas Egger authored
      The plugins are no longer separately loadable libraries, but are fully incorporated into libmeteoio. All classes and facilities that provided capabilites for the dynamic loading were deleted (DynamicLibrary). IOPlugin now holds a function pointer to an instantiation function for children of IOInterface. In IOHandler::registerPlugins() all plugins need to be registered with the key name, the class name, a pointer to an instance of the class and a function pointer to the instantiation function for the class (child of IOInterface). IOInterface lost some complexity and thus the constructor of the base class does not have to be called in derived classes anymore.
      
      The CMakeLists.txt files had to be updated to no longer make separate dynamically loadable libraries for each plugin, but to simply add the classes the user selectes to the meteoio library. 
      
      As a side effect the io.ini key GENERAL::PLUGINPATH is no longer necessary.
      5fadda07
  21. 31 Oct, 2012 1 commit
  22. 25 Oct, 2012 1 commit
  23. 19 Sep, 2012 1 commit
  24. 31 Aug, 2012 1 commit
  25. 09 Aug, 2012 1 commit
  26. 07 Aug, 2012 1 commit
    • Mathias Bavay's avatar
      New warnings have been tried to detect variable shadowing (one variable... · dd895aa0
      Mathias Bavay authored
      New warnings have been tried to detect variable shadowing (one variable declared with the same name as another one), alignement issues, etc. This produces very verbose output (not all warnings are legitimate) but allowed to fix lots of cases of misalignement and shadowing issues. These options have been left in the CMakeLists but NOT enabled (since these warnings are not so easy to interpret).
      dd895aa0
  27. 25 Jun, 2012 1 commit
  28. 23 Jun, 2012 1 commit
  29. 20 Jun, 2012 1 commit
    • Mathias Bavay's avatar
      The MeteoData == operator now compares with an epsilon. The... · 8e49698d
      Mathias Bavay authored
      The MeteoData == operator now compares with an epsilon. The chekEpsilonEquality function has been rewritten, according to best practise and inlined. The powN functions have been moved to MathOptim and inlined. This makes the benchmarks 2% faster, that's such a victory...
      8e49698d
  30. 16 Jun, 2012 1 commit
  31. 11 Jun, 2012 1 commit
    • Mathias Bavay's avatar
      Since the autotools are obsolete (and unmaintained) in MeteoIO, they have been... · 11fb1ed6
      Mathias Bavay authored
      Since the autotools are obsolete (and unmaintained) in MeteoIO, they have been removed. The popc++ version can be compiled with cmake (with some tricks: disable GSN and force the compiler to popcc). 
      
      For consistency, the various definitions of ot_deg and to_rad have been suppressed and replaced by Cst::to_deg or Cst::to_rad. Some mentions of the Earth's radius have been replaced by Cst::earth_R0. In Coords, some variables have been declared as const.
      11fb1ed6
  32. 05 Jun, 2012 1 commit
  33. 24 May, 2012 2 commits