WSL/SLF GitLab Repository

  1. 20 Jul, 2010 1 commit
    • Mathias Bavay's avatar
      Several bugs have been fixed in Coords: the setEPSG was not working, the... · 3e406fd0
      Mathias Bavay authored
      Several bugs have been fixed in Coords: the setEPSG was not working, the altitude was not displayed with the << operator and the formatting of decimal_to_dms was broken in its handling of seconds...
      
      The documentation for the resampling has been expanded and several other modules' documentation have been updated so their structure is built along the same lines. 
      
      An error message in IOHandler (when failing to load a plugin) was not clear and has been changed.
      
      Several bugs in SMEIO have been fixed (improper column names mapping, improper handling of easting/northing, unclear error message).
      
      The example data set has been tagged as GMT+1 and the meteo_reading and 2D_interpolations modified accordingly (so the argument read on the command line is assumed to be in GMT+1 too)
      3e406fd0
  2. 30 Jun, 2010 1 commit
  3. 29 Jun, 2010 1 commit
    • Mathias Bavay's avatar
      Fixed the behavior of ConfigReader when throwing exceptions: it rethrows so... · adf44d82
      Mathias Bavay authored
      Fixed the behavior of ConfigReader when throwing exceptions: it rethrows so that the error message can be turned off by the receiver of the exception (if simply not printing e.what() when catching the exception). 
      
      The warnings in FilterAlgorithms have been turned off cast to void) since this is an algorithm that has to be re-written anyway. The documentation has been fixed (missing documentation, broken link, etc)
      adf44d82
  4. 28 Jun, 2010 1 commit
    • Thomas Egger's avatar
      Added new plugin for WSMDF format. gzipped version of format currently not... · 8750dd19
      Thomas Egger authored
      Added new plugin for WSMDF format. gzipped version of format currently not supported. binary version works, but since the julian date does not fit into a 4 byte (32bit) float, it is unusable. ASCII format works, although unit_multiplier and unit_offset are currently not supported. For location information the easting, northing version is not yet supported.
      
      Added function IOUtils::stripComments(string&) it, deletes everything after # or ; from the string&
      8750dd19
  5. 26 Jun, 2010 1 commit
    • Thomas Egger's avatar
      The new filtering and resampling framework. Filtering/Processing and... · c2435a6a
      Thomas Egger authored
      The new filtering and resampling framework. Filtering/Processing and Resampling have been separated from each other, the Resampling is now done with the class Meteo1DInterpolator which utilizes the static algorithms within ResamplingAlgorithms. The filtering remains a task of class MeteoFilter. The calling of the resampling and filtering as well as the data selection is now based in the facade class MeteoProcessor. MeteoProcessor::processData function calls the filtering algorithms, then passes the filtered data to the resampling algorithms and finally runs a "check only" filtering pass.
      
      The filtering system underwent some changes in order to simplify the tasks at hand, the interface has changed.
      
      The RateFilter is currently disfunctional, needs to be reimplemented.
      c2435a6a
  6. 24 Jun, 2010 1 commit
    • Thomas Egger's avatar
      Changes to StationData: new string stationID (shortname) to describe a... · 6c335dc6
      Thomas Egger authored
      Changes to StationData: new string stationID (shortname)  to describe a station in short, stationName shall be used for long description of a station. changes required an adaptation within the plugins
      
      Changes to ConfigReader: comments may appear anywhere (also after key value pairs or section names), everything after a '#' or ';' is disregarded.
      
      PGMIO: small fix: xllcorner mixed up with yllcorner
      
      FilterAlgorithms: extrapolate algorithm refined
      
      6c335dc6
  7. 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
  8. 17 Jun, 2010 1 commit
    • Thomas Egger's avatar
      Added the exponential smoothing filter "exp_smoothing" and rewrote the... · 630ca661
      Thomas Egger authored
      Added the exponential smoothing filter "exp_smoothing" and rewrote the "mean_avg" and "median_avg" filter to calculate the mean and median for every element within vecFilteredM.
      
      Usage of the new filter:
      HS::filter1 = exp_smoothing
      HS::arg1 = soft left 1 7200 0.6
      
      The last argument specifies the smoothing factor alpha, the other arguments steer the window calculation (in this case a left leaning window with at least 1 data point spanning 7200 minutes.
      630ca661
  9. 09 Jun, 2010 3 commits
  10. 28 May, 2010 1 commit
    • Mathias Bavay's avatar
      First, the issue 57 (angle/bearing conversion) has been addressed. · 68605c9a
      Mathias Bavay authored
      Then, the remaining namespace issues with doxygen have been fixed, by enclosing the full class implementation in the namespace (as seen for the libstdc++). This removes all these irritating issues. But the popc version has been broken by the change (as seen in LegacyIO).
      68605c9a
  11. 06 May, 2010 4 commits
  12. 30 Apr, 2010 1 commit
  13. 21 Apr, 2010 1 commit
  14. 20 Apr, 2010 1 commit
  15. 16 Apr, 2010 1 commit
    • Mathias Bavay's avatar
      Two public methods have been added to Date_IO (getJulianDayNumber and... · 3a1f6e9b
      Mathias Bavay authored
      Two public methods have been added to Date_IO (getJulianDayNumber and isLeapYear). The documentation has been slightly improved. A helper function has been added to IOUtils: getTimeZoneParameters. It will be used by the plugins in order to correctly set the timezone of their data.
      
      The Median Absolute Deviation filter has been implemented, documented and checked (in FilterAlgorithms).
      
      
      3a1f6e9b
  16. 15 Apr, 2010 2 commits
    • Mathias Bavay's avatar
      A bug has been fixed in the rate filter, a better behavior has been... · 55bc5d6f
      Mathias Bavay authored
      A bug has been fixed in the rate filter, a better behavior has been implemented for the Date_IO class (once a timezone has been set, either by the constructor or by an explicit call, all setDate() calls that don't specify a timezone will be considered to be in the pre-set timezone), the class has been documented and the example has been improved.
      55bc5d6f
    • Mathias Bavay's avatar
      The Date_IO class has been deeply rewriten. The conversion methods have been... · e88ffdc2
      Mathias Bavay authored
      The Date_IO class has been deeply rewriten. The conversion methods have been checked (with references added), the class now uses real julian date (internally as a reference) and can generate a variety of outputs (julian, modified julian, truncated julian, unix, excel). It also works properly with time zones and a simplified version of dayligh saving time (it assumes that DST always introduces a +1 hour shift, which should always be true but on one AUstralian Island: Lord Howe Island). Some now invalid calls have been fixed in plugins (the short setDate(yy,mm,dd) call is now longer supported but migth be misinterpreted by the compiler for another call, despite types mismatch).
      
      A new example code has been added: time.cc
      e88ffdc2
  17. 14 Apr, 2010 1 commit
  18. 13 Apr, 2010 3 commits
  19. 12 Apr, 2010 3 commits
  20. 08 Apr, 2010 1 commit
  21. 16 Mar, 2010 1 commit
  22. 15 Mar, 2010 1 commit
    • Thomas Egger's avatar
      Added Filter to average wind speeds and directions called WindAvgFilter,... · b90d8858
      Thomas Egger authored
      Added Filter to average wind speeds and directions called WindAvgFilter, accessible through the io.ini tags: wind_avg;
      example:
      VW::filter1 = wind_avg
      VW::arg1 = soft center 1 60
      
      The averaging is done vector based by computing the east-west and north-south components of the wind (using cos and sin). The vectors are weighted with the corresponding wind speed.
      b90d8858
  23. 16 Feb, 2010 1 commit
    • Mathias Bavay's avatar
      The class Stationdata now properly uses the new Coords class. All usual... · b40dedb4
      Mathias Bavay authored
      The class Stationdata now properly uses the new Coords class. All usual dependencies have been fixed (A3DIO.cc) but not (yet) the optional plugins. The Coords class has been modified so that it computes the matching coordinates as soon as possible instead of the previous implementation that was delaying it as much as possible (thus making "const Coords..." impossible).
      
      The includes have been cleaned up (compilation was failing because of multiple "using namespace" in header files) and all "using namespace" have been removed from header files (please don't put any of these back!!). The doxygen comments has been updated.
      b40dedb4
  24. 28 Jan, 2010 1 commit
    • Mathias Bavay's avatar
      The parallelization was lagging behind, so this has been fixed: One internal... · f1989ba4
      Mathias Bavay authored
      The parallelization was lagging behind, so this has been fixed: One internal variable was not serialized in DEMObject, there was no serialization at all in Meteo2DInterpolator and some marshalling methods had to be written (in marshall_meteoio). The serialization of Meteo2DInterpolator should be tested however!
      
      The marshalling code has been cleaned up and some missing "std::" added in FilterAlgorithms (doxygen was complaining).
      f1989ba4
  25. 24 Jan, 2010 1 commit
    • Thomas Egger's avatar
      Added the MeanAvgFilter and updated the MedianAvgFilter. Now the position of... · e304828d
      Thomas Egger authored
      Added the MeanAvgFilter and updated the MedianAvgFilter. Now the position of the filter window can be defined. The keyword soft has the meaning that the configuration of the window position is not strict (it will adapt if there is not enough data available for the user defined window position). If both soft and the position for the window (left, right, center) are missing "center" is assumed. Usage:
      
      TA::filter1 = mean_avg
      TA::arg1   = soft right 10 100
      RH::filter1 = median_avg
      RH::arg1  = 10 200
      
      Meaning: use mean_avg filter on TA, the window shall be right leaning spanning at least 10 points and 100 minutes. Use median_avg filter on RH, the window shall be centered (strictly).
      e304828d
  26. 11 Dec, 2009 1 commit
    • Mathias Bavay's avatar
      A new slope computation algorithm has bee added: CARD It computes the slope... · 27deca55
      Mathias Bavay authored
      A new slope computation algorithm has bee added: CARD It computes the slope using Corripio and then discretizes the azimuth along 8 cardinal directions and the slope by degrees. This should be all that GEOtop needs for its drainage direction (then simply calling a dem.update("CARDINAL")).
      
      The copyright notices have been put in place in all files (headers and cc) with proper attribution of copyright.
      
      The documentation has been improved, specially fixing issue 22. Warning messages of doxygen have been fixed. An example subdirectory has been created in /doc and contains (currently) 2 examples of code using MeteoIO.
      27deca55
  27. 08 Dec, 2009 1 commit
  28. 22 Nov, 2009 1 commit
    • 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
  29. 19 Nov, 2009 1 commit
  30. 11 Nov, 2009 1 commit
    • 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