WSL/SLF GitLab Repository

  1. 04 Sep, 2014 1 commit
  2. 15 Aug, 2014 1 commit
    • Mathias Bavay's avatar
      Some documentation bugs have been fixed (multiple links definitions for... · 9ff65eb0
      Mathias Bavay authored
      Some documentation bugs have been fixed (multiple links definitions for doxygen). The config.dox file has been updated (in order to remove the warnings for obsolete keys). The parameter exclusion feature has been documented and now supports both a space delimited external file or by keys such as WFJ2::exclude = TA RH HS
      9ff65eb0
  3. 28 Apr, 2014 1 commit
  4. 02 Nov, 2013 1 commit
  5. 31 Oct, 2013 1 commit
    • Mathias Bavay's avatar
      The cmake files for compiling with LibXML++ have been updated since they would... · 6a1729e9
      Mathias Bavay authored
      The cmake files for compiling with LibXML++ have been updated since they would not work with more recent Linux (but we should consider dropping LibXML++ and only rely on LibXML2 in order to reduce the dependencies and package finding mess). The special points are now called POI (Points of Interest, like for a gps device) in order to make them more familiar.
      6a1729e9
  6. 05 Oct, 2013 1 commit
  7. 26 Aug, 2013 1 commit
    • Mathias Bavay's avatar
      The Config class now has a method getValues() to retrieve in a vector of type... · 28da250f
      Mathias Bavay authored
      The Config class now has a method getValues() to retrieve in a vector of type T all values whose keys match a given pattern. This makes it possible to retrieve in one call all the Input::STATIONx values even in the case of discontinuous numbering (issue 341) as well as easily get the number of stations declared in io.ini (issue 220). This number of stations is not guaranteed to work (since some plugins don't list the input stations in io.ini) but should guide memory allocation in user code anyway.
      
      A reference has been fixed in Suntrajectory, redundant errort checking has been removed from GeneratorAlgorithms.
      28da250f
  8. 09 Aug, 2013 1 commit
  9. 05 Aug, 2013 1 commit
  10. 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
  11. 15 Jul, 2013 1 commit
  12. 21 Feb, 2013 1 commit
  13. 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
  14. 11 Feb, 2013 1 commit
  15. 24 Jan, 2013 1 commit
  16. 03 Dec, 2012 1 commit
  17. 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
  18. 31 Oct, 2012 1 commit
  19. 25 Oct, 2012 1 commit
  20. 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
  21. 25 Jun, 2012 1 commit
  22. 16 Jun, 2012 1 commit
  23. 03 May, 2012 2 commits
  24. 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
  25. 26 Mar, 2012 1 commit
  26. 13 Mar, 2012 1 commit
  27. 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
  28. 27 Jan, 2012 1 commit
  29. 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
  30. 18 Nov, 2011 1 commit
  31. 07 Nov, 2011 1 commit
  32. 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
  33. 01 Nov, 2011 1 commit
  34. 23 Oct, 2011 1 commit
  35. 21 Oct, 2011 1 commit
  36. 17 Oct, 2011 1 commit
  37. 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
  38. 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
  39. 24 Aug, 2011 1 commit