WSL/SLF GitLab Repository

  1. 23 Mar, 2011 1 commit
  2. 21 Mar, 2011 1 commit
    • Mathias Bavay's avatar
      The Arrays now skip some unecessary tests in resize(). Since the arguments are... · ba0908dc
      Mathias Bavay authored
      The Arrays now skip some unecessary tests in resize(). Since the arguments are unsigned, there can not be any negative size! This also now allows setting size to 0. A new "operator" has been added to get the absolute value of an array. This unfortunatelly generate a warning for unsigned arrays despite that the necessary signedness test is performed. This warning will have to be disabled one way or another.
      
      The example data set has been brought back to SMET version 1.1
      ba0908dc
  3. 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
  4. 10 Mar, 2011 1 commit
  5. 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
  6. 21 Jun, 2010 1 commit
    • Thomas Egger's avatar
      Directory structure change: src folder now called meteoio · 752c0068
      Thomas Egger authored
      Overall all include statements within in the library have been replaced by angle brackets, the default install path for the include file is $CMAKE_INSTALL_DIR/include/meteoio, the meteoio libraries (static and shared) will be installed in $CMAKE_INSTALL_DIR/lib per default.
      
      The plugins will be installed in the subdirectory $CMAKE_INSTALL_DIR/lib/meteoio/plugins
      752c0068
  7. 30 Apr, 2010 1 commit
  8. 21 Apr, 2010 1 commit
  9. 12 Apr, 2010 1 commit
  10. 07 Apr, 2010 1 commit
    • Mathias Bavay's avatar
      The arrays and grids now have a "print" method that prints their content to... · ccfe775b
      Mathias Bavay authored
      The arrays and grids now have a "print" method that prints their content to screen (usefull for debugging). The Coords class also has this method (as required to print the grid objects).
      
      A "using namespace std" was found in ImisIO.h and has been removed. A few comments/indentation/clean up have been done (including in the doc/examples)
      
      The quality rating sorting was broken and has been fixed. The RH interpolation method was not properly working and has been fixed (using the wrong vector for input data). The naming of the number of stations to be used has been made more consistent between the various algorithms and an improved information output has been added.
      
      
      ccfe775b
  11. 01 Apr, 2010 1 commit
    • Mathias Bavay's avatar
      The array operators have been added to Array, Array2D and Array3D.... · f40c3bcb
      Mathias Bavay authored
      The array operators have been added to Array, Array2D and Array3D. Grid2/3DObject also have their assignment operator. 
      
      The IOHandler headers (.h and .ph) have been slightly reorganized so that they look as similar as possible (makes toubleshooting easier)
      
      The ARCIO plugin has been slightly reverted so that it outputs float grids (even if some tools require INT, we NEED floats in our outputs).
      f40c3bcb
  12. 22 Feb, 2010 1 commit
    • Mathias Bavay's avatar
      The plugin's interface (IOInterface) has been slightly modified:... · 2ee54369
      Mathias Bavay authored
      The plugin's interface (IOInterface) has been slightly modified: readSpecialPoints now returns a vector of Coords. This means that a plugin can provide coordinates as (lat,long) or (easting, northing) or (grid_i, grid_j). All the plugins have been modified accordingly and POINTS and POINTSArray have been removed from Array.h
      2ee54369
  13. 10 Feb, 2010 1 commit
  14. 03 Feb, 2010 1 commit
    • Mathias Bavay's avatar
      The Special_PTS and CSpecialPointsArray structures have been renamed in... · 11d9c246
      Mathias Bavay authored
      The Special_PTS and CSpecialPointsArray structures have been renamed in "POINT" and "POINTSArray" (there was no reason to call them "special points"). 
      
      A few new methods have been added to DEMObject: getPointsBetween that returns a vector containing the indices of all points located on the line between two points (given by their real world (x,y) coordinates), horizontalDistance that returns the horizontal distance between two points and terrainDistance that returns the distance between two point accros the terrain as described by the DEM (ie: going up and down the terrain).
      11d9c246
  15. 09 Dec, 2009 1 commit
  16. 10 Sep, 2009 1 commit
    • Mathias Bavay's avatar
      Tow methods for getting the min and the max value out of a matrix have been... · 5370fd50
      Mathias Bavay authored
      Tow methods for getting the min and the max value out of a matrix have been added to Array, Array2D and Array3D. The updateAllMinMax of DEMBoject has been updated to rely on that instead of doing it by itself.
      
      The doxygen comments of DEMObject have been fixed and the config.dox (doxygen configuration file) has been fixed (it was not processing .cc files). 
      
      A new (private) methods has been added to DEMObject: safeGet(i,j) that returns a grid value for any (i,j) (so nodata if outside of the grid). This could be the right strategy for correctly computing slope/curvature on the dem even in the case of "holes" in the dem... (to be continued...)
      5370fd50
  17. 18 Aug, 2009 1 commit
  18. 23 Jul, 2009 1 commit
    • Mathias Bavay's avatar
      A minor initialization bug was fixed in DEMObject. The new wind interpolation... · 77a84be4
      Mathias Bavay authored
      A minor initialization bug was fixed in DEMObject. The new wind interpolation method has been disabled by default (not safe to use before making sure that it does not create unphysical behavior). A minor optimization has been implemented in libinterpol2D: if the DEM min and max altitudes are know, the median elevation is now used as a reference elevation for reprojections.
      
      The doxygen comments have been fixed and enhanced.
      
      The meteoio_demo program has been updated to fully use the DEMObject.
      
      77a84be4
  19. 22 Jul, 2009 2 commits
    • Thomas Egger's avatar
      * renamed CArray to Array · 5c40e63b
      Thomas Egger authored
      * renamed functions in Array.h
      	SetSize() to resize()
      	RemoveAll() to clear()
      	RemoveAt() to removeAt()
      	InsertAt() to insertAt()
      * had to propagate these changes into all files that use class Array
      5c40e63b
    • Thomas Egger's avatar
      * Renamed CArray2D to Array2D · f0ca3805
      Thomas Egger authored
      * Changed nomenclature in CArray2D<T> to reflect STL conventions:
      	GetSize() renamed to size()
      	Create() renamed to resize()
      	Destroy() renamed to clear()
      f0ca3805
  20. 20 Jul, 2009 1 commit
    • Thomas Egger's avatar
      1) Array3D implemented on basis of std::vector<T> with two Proxy classes in... · f6e3f00b
      Thomas Egger authored
      1) Array3D implemented on basis of std::vector<T> with two Proxy classes in order to allow T[x][y][z]-like element access; the preferred way though is per T(x,y,z).
       
      2) Removed the "operator=" in Array.h, Array2D.h and Array3D.h: it was rendered unnecessary due to the internal data members. the generic copy constructor and operator= implementations are sufficient.
      
      3) Remove all deconstructors in Array.h, Array2D.h and Array3D.h: default deconstructors are sufficient.
      f6e3f00b
  21. 16 Jul, 2009 1 commit
  22. 10 Jul, 2009 1 commit
  23. 07 Jul, 2009 1 commit
  24. 28 May, 2009 1 commit
  25. 26 May, 2009 2 commits