WSL/SLF GitLab Repository

  1. 11 Mar, 2014 1 commit
  2. 31 Oct, 2013 1 commit
    • Mathias Bavay's avatar
      The cmake files for compiling with LibXML++ have been updated since they would... · 6a1729e9
      Mathias Bavay authored
      The cmake files for compiling with LibXML++ have been updated since they would not work with more recent Linux (but we should consider dropping LibXML++ and only rely on LibXML2 in order to reduce the dependencies and package finding mess). The special points are now called POI (Points of Interest, like for a gps device) in order to make them more familiar.
      6a1729e9
  3. 28 Oct, 2013 1 commit
    • Mathias Bavay's avatar
      The filters have been slightly simplified, some IOUtils functions optimized... · 284f1213
      Mathias Bavay authored
      The filters have been slightly simplified, some IOUtils functions optimized (after reading an interesting post about the handling of rvalues), a bug fixed in PNGIO on Windows, the macros MAX and MIN are not used anymore (relying on std::max and std::min instead). A new data generator is on its way to generate HNW from HS differences (but this will require architectural changes to the DataGenerator).
      284f1213
  4. 24 Oct, 2013 1 commit
  5. 18 Oct, 2013 1 commit
  6. 05 Oct, 2013 1 commit
  7. 20 Sep, 2013 1 commit
  8. 18 Sep, 2013 1 commit
  9. 05 Mar, 2013 1 commit
  10. 21 Feb, 2013 1 commit
  11. 14 Feb, 2013 1 commit
    • Mathias Bavay's avatar
      In order to try to be closer to the spirit of the STL, now the empty... · 3f45c394
      Mathias Bavay authored
      In order to try to be closer to the spirit of the STL, now the empty strings/vectors/lists are tested with .empty(), the first/last elements of vectors accessed with front()/back(), the empty strings are not contructed with string("") but with string(), etc This makes a benchmark based on meteo_reading ~4% faster and this makes the code suprisingly easier to read. 
      
      Some extra constification took place as well as some minor code cleanup (optimizing the comparison between two vectors in order to perform less tests, etc).
      
      The Date class can now properly generate and parse full ISO timestamps, including time zone information. The full specification is now supported by convertString() with a helper method in the Date class. Ouputing an ISO string with its time zone is done by requesting the ISO_TZ format.
      
      
      3f45c394
  12. 01 Feb, 2013 1 commit
  13. 23 Nov, 2012 1 commit
  14. 03 Nov, 2012 1 commit
    • Thomas Egger's avatar
      The plugins are no longer separately loadable libraries, but are fully... · 5fadda07
      Thomas Egger authored
      The plugins are no longer separately loadable libraries, but are fully incorporated into libmeteoio. All classes and facilities that provided capabilites for the dynamic loading were deleted (DynamicLibrary). IOPlugin now holds a function pointer to an instantiation function for children of IOInterface. In IOHandler::registerPlugins() all plugins need to be registered with the key name, the class name, a pointer to an instance of the class and a function pointer to the instantiation function for the class (child of IOInterface). IOInterface lost some complexity and thus the constructor of the base class does not have to be called in derived classes anymore.
      
      The CMakeLists.txt files had to be updated to no longer make separate dynamically loadable libraries for each plugin, but to simply add the classes the user selectes to the meteoio library. 
      
      As a side effect the io.ini key GENERAL::PLUGINPATH is no longer necessary.
      5fadda07
  15. 31 Oct, 2012 1 commit
  16. 26 Mar, 2012 1 commit
  17. 05 Mar, 2012 1 commit
  18. 24 Feb, 2012 1 commit
    • Mathias Bavay's avatar
      Some documentation fixes, new gradients (black to white, white to black and... · 3125e78d
      Mathias Bavay authored
      Some documentation fixes, new gradients (black to white, white to black and blue-white-red) defined and used for new variables in PNGIO (P, ALB and DW). A bug has been fixed for ILWR in GRIBIO as well as a bug when converting geographic coordinates to rotated ones.
      
      New options have been added to the undercatch filter, allowing to specify the temperature thresholds with the CST argument (to make it more similar to GeoTop).
      3125e78d
  19. 23 Feb, 2012 1 commit
    • Mathias Bavay's avatar
      The << operator for Coords has been slightly improved. The Gradient class now... · bbf8923c
      Mathias Bavay authored
      The << operator for Coords has been slightly improved. The Gradient class now generated true-color output when indexed=false (and is used to generate true-color PNGs when PNG_INDEXED=false).
      
      The GRIBIO plugin now reads a file name prefix from io.ini. It also properly convert the internal rotated lat/lon into geographic lat/lon and properly computes cell size. The georeferencing of grids is therefore now correct. The WMO standardized tables are now read first before trying alternate parameters. The documentation has been significantly improved.
      bbf8923c
  20. 13 Feb, 2012 2 commits
  21. 09 Feb, 2012 1 commit
    • Mathias Bavay's avatar
      Two new methods have been implemented as static of Coords, to compute the... · f478c493
      Mathias Bavay authored
      Two new methods have been implemented as static of Coords, to compute the ground length of one degree of latitude or longitude at any given latitude.
      
      A check for 0x0 sized grids has been added to PNGIO. The ability to specify the number of colors (ie: discretization) in the io.ini has been added.
      
      A breakthrough occured with GRIBIO, that starts to be able to do some things. This is still not usable, but definitely moving forward!
      f478c493
  22. 19 Jan, 2012 2 commits
  23. 18 Jan, 2012 1 commit
  24. 16 Jan, 2012 1 commit
  25. 13 Jan, 2012 1 commit
  26. 12 Jan, 2012 2 commits
  27. 11 Jan, 2012 1 commit
    • Mathias Bavay's avatar
      Indexed gradients are now handled by the Gradient class and used by the PNGIO... · ed0e449c
      Mathias Bavay authored
      Indexed gradients are now handled by the Gradient class and used by the PNGIO plugin to generate indexed PNGs (some consts in the code can toggle it back to non-indexed images). This leads to a significant speedup and large file size reduction. On a DEM test case, while reading a 2D ARC grid and writing it back, the following have been measured:
      
      After commit 758, support for indexed PNGs. This leads to major speed and size improvements:
      
      version                  duration                   file size
      full color                 0.530                       617k    
      reduced to 30        0.460   13%             156k   75%
      indexed, 30           0.352   34%               90k   85%
      indexed, 30           0.320   40%             123k   80%
      (optimized for speed)
      ed0e449c
  28. 10 Jan, 2012 1 commit
  29. 09 Jan, 2012 2 commits
    • Mathias Bavay's avatar
      Changing the case of A3D_VIEW in ARCIO, fixed an image corruption issue in... · 5e4d6709
      Mathias Bavay authored
      Changing the case of A3D_VIEW in ARCIO, fixed an image corruption issue in PNGIO (libpng just *forgets* to flush the file buffer...). Added a missing include in MeteoIO.h
      5e4d6709
    • Mathias Bavay's avatar
      A new key has been added that was missing: GRID2DPATH that can be in intput... · 03109eee
      Mathias Bavay authored
      A new key has been added that was missing: GRID2DPATH that can be in intput and output. This key is now properly handled by the appropriate plugins. A new color reduction strategy has been implemented in the gradients and the PNG plugin: instead of reducing the colors coming out of the gradient, the values coming in are discretized. This leads to much more effective size reduction for the same output quality, with 5% speed increase compared to the original code not doing this reduction (test: reading and writing back a grid). The file size is now 1/3 of the full color file.
      03109eee
  30. 07 Jan, 2012 1 commit
    • Mathias Bavay's avatar
      A few hard coded parameters have been declared as static const (color depth... · 244c1931
      Mathias Bavay authored
      A few hard coded parameters have been declared as static const (color depth per channel, max color per channel) in order to make the code cleaner. A new method has been introduced in the Gradient class: setNrOfColors. This allows to specify a reduced number of unique colors (even if still coded on 8 bits per channel). By using this call in PNGIO (with 8000 unique colors), the output remains visibly almost the same (only some very slow varying parts see a flat color instead of a slow gradient) while the run time is reduced by up to 5% and the file size more than halved.
      244c1931
  31. 06 Jan, 2012 3 commits
    • Mathias Bavay's avatar
      The gradients now don't provide a transparency value (since it had to be... · 768f719a
      Mathias Bavay authored
      The gradients now don't provide a transparency value (since it had to be either fully opaque or fully transparent) but only a boolean. PNGIO now uses a transparent color to encode transparency instead of a true alpha channel, leading to improved run times and smaller file size. The drawback is that pure white is now the transparent color.
      768f719a
    • Mathias Bavay's avatar
      A new gradient type has been added (blue-green isomorphic) and some small... · ec3eb4a7
      Mathias Bavay authored
      A new gradient type has been added (blue-green isomorphic) and some small things improved thanks to valgrind (one potential out of bounds read and with callgrind some small speed improvements)
      ec3eb4a7
    • Mathias Bavay's avatar
      New methods "moveByXY" and "moveByBearing" have been added to Coords,... · e2e3db32
      Mathias Bavay authored
      New methods "moveByXY" and "moveByBearing" have been added to Coords, addressing issue 39. Code cleanup and extensive documenting have been performed on Graphics and PNGIO, that now supports creating world file (optionnally). A new option has also been added to ARCIO, "A3D_view", to generate file names compatible with the Alpine3D's grid viewer (false by default). A new function to remove the extension from a file name has been implemented in IOUtils.
      e2e3db32
  32. 04 Jan, 2012 3 commits