WSL/SLF GitLab Repository

  1. 09 Dec, 2009 1 commit
  2. 08 Dec, 2009 1 commit
  3. 07 Dec, 2009 1 commit
  4. 03 Dec, 2009 2 commits
  5. 02 Dec, 2009 1 commit
    • Mathias Bavay's avatar
      This version has been (a little bit) tested with popc. The code that needed... · 49367c64
      Mathias Bavay authored
      This version has been (a little bit) tested with popc. The code that needed validation (MeteoData information necessary for filtering) seems to work, so some code tagging has been removed and some commented out methods deleted.
      
      Fixed the install bug that was preventing the installation if the parallel version was not compiled. Following the latest evolution of Pop-C++, an inheritance for the popc exceptions had to be removed. 
      49367c64
  6. 01 Dec, 2009 1 commit
  7. 22 Nov, 2009 2 commits
    • Thomas Egger's avatar
      MedianAverageFilter added to FilterAlgorithms.cc · 8298975b
      Thomas Egger authored
      usage (in io.ini):
      [Filters]
      TA::filter1 = median_avg
      TA::arg1    = 20 100
      
      The first argument specifies the minimal number of points, the second argument the minimal duration that the window for the filter has to have: if these conditions cannot be met (too little data) the filter is not executed.
      8298975b
    • Thomas Egger's avatar
      CMake changes: possibility of including/linking proj4, creating shared and... · f88eab18
      Thomas Egger authored
      CMake changes: possibility of including/linking proj4, creating shared and static version of libmeteoio, install script for installing all the plugins to /usr/local and a change to IOHandler.cc: if no PLUGINPATH is specified in the io.ini file all paths defined for ldconfig and LD_LIBRARY_PATH are searched for the plugins.
      
      Furthermore a versioning system for the plugins and meteoio has been introduced.
      f88eab18
  8. 19 Nov, 2009 4 commits
  9. 17 Nov, 2009 1 commit
    • Mathias Bavay's avatar
      Major improvement in the autotools: now the DEST option is gone, all is done... · 0891cc20
      Mathias Bavay authored
      Major improvement in the autotools: now the DEST option is gone, all is done automatically. Please do ./configure --help in order to see the new options (mostly installation directory and cpu flag if you need to specify it manually).
      
      Please notice that the configure script is now versionned. This is not 100% needed, but it should make life easier for normal users checking out from svn. So, please make sure that for every commit of configure.ac or Makefile.in you also update and commit configure!
      0891cc20
  10. 12 Nov, 2009 2 commits
  11. 11 Nov, 2009 3 commits
    • Laurent Winkler's avatar
      Fix a segfault in the parallel version of the code in deletePlugin by... · 31e58429
      Laurent Winkler authored
      Fix a segfault in the parallel version of the code in deletePlugin by suppressing a call to delete. This modif is not very clean so it would be good to fix it properly. (But I cannot figure were the error comes from ...)
      31e58429
    • Mathias Bavay's avatar
      The doxygen comments have been fixed and largely expanded: the welcome page is... · 6a54ca7e
      Mathias Bavay authored
      The doxygen comments have been fixed and largely expanded: the welcome page is now populated and some general documentation proposed. 
      
      The prototypes of the filters have been fixed (doxygen was complaining) so that we always use std:: when necessary.
      
      The Grid3DObject checkCoordinates has been implemented along the same lines as Grid2DObject. The altitude is still missing though...
      
      The check for POPC++ has been added to the autotools configuration. 
      
      A small improvement to the way the A3DIO plugins handles incoming nodata has been done. A few HACKS have been fixed and removed. Some error messages (in libinterpol2D) have been improved, their printf relpaced by a std::cerr and an extra check (using assert) has been added so that no Td would be computed if Rh<0 (and we would throw an exception).
      6a54ca7e
    • Thomas Egger's avatar
      The MeteoFilter class instance is a private member of BufferedIOHandler - that... · 2a4b0c8f
      Thomas Egger authored
      The MeteoFilter class instance is a private member of BufferedIOHandler - that way it only needs to be created once - the ConfigReader object is only parsed once ...
      
      2a4b0c8f
  12. 10 Nov, 2009 1 commit
  13. 09 Nov, 2009 1 commit
  14. 07 Nov, 2009 1 commit
  15. 05 Nov, 2009 4 commits
  16. 04 Nov, 2009 1 commit
  17. 03 Nov, 2009 2 commits
    • Mathias Bavay's avatar
      The constructor for local grid in MapProj has been changed and its prototype... · 656de316
      Mathias Bavay authored
      The constructor for local grid in MapProj has been changed and its prototype modified. It should now make more sense and allow using LOCAL in io.ini like any other projection keyword.
      
      The code that was doing IO buffering in LegacyIO when POPC was used has been deleted (this is not the right place to do caching). A method prototype has been slightly tweaked (using const string instead of char*).
      
      Since Laws.c/h is already a file that is part of Snowpack and since making it a separate library does not make so much sense (it is quite small and only 3 short functions from it are used in MeteoIO), the necessary code has been transfered to libinterpol2D and these two files have been deleted.
      
      A warning in IOUtils has been silenced.
      656de316
    • Mathias Bavay's avatar
      The MapProj class has been improved: instead of selecting fast (or not) for... · 3c2d7948
      Mathias Bavay authored
      The MapProj class has been improved: instead of selecting fast (or not) for distances calculations (as well as local grids), the user can directly select the algorithm (with keywords form an enum). A new constructor has been created specifically for local grid projections (taking "LOCAL" as well as lat and long for reference point).
      
      The MeteoData class has been fixed for popc (at least, I hope!)
      3c2d7948
  18. 02 Nov, 2009 3 commits
  19. 30 Oct, 2009 2 commits
    • Mathias Bavay's avatar
      A new method has been added to IUtils: cosineInverse, that computes the... · a96ccfbc
      Mathias Bavay authored
      A new method has been added to IUtils: cosineInverse, that computes the position of a point (lat, long) given a starting point and an angle using the spherical law of cosine. This is used by the WGS84_to_local and local_to_WGS84 methods that now accept an optional argument, bool fast. If fast is enable, the spherical law of cosine is used, otherwise Vincenty.
      
      Two new method have been added to Grid2DObject: WGS84_to_grid and grid_to_WGS84 that allow getting the cell's coordinates (i,j) of a geographical position given by its (lat, long) (back and forth). This is specially useful in order to extract a sub-dem from: (lat, long) and (dist_x, dist_y) or (lat1, long1) (lat2, long2). Using the first method, the grid's coordinates can be computed (nx) and ceil(dist_x/cellsize_x) gives the ncols, thus providing the parameters for the sub-set constructor.
      
      Code tagging (HACK and TODO).
      a96ccfbc
    • Thomas Egger's avatar
      MeteoData enhancement: Two std::map objects associating a number and a string... · e720562a
      Thomas Egger authored
      MeteoData enhancement: Two std::map objects associating a number and a string to each meteo parameter (ta, rh, iswr, hnw, ...) make it easy to simply loop over all parameters. A static const MeteoData::nrOfParameters holds the number of meteo parameters and an enum called 'Parameters' within MeteoData lists all implemented meteo parameters. This list will have to be updated when meteo parameters are added.
      e720562a
  20. 29 Oct, 2009 1 commit
    • Mathias Bavay's avatar
      An error message that was tagged [I] has been retagged as [E] so the user... · 02fcb323
      Mathias Bavay authored
      An error message that was tagged [I] has been retagged as [E] so the user might be a little more scared (in A3DIO.cc)
      
      A new constructor has been added to Date_IO (copy constructor).
      
      The necessary changes have been done to the autoconf files so that an new option has come: --with-proj4 (turned off by default). But the user of the library still has to add -lproj to his compiler command line (after the -lmeteoio).
      02fcb323
  21. 28 Oct, 2009 2 commits
  22. 27 Oct, 2009 1 commit
    • Mathias Bavay's avatar
      DEMObject and IOHandler have been modified so that the DEMObject is more or... · 1057ac03
      Mathias Bavay authored
      DEMObject and IOHandler have been modified so that the DEMObject is more or less intelligently updated while retaining the possibility to provide an optional argument turning it off (constructors which fill the DEMObject with real data by default now update the slope/curvatures/normals except if giving as a last argument *false*).
      
      The first code for using the proj4 library for coordinates conversion has been writen in MapProj. It is still disabled by default since it suffers (at least) from a parsing bug: the coordinates argument is truncated when going through cfg.getValue() and therefore not valid (at least my checks work!).
      
      A missplaced define (for PI) has been moved in IOUtils.
      
      LegacyIO popc code has been cleaned up, removing the timers (that are not portable and thus a problem for WIN32 systems).
      
      A typo in an error message has been fixed in Grid2DObject. A few unnecessary (ie: ugly) white spaces removed at some places (A3DIO.cc, etc)
      1057ac03
  23. 22 Oct, 2009 1 commit
    • Mathias Bavay's avatar
      A new define (DEBUG_ARITHM) has been added that activates the non-catching of... · 85135ebd
      Mathias Bavay authored
      A new define (DEBUG_ARITHM) has been added that activates the non-catching of arithmetic exceptions. This is specially required for parallel execution when the code from the library might execute in a process different from the caller (thus not having the required flag set on the cpu for its process). This is enabled/disabled in the Makefile.in (or the Makefile for the end user). 
      
      The std:: namespace declaration has been added to a lots of places, making the "use namespace std" usage irrelevant (and thus suppressed). Other namespaces that were called with a "use" have been found not to be used anymore and therefore also removed.
      
      Several bugs in the doxygen comments have been fixed: typo (misplaced space), comments not matching the declaration anymore, etc Doxygen now executes without warnings.
      
      85135ebd
  24. 21 Oct, 2009 1 commit