WSL/SLF GitLab Repository

  1. 13 Sep, 2013 3 commits
  2. 10 Sep, 2013 3 commits
  3. 09 Sep, 2013 1 commit
    • Mathias Bavay's avatar
      A new test has been created to cover basic statistical functions on vectors.... · 9604a0f1
      Mathias Bavay authored
      A new test has been created to cover basic statistical functions on vectors. Two bugs have been found and fixed when computing the derivative on a vector of data (the right derivative was in fact a left derivative and the case of X containing nodata was not covered).
      
      Documentation fixes in libinterpol2D and ResamplingAlgorithms. The cmake macro for finding MeteoIO now looks first in the home directory of the user on Mac (as is done on Linux).
      9604a0f1
  4. 02 Sep, 2013 1 commit
  5. 01 Sep, 2013 3 commits
  6. 30 Aug, 2013 3 commits
    • Mathias Bavay's avatar
      Getting closer to the goal of persistent spatial interpolation objects. There... · 88e7cb8e
      Mathias Bavay authored
      Getting closer to the goal of persistent spatial interpolation objects. There are no "initialize" and "getQualityRating" anymore, the initializations are performed by "getQualityRating". The arguments that used to be passed to the constructors are now split between constructor and getQualityRating. A few hacks will have to be removed: we should be able to get rid of some of the callbacks, the plain copy of Date and Dem will have to be avoided (most probably by working with pointers) and the map of objects that has been implemented (but commented out) will be enabled. So, a few hacks remain, but this is already a nice, big step forward!
      88e7cb8e
    • Mathias Bavay's avatar
      The median calculation bug had been impacting some other things as well...... · 2d329a50
      Mathias Bavay authored
      The median calculation bug had been impacting some other things as well... Some other values were also wrong, and it has been so for a while!
      2d329a50
    • 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
  7. 29 Aug, 2013 1 commit
  8. 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
  9. 13 Aug, 2013 1 commit
  10. 09 Aug, 2013 1 commit
  11. 05 Aug, 2013 1 commit
  12. 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
  13. 26 Jul, 2013 1 commit
    • Mathias Bavay's avatar
      The Krigging is now working. The current limitations are: 1)there is no... · 377d6e57
      Mathias Bavay authored
      The Krigging is now working. The current limitations are: 1)there is no maximum range, so each available station would take part to the variogram fit. 2)the covariance is currently NOT computed on past time series, limiting the relevance of the variogram. Practically, the variogram fit that always ends up being used is LINVARIO.
      
      All matrix and fit methods that used to return void but could also throw exceptions now return a boolean to indicate if things went well (ie a matrix could be inverted, etc). They still throw exceptions for logic errors (incompatible dimensions, etc).
      377d6e57
  14. 25 Jul, 2013 1 commit
  15. 24 Jul, 2013 5 commits
  16. 23 Jul, 2013 1 commit
  17. 19 Jul, 2013 2 commits
  18. 17 Jul, 2013 1 commit
  19. 15 Jul, 2013 1 commit
  20. 05 Jul, 2013 2 commits
  21. 28 Jun, 2013 1 commit
  22. 27 Jun, 2013 1 commit
  23. 19 Jun, 2013 1 commit
    • Mathias Bavay's avatar
      In order to properly import config files while supporting relative paths, it... · c02d0f1f
      Mathias Bavay authored
      In order to properly import config files while supporting relative paths, it is necessary to internally expand the paths (as well as the symlinks) to check for multiple inclusions, to properly look for a file located relative to another one (instead of related to the execution directory). The IOUtils::cleanPath function has been expanded to support this kind of processing (with a flag to turn it on of off) and a few functions added (getPath, getFilename). The code for Windows has been written but not tested yet. The Posix implementation should also be tested on osx.
      c02d0f1f
  24. 14 Jun, 2013 2 commits
    • Mathias Bavay's avatar
      A description of the data format (not the SNOWPACK requirements, only the data... · ee4045f6
      Mathias Bavay authored
      A description of the data format (not the SNOWPACK requirements, only the data format) has been added to the SNIO documentation
      ee4045f6
    • Mathias Bavay's avatar
      The default ilwr model in Atmosphere as been changed to Unsworth. The fixed... · 87556084
      Mathias Bavay authored
      The default ilwr model in Atmosphere as been changed to Unsworth. The fixed snow albedo has been set to 0.85 for all filters/generators using it. 
      
      The Config class can now import an ini file from another ini file, this could greatly simplify the management of operational deployments (a station that has a special configuration now can simply import a standard config file and redefine what it needs). This is either done with IMPORT_BEFORE or IMPORT_AFTER in order to choose who has precedence. Multiple (ie recursive) inclusions are supported with some enforced limitations to prevent circular dependencies.
      87556084
  25. 05 Jun, 2013 1 commit
    • Mathias Bavay's avatar
      The exceptions were not printed with a line return anymore, messing up the... · c7476e31
      Mathias Bavay authored
      The exceptions were not printed with a line return anymore, messing up the display. A function to extract the integral and the fractional part of a double has been added. The julian day number calculation (ie how many days since the begining of the year) was numericaly instable (leading to wrong values in an unpredictable way). A data generator that can generate sinusoidal values (for daily or yearly periods) has been added. The potential radiation generator can now handle missing TA and/or RH (of course, reverting to a very simplistic clear sky model, assuming an average reduced precipitable water).
      c7476e31