WSL/SLF GitLab Repository

  1. 16 Aug, 2011 2 commits
    • Mathias Bavay's avatar
      Better error messages when compiling in debug as well as for dimensions issues... · 1bcad13b
      Mathias Bavay authored
      Better error messages when compiling in debug as well as for dimensions issues (adding arrays of incompatible dimensions, invalid subset, etc)
      1bcad13b
    • 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
  2. 08 Aug, 2011 1 commit
  3. 30 Jul, 2011 1 commit
  4. 28 Jul, 2011 4 commits
  5. 27 Jul, 2011 1 commit
    • Mathias Bavay's avatar
      A (more) intelligent handling of buffered grids has been implemented: the... · 9f230fd9
      Mathias Bavay authored
      A (more) intelligent handling of buffered grids has been implemented: the grids are stored in the equivalent of a circular buffer of a given size (user defined, or 10 by default). This prevents running out of memory when processing large numbers of grids!
      
      A method for computing quantiles has been implemented in libinterpol1D. A vector of data has to be provided as well as a vector of the desired quantiles (ex: 0.25, 0.5, 0.75) and a vector of values for these quantiles will be returned. So far, the algorithm that is used produces the same results as R in default operations. The possibility of choosing which quantiles algorithms might be added in the future.
      
      The getJulianDayNumber method was just totally wrong... This has been fixed. One can also force a GMT day of year with a flag.
      
      Finally, some documentation has been written/updated.
      9f230fd9
  6. 26 Jul, 2011 1 commit
  7. 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
  8. 19 Jul, 2011 4 commits
  9. 18 Jul, 2011 1 commit
  10. 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
  11. 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
  12. 06 Jul, 2011 1 commit
  13. 05 Jul, 2011 3 commits
  14. 04 Jul, 2011 1 commit
  15. 30 Jun, 2011 1 commit
    • Mathias Bavay's avatar
      Spatial resampling has been added. This is still quite primitive (no end-user... · 84a8c69f
      Mathias Bavay authored
      Spatial resampling has been added. This is still quite primitive (no end-user front end or interaction, only nearest neighbor or bilinear), but can nevertheless be convenient. Since the "round" function call was needed, the VC++ implementation has been moved to IOUtils so no matter what is the compiler, we can use "round" in the code (this is NOT in the IOUtils namespace, but still in the mio namespace). 
      
      Several obsolte comments/hacks have been removed and the DEBUG_ARITHM flag commented out, since it does not belong into a library (this is per process, not per object). The VC++ "equivalent" flag still needs to be checked (ie: is it per process or per object?). A missing "required" flag for cmake for Oracle has been added.
      
      Finally, the lsm file had been forgotten in the last release... this is now in order.
      84a8c69f
  16. 24 Jun, 2011 2 commits
  17. 23 Jun, 2011 1 commit
  18. 20 Jun, 2011 1 commit
  19. 18 Jun, 2011 1 commit
    • Mathias Bavay's avatar
      A new generic method "getArraySliceParams" has been added to IOUtils. This... · 14ac27f9
      Mathias Bavay authored
      A new generic method "getArraySliceParams" has been added to IOUtils. This method computes the indices for splitting an array in several, balanced sub-arrays. This is what is needed to distribute a computation on an array among several computers. This method computes the indices in one dimension, if the user wants to split along several dimensions, he can just call it again on another dimension (the splitting being usually only along one dimension).
      14ac27f9
  20. 16 Jun, 2011 3 commits
    • Mathias Bavay's avatar
      Some POPC adjustments · 9e92bae3
      Mathias Bavay authored
      9e92bae3
    • Mathias Bavay's avatar
      Fixed some warnings that appeared with the previous commit. A missing method... · 2fe2e97d
      Mathias Bavay authored
      Fixed some warnings that appeared with the previous commit. A missing method has now been implemented in Array3D. The example io.ini is now up to date with the code structure (ie: looking for the plugins in the proper subdirectory)
      2fe2e97d
    • Mathias Bavay's avatar
      The nodata handling strategy was not thoroughly implemented: aritmetic... · c479ae5f
      Mathias Bavay authored
      The nodata handling strategy was not thoroughly implemented: aritmetic operators were not compliant. In order to fix it, a property now records how to handle nodata for each object. A setter method is available. All operations now properly handle it.
      
      The Grid2D and Grid3D objects now have a (x,y) and (x,y,z) method for direct access to their gridded values. This should make it easier to switch a Grid object with an Array in a piece of code.
      
      With the latest changes in CMakeLists, the examples could not be built anymore. This has been fixed in the examples Makefile (but the io.ini plugin path stil has to be fixed).
      c479ae5f
  21. 10 Jun, 2011 3 commits
  22. 08 Jun, 2011 2 commits
  23. 30 May, 2011 2 commits
  24. 27 May, 2011 1 commit