WSL/SLF GitLab Repository

  1. 09 Aug, 2013 1 commit
  2. 05 Aug, 2013 1 commit
  3. 31 Jul, 2013 1 commit
    • Mathias Bavay's avatar
      The method to clear the buffers in BufferedIOHandler was not doing everything... · 8a762fbc
      Mathias Bavay authored
      The method to clear the buffers in BufferedIOHandler was not doing everything it should. Some methods in BufferedIOHandler and IOManager have been made const. The issues 117 and 272 have been adressed: the IOHandler now checks that timestamps are unique and in increasing order. This check has therefore been removed from SMETIO.
      8a762fbc
  4. 15 Jul, 2013 1 commit
  5. 21 Feb, 2013 1 commit
  6. 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
  7. 11 Feb, 2013 1 commit
  8. 24 Jan, 2013 1 commit
  9. 03 Dec, 2012 1 commit
  10. 03 Nov, 2012 1 commit
    • 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
  11. 31 Oct, 2012 1 commit
  12. 25 Oct, 2012 1 commit
  13. 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
  14. 25 Jun, 2012 1 commit
  15. 16 Jun, 2012 1 commit
  16. 03 May, 2012 2 commits
  17. 29 Mar, 2012 1 commit
    • Mathias Bavay's avatar
      An extra check on the timestamp has been added in SMETIO in order to throw an... · 0e8adc0a
      Mathias Bavay authored
      An extra check on the timestamp has been added in SMETIO in order to throw an exception for duplicated timestamps or non chronological order (as happens with daylight saving time). Some private methods in libinterpol2D as well as some () operators for the arrays are now inline in order to help autovectorization find more potentially vectorizable code (and it finds some more). An arithmetic exception could happen in FilterRate (division by 0) and has been fixed.
      0e8adc0a
  18. 26 Mar, 2012 1 commit
  19. 13 Mar, 2012 1 commit
  20. 11 Feb, 2012 1 commit
    • Thomas Egger's avatar
      Bugfix for libsmet and thus release of the readSpecialPoints function in... · 64036efa
      Thomas Egger authored
      Bugfix for libsmet and thus release of the readSpecialPoints function in SMETIO.cc. It is now possible to read a vector of Coords objects through SMETIO, the format of the SMET file could be something like this:
      
      SMET 1.1 ASCII
      [HEADER]
      station_id = my_pts
      epsg 	   = 32632
      nodata	   = -999
      fields 	   = easting northing altitude
      [DATA]
      713700 5.05578e+06 0
      730900 5.15678e+06 0
      674200 5.06278e+06 0
      674400 5.08078e+06 0
      
      64036efa
  21. 27 Jan, 2012 1 commit
  22. 22 Dec, 2011 1 commit
    • Mathias Bavay's avatar
      This addresses the 2D part of issue 168: the ability to specify which meteo... · 8ad5d61f
      Mathias Bavay authored
      This addresses the 2D part of issue 168: the ability to specify which meteo parameter and time step to read/write from/to a 2D grid. This should be the prefered reading method in the future, since it leaves to the plugin the task of building the file name, extension, database table, etc This also provides added metadata and more control over the writing process.
      8ad5d61f
  23. 18 Nov, 2011 1 commit
  24. 07 Nov, 2011 1 commit
  25. 02 Nov, 2011 1 commit
    • Mathias Bavay's avatar
      A new method, getExtension() has been added to IOUtils in order to return the... · 7c5227cc
      Mathias Bavay authored
      A new method, getExtension() has been added to IOUtils in order to return the extension of a given filename. This is used by the SMETIO and SNIO plugins to automatically add the proper extension to input file names if they don't already have one.
      
      The Median Average Deviation filter has been ported (and validated) to the new filtering infrastructure.
      
      Several error messages have been improved.
      7c5227cc
  26. 01 Nov, 2011 1 commit
  27. 23 Oct, 2011 1 commit
  28. 21 Oct, 2011 1 commit
  29. 17 Oct, 2011 1 commit
  30. 19 Sep, 2011 1 commit
    • Thomas Egger's avatar
      Performance boost: Redesign of class MeteoData. The individual public double... · 8d46d04d
      Thomas Egger authored
      Performance boost: Redesign of class MeteoData. The individual public double members like tss, ta, rh have been removed and instead of the rather complicated internal representation with the help of std::map and pointers, the MeteoData object now holds all its important information in one double vector (meteo data) and one string vector (parameter names). Thus the overloaded copy constructor could be slashed radically. This leads to huge performance gains, especially when dealing with huge vectors of MeteoData (which are needed for filtering, resampling, etc).
      
      Furthermore the access to the meteo parameters has been simpleified by overloading the operator(), replacing the old .param(size_t index) and .param(string paramname) functions:
      
      MeteoData md;
      double ta = md(MeteoData::TA);
      
      OR
      
      double ta = md("TA");
      
      These changes were propagated into all of MeteoIO.
      8d46d04d
  31. 13 Sep, 2011 1 commit
    • Thomas Egger's avatar
      SMETIO: Further development of the writeMeteoData procedure. Now all meteo... · f9d816e2
      Thomas Egger authored
      SMETIO: Further development of the writeMeteoData procedure. Now all meteo parameters present in the MeteoData objects can be written (so not only the standard ones like MeteoData::TA, MeteoData::RH, etc). This lead to a slight reorganization of the code. Comments were added for private member functions.
      
      GSNIO: More comments explaining the mapping between the GSN meteo data fields and the MeteoData meteo parameters.
      f9d816e2
  32. 24 Aug, 2011 2 commits
  33. 23 Aug, 2011 2 commits
  34. 22 Aug, 2011 2 commits
  35. 16 Aug, 2011 1 commit
    • Mathias Bavay's avatar
      The VW_MAX field was not properly handled in SMETIO. The failure count has... · 2ca6d716
      Mathias Bavay authored
      The VW_MAX field was not properly handled in SMETIO. The failure count has been slightly improved in SNIO (to decrease the number of failures when a model could recover: if ILWR is not provided but TSS is, we don't count it as a failure anymore). 
      
      The implementation of the krigging is moving forward. A bug has been found and fixed in Fit1D, a variogram is now computed (but not using a true covariance, which prevents our krigging from properly working). 
      
      The #define NOSAFECHECKS have been deleted and replaced by a definition by the CMakeLists when in debug mode. This means that when compiling in debug mode, the code will be quite slower but will properly check and report out of bounds access in tables and matrix.
      2ca6d716
  36. 08 Aug, 2011 1 commit