WSL/SLF GitLab Repository

  1. 20 Sep, 2013 1 commit
  2. 18 Sep, 2013 2 commits
  3. 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
  4. 13 Sep, 2013 1 commit
  5. 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
  6. 01 Sep, 2013 2 commits
  7. 25 Jul, 2013 1 commit
  8. 10 Mar, 2013 1 commit
  9. 05 Mar, 2013 1 commit
  10. 11 Feb, 2013 1 commit
  11. 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
  12. 03 May, 2012 1 commit
  13. 02 Apr, 2012 1 commit
  14. 29 Mar, 2012 2 commits
  15. 28 Mar, 2012 1 commit
  16. 10 Feb, 2012 1 commit
    • Thomas Egger's avatar
      IOManager: added another interpolate procedure that takes as arguments a Date,... · b2991182
      Thomas Egger authored
      IOManager: added another interpolate procedure that takes as arguments a Date, a DEMObject, the parameter to interpolate, a vector of Coords objects and a vector of doubles. The Coords represent different points in the DEM. The interpolation is only performed for these points and for each point one double value is stored in a vector. 
      
      Furthermore IOManager now has a member variable called interpolater of type Meteo2DInterpolator. A circular inclusion problem has been solved between IOManager and Meteo2DInterpolator.
      
      libinterpol2D bugfix: The SimpleDEMWindInterpolate algorithm had  a small bug in it, it wasn't interpolating values in the last row or last column of the 2D grid.
      b2991182
  17. 02 Feb, 2012 1 commit
  18. 19 Jan, 2012 1 commit
  19. 12 Jan, 2012 1 commit
    • Mathias Bavay's avatar
      Speed improvement for IDW based on the profiling performed by HES-SO's V.... · af7bbbd6
      Mathias Bavay authored
      Speed improvement for IDW based on the profiling performed by HES-SO's V. Grivel: the stations' positions are saved in two vectors (eastings and northings) before walking the grid. For low number of stations, this makes no visible difference. For large number of stations, this makes a huge difference (as seen on the Graubünden simulation, with 35 stations).
      af7bbbd6
  20. 10 Nov, 2011 2 commits
    • Mathias Bavay's avatar
      The Fit1D class constructor can now read a fit model name as a string. This... · e6a52688
      Mathias Bavay authored
      The Fit1D class constructor can now read a fit model name as a string. This was necessary for parsing a user input coming from io.ini. 
      
      The ordinary kriging interpolation algorithm is now active. It is far from perfect (the variogram is computed in a very cheap way that contributes to make it very fragile), but it is time for the first users to start playing with it. The variogram model to use can be provided as an optional argument and in case of fit failure, an appropriate error message is given (but no fallback mechanism exists). The next step will be to compute the variogram on time series, which should produce more reliable data sets for fitting the variogram model on.
      
      Some error messages have been improved in the matrix class.
      e6a52688
    • Mathias Bavay's avatar
      Oups, types mismatch... and the version numbers have been pushed up in order... · d4e04f07
      Mathias Bavay authored
      Oups, types mismatch... and the version numbers have been pushed up in order to prepare for the upcoming release
      d4e04f07
  21. 09 Nov, 2011 1 commit
  22. 31 Oct, 2011 1 commit
  23. 02 Sep, 2011 1 commit
  24. 23 Aug, 2011 1 commit
  25. 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
  26. 20 Jul, 2011 1 commit
    • Mathias Bavay's avatar
      Some methods have been moved into another class (like the simple linear... · 7797ea1c
      Mathias Bavay authored
      Some methods have been moved into another class (like the simple linear interpolation between two points that is now in ResamplingAlgorithms), some renammed (like the new weightedMean that replaces the ill-nammed "linearInterpolate"). The regression model based on two segments is now part of libinterpol1D and has been renammed. More regression models have been implemented. 
      
      The "initFit" method of Fit1D has been renammed in "fit" and the setGuess method now turns fit_ready to true, so that a user can force his provided parameters to be used by a given model (do a setGuess() with the parameters, then call f(x) without calling "fit", so no internal fit of the parameters would be performed).
      7797ea1c
  27. 19 Jul, 2011 2 commits
  28. 15 Jul, 2011 1 commit
    • Mathias Bavay's avatar
      The 1D regression component is now coming into shape: the Fit1D class receives... · 42b4e784
      Mathias Bavay authored
      The 1D regression component is now coming into shape: the Fit1D class receives two vectors (of X and Y), compute a specified regression model, then transparently provides modelled values (calling fit1D.f()). Introducing a new regression model consists of implementing this f() method as well as a method computing initial guesses. A new method has been introduced in libInterpol1D that computes the derivative of a data set, given a vector of X and a vector of Y. Another method has been implemented to sort such two vectors in order of increasing X.
      
      Partial pivoting has been implemented in Matrix, and complete pivoting has been started but is not finished yet (it will throw an exception if used).
      42b4e784
  29. 07 Jul, 2011 1 commit
    • Mathias Bavay's avatar
      The Welcome and Readme texts have been swapped. A new index file has been made... · 1bd73214
      Mathias Bavay authored
      The Welcome and Readme texts have been swapped. A new index file has been made for the html documentation, that sits above the html directory and redirects to the proper page. Some unnecessary (and commented) lines for cpack have been cleaned up.
      
      A warning has been silenced for Visual C++ (float to double cast in the Quake3 optimized square root).
      1bd73214
  30. 17 May, 2011 1 commit
  31. 23 Mar, 2011 1 commit
  32. 15 Mar, 2011 1 commit
    • Mathias Bavay's avatar
      The plugins now export their symbols when compiled with Visual C++. · ed696434
      Mathias Bavay authored
      The arrays are now using the vector filling methods when possible. A specialized template for convertString(unsigned int) has been written. 
      
      A two segments linear fit (for elevation detrending) has been implemented with a fixed inflection point. This is quite primitive but allows the LLIDW spatial interpolation to use it and therefore to behave like the traditional SLF SnowFit program. More work will be needed for fully configurable regression algorithm choice though... 
      
      Some namming issues have been fixed in COSMOXML. A better emissivity handling has been implemented in SNIO to be closer to the original Snowpack (ie: compute clear sky ILWR when no cloudiness/emissivity is given).
      ed696434
  33. 10 Mar, 2011 1 commit
  34. 09 Mar, 2011 1 commit
    • Mathias Bavay's avatar
      In SNIO, the METAFILE can now be optional (which means that the metadata... · e9063b21
      Mathias Bavay authored
      In SNIO, the METAFILE can now be optional (which means that the metadata remain nodata, the user has therefore to fill them himself). This is used by Snowpack.
      
      After the Visual C++ compilation log from Raphael, some changes have been implemented: lots of warnigs about signed/unsigned fixed, some unreachable code removed, and some methods reimplemented for Windows. We are not there yet, but moving closer...
      e9063b21
  35. 26 Jan, 2011 1 commit
    • Mathias Bavay's avatar
      A new group of classes has been created, under the meteolaws subdirectory.... · 4b63f416
      Mathias Bavay authored
      A new group of classes has been created, under the meteolaws subdirectory. This contains various general meteorological laws, such as a sun radiation model, standard atmosphere, etc
      
      The first implementation (not tested yet) of a non-linear least square fit algorithm has been implemented in the libfit1D. 
      
      Several documentation issues have been fixed (obsolete code examples, etc) and classes grouped by modules. This should help the user to quickly locate the classes of interest. 
      4b63f416