WSL/SLF GitLab Repository

Skip to main content
Sign in
Snippets Groups Projects

Commits · 8528f36d14ca8eb6a55e547fda51e3720bc902df

  1. Feb 14, 2012
  2. Feb 13, 2012
  3. Feb 11, 2012
  4. Feb 10, 2012
  5. Feb 09, 2012
  6. Feb 08, 2012
  7. Feb 07, 2012
  8. Feb 03, 2012
  9. Feb 02, 2012
  10. Feb 01, 2012
  11. Jan 31, 2012
  12. Jan 30, 2012
  13. Jan 27, 2012
  14. Jan 25, 2012
  15. Jan 23, 2012
  16. Jan 20, 2012
  17. Jan 19, 2012
  18. Jan 18, 2012
  19. Jan 17, 2012
  20. Jan 16, 2012
  21. Jan 16, 2012
  22. Jan 13, 2012
  23. Jan 12, 2012
  24. Jan 11, 2012
  25. Jan 10, 2012
  26. Jan 09, 2012
    • Mathias Bavay's avatar
      Introducing smart legends: this tries to find a meanigful range and steps... · c0b7d2ff
      Mathias Bavay authored
      Introducing smart legends: this tries to find a meanigful range and steps within that range. The choice of rounding the lower and upper bounds (thus not guaranteeing that the whole data fits in the legend) has been made as it could lead to more suitable legends.
      c0b7d2ff
    • 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
  27. Jan 07, 2012
    • 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
  28. Jan 06, 2012
    • 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
  29. Jan 04, 2012
  30. Jan 03, 2012
  31. Jan 02, 2012
    • Mathias Bavay's avatar
      The NearestNeighbour 2D resampling algorithm has been reshaped in order to... · 14736bb0
      Mathias Bavay authored
      The NearestNeighbour 2D resampling algorithm has been reshaped in order to offer the same interface as BiLinear. A typo in its name has been fixed. But NearestNeighbour does not work properly (bug not found yet)
      
      A better way of submitting metadata to libpng has been implemented (ie: two vectors of strings that are then converted to char* to be given to libpng). The plugin basic options have been implemented, including size specifications. 
      
      Some fonts improvements.
      14736bb0
  32. Dec 25, 2011
  33. Dec 23, 2011
    • Mathias Bavay's avatar
      The purely graphical parts of PNGIO have been isolated in a new file,... · 171de825
      Mathias Bavay authored
      The purely graphical parts of PNGIO have been isolated in a new file, Graphics, that contain the Legend class, a Color namespace and a Gradient class. The gradient code is not so clean yet, but the PNGIO plugin is now much cleaner. The color gradients will actially need some serious re-actoring and design in order to be both flexible and efficient (the odds are, it would be based on a object factory and several derived classes like for libFit1D).
      171de825
  34. Dec 22, 2011
  35. Dec 20, 2011
  36. Nov 19, 2011
  37. Nov 18, 2011
  38. Nov 16, 2011
  39. Nov 15, 2011
  40. Nov 14, 2011
  41. Nov 13, 2011
    • Mathias Bavay's avatar
      Very small changes (ie: excluding exception backtrace) so that MeteoIO... · f4bb9e43
      Mathias Bavay authored
      Very small changes (ie: excluding exception backtrace) so that MeteoIO compiles for Android (follow the "Getting-started" documentation page if you're want to witness it by yourself!). Basically, android-cmake adds a new plateform variable (named "ANDROID", how surprising) that we use to skip the backtrace and its include.
      f4bb9e43
    • Mathias Bavay's avatar
      Added parameter check to the HNW_MELT filter and changed its handling of... · 02a4afb0
      Mathias Bavay authored
      Added parameter check to the HNW_MELT filter and changed its handling of filtered points: since when we can diagnose that the non-zero measurements are coming from melt in the sensor, we now set the measured value to zero. It gets set to nodata only when the melt conditions could not be established (ie: missing measurements on RH, TA, etc). We will have to see if it really makes sense by using it for a while...
      02a4afb0
  42. Nov 11, 2011
    • Mathias Bavay's avatar
      Extra clean up of BormaIO and GSNIO · 540bcd72
      Mathias Bavay authored
      540bcd72
    • Mathias Bavay's avatar
      The "RateFilter" filter has been renammed "FilterRate" in order to be more... · 1adfbb72
      Mathias Bavay authored
      The "RateFilter" filter has been renammed "FilterRate" in order to be more consistent with other filters (this does not change anything user-side). A new filter has been created, HNW_MELT. This applies the Snowpack criteria on a precipitation measurement: if relative humidity is not high enough or TA and TSS too far apart, it is considered that any measured precipitation comes from snow melting in the (unheated) rain gauge, therefore the measurement is deleted.
      
      The last occurences of NROFSTATIONS have been deleted in BormaIO, closing issue 163.
      
      Some code cleanup took place in CosmoIO and FilterMax.
      
      In IMISIO, a new option and behavior has been implemented to properly manage precipitation measurements: ANETZ stations keep their HNW (they are considered reliable). IMIS stations by default don't produce HNW anymore. A key (USE_IMIS_HNW) can force using them, but a detection of winter conditions (ie: TA>0 and TSS>0) removes measurements known to be invalid. If neither TA nor TSS are available, then HNW is deleted (in order to prevent injecting HNW=0 in the system during a freeze event if the station would happen to miss TA and TSS). USE_IMIS_HNW should always be followed by the HNW_MELT filter.
      1adfbb72
Loading