WSL/SLF GitLab Repository

  1. 02 Dec, 2014 1 commit
    • Mathias Bavay's avatar
      The CH1903+ coordinate system has been implemented. in GSNIO, setting the... · 3b884d89
      Mathias Bavay authored
      The CH1903+ coordinate system has been implemented. in GSNIO, setting the station name was not always properly done. The ADD and MULT filters now offer a better parsing of their arguments in order to avoid silently failing; their documentation has been improved. When compiling with DATA_QA, parameters that are filtered but have no value (nodata) are now reported.
      3b884d89
  2. 10 Nov, 2014 1 commit
  3. 15 Aug, 2014 1 commit
    • Mathias Bavay's avatar
      A new IOUtils::getCWD() method has been created, a new... · 6bf3bbee
      Mathias Bavay authored
      A new IOUtils::getCWD() method has been created, a new Config::getConfigRootDir() has been created (to help resolve relative paths) and is now used for the ADD and MULT filters as well as for the EXCLUDE feature of PSQLIO and IOHandler.
      6bf3bbee
  4. 12 Aug, 2014 1 commit
  5. 26 Jun, 2014 1 commit
  6. 12 Dec, 2013 1 commit
    • Mathias Bavay's avatar
      This addresses issue 335 by providing data quality output (it has to be... · 07b5950b
      Mathias Bavay authored
      This addresses issue 335 by providing data quality output (it has to be enabled at compile time): it reports all points that have been filtered or corrected as well as all points that had to be resampled to replace a nodata value by a proper value (ie resampling between measured points is not reported).
      07b5950b
  7. 28 Oct, 2013 1 commit
    • Mathias Bavay's avatar
      The filters have been slightly simplified, some IOUtils functions optimized... · 284f1213
      Mathias Bavay authored
      The filters have been slightly simplified, some IOUtils functions optimized (after reading an interesting post about the handling of rvalues), a bug fixed in PNGIO on Windows, the macros MAX and MIN are not used anymore (relying on std::max and std::min instead). A new data generator is on its way to generate HNW from HS differences (but this will require architectural changes to the DataGenerator).
      284f1213
  8. 05 Oct, 2013 1 commit
  9. 02 Oct, 2013 1 commit
  10. 24 Sep, 2013 2 commits
  11. 16 Sep, 2013 1 commit
    • Mathias Bavay's avatar
      Some "TODO" have been removed, a missing check has been added in... · 6ecfe7bc
      Mathias Bavay authored
      Some "TODO" have been removed, a missing check has been added in Interpol1D:linRegression (at least 2 valid points are required), type inconsistencies have been fixed in FilterTukey and ProcessinStack. However using size_t for the meteo parameter index is not necessarily a good idea and this will require a careful review.
      6ecfe7bc
  12. 30 Aug, 2013 1 commit
    • Mathias Bavay's avatar
      The median computations were relying on std::nth_element and wrongly assuming... · 3ec508db
      Mathias Bavay authored
      The median computations were relying on std::nth_element and wrongly assuming that the output would be sorted. This is non-standard behavior and is not the case with more recent versions of the STL. This has been fixed.
      
      The ProcessingStack constructor has been optimized by using new methods of Config to remove some now redundant code.
      3ec508db
  13. 15 Jul, 2013 1 commit
  14. 17 Apr, 2013 1 commit
    • Mathias Bavay's avatar
      In order to implement an efficient and portable object serialization, it has... · ba0b7d3e
      Mathias Bavay authored
      In order to implement an efficient and portable object serialization, it has been decided that all serializable objects would be manually serialized to an std::iostream. Then, the parallelization framework (mpi, popc, etc) can take over this stream and move it to another node. Therefore, the operators "<<" and ">>" are now reserved for serialization (as seems to be standard) and the debug outputs are obtained by printing "object.toString()". This means that all debug code has potentially to be fixed, by replacing "std::cout << object" by "std::cout << object.toString()".
      ba0b7d3e
  15. 10 Mar, 2013 1 commit
  16. 21 Feb, 2013 1 commit
  17. 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
  18. 09 Dec, 2012 1 commit
  19. 29 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. 23 May, 2012 1 commit
    • Mathias Bavay's avatar
      The last filters that had not been ported to the new filtering infrastructure... · 47d0ab7d
      Mathias Bavay authored
      The last filters that had not been ported to the new filtering infrastructure have been ported and their documentation updated. All filters now use window specifications (instead of vector of pointers). The misleading filter argument "index" (for parameter type) has been renamed as "param" for all filters. The use of "unsigned int" for looping over vectors has been replaced by "size_t". The old "soft" behavior for the filters has been restored (ie: if not soft, a point that can not be checked by the filter is deleted).
      
      A few more "consts" have been added.
      47d0ab7d
  22. 03 May, 2012 1 commit
  23. 07 Feb, 2012 1 commit
    • Mathias Bavay's avatar
      Another fix/enhancement for POPC: the libraries now ends with "popc" in the... · 542d725e
      Mathias Bavay authored
      Another fix/enhancement for POPC: the libraries now ends with "popc" in the popc version, as the autotools build was doing.
      
      Windchill and heat index have been implemented in Atmosphere.
      
      Some cleanup in the filters, some code moved to ProcessingBlock, so that elements that are not filters can inherit ProcessingBlock and get all that it needs. A processing element has been implemented to multiply by a given constant, another one to add a given offset and another one to correct precipitation for undercatch.
      
      Some invalid doxygen comments have been fixed in MathOptim.
      542d725e
  24. 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
  25. 17 May, 2011 1 commit
  26. 14 Feb, 2011 1 commit
  27. 04 Feb, 2011 1 commit
    • Mathias Bavay's avatar
      The full support for timezones has been brought back. This fixes issue 71. The... · 904aeaa8
      Mathias Bavay authored
      The full support for timezones has been brought back. This fixes issue 71. The SMET, SMET, IMIS, BORMA plugins have been validated. Geotop should be validtaed if an input data set is available. A new class will have to be implemented to represent time periods. This is currently only a typedef pointing to the Date class, but a specific class would be welcomed.
      
      GSN has been fixed for some changes on the web service, but does not retrieve the correct timestamps (is this a GSN issue?). The GSN compilation has been improved: the warnings related to GSOAP have been removed. 
      
      A new long wave radiaiton model using cloudiness as input has been added (Omstedt, 1990). 
      904aeaa8
  28. 01 Feb, 2011 1 commit
  29. 30 Jan, 2011 1 commit
  30. 27 Jan, 2011 2 commits
  31. 24 Jan, 2011 1 commit
    • Thomas Egger's avatar
      New filter system rolled out with currently two filters up and running:... · b26d431e
      Thomas Egger authored
      New filter system rolled out with currently two filters up and running: min_max and mean_avg (without the soft option, only left or right centering). The new filter system is built upon processing blocks that take a vector<MeteoData> as input and return a processed vector<MeteoData>. The individual filters are stacked in a ProcessingStack where they are invoked sequentially.
      b26d431e