WSL/SLF GitLab Repository

  1. 19 May, 2011 1 commit
  2. 18 May, 2011 1 commit
  3. 17 May, 2011 1 commit
  4. 24 Mar, 2011 1 commit
    • Mathias Bavay's avatar
      The array getSum() was not the most appropriate method... It has been replaced... · 44824a9c
      Mathias Bavay authored
      The array getSum() was not the most appropriate method... It has been replaced by a getCount(), which means that to really get the sum, one has to do getMean()*getCount().
      
      A new Coords::isNodata() method has been implemented as well as the possibility for two Coords objects to be equal if both are nodata. This is now used in SMETIO so that if the position of a station becomes nodata, it won't force its position information into the data section.
      
      Some comments have been cleaned up in IMISIO, better exceptions thrown in SNIO and better backtrace formatting in IOExceptions (this being only for Linux, a dark grey text color has been specified to more or less make the backtrace less intrusive and scary to the user).
      
      More Visual C++ tweaks in CMakeLists
      44824a9c
  5. 23 Mar, 2011 1 commit
  6. 19 Mar, 2011 1 commit
    • Mathias Bavay's avatar
      The SMET specification has been changed and brought to version 1.1. The... · e5d482a4
      Mathias Bavay authored
      The SMET specification has been changed and brought to version 1.1. The units_multiplier and units_offset order has been changed: now, the multiplier is applied FIRST and then the offset. This allows to disable a SMET column by setting the mutiplier to 0 and the offset to nodata. A warning is displayed by SMETIO for all files version <1.1 urging users to check their files and update them to 1.1.
      
      Code cleanup in IMISIO, grid constraint for wind that it must be greater than 0 in Meteo2DInterpolator.
      e5d482a4
  7. 16 Mar, 2011 1 commit
  8. 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
  9. 11 Mar, 2011 1 commit
  10. 10 Mar, 2011 1 commit
  11. 09 Mar, 2011 1 commit
  12. 08 Mar, 2011 2 commits
    • Mathias Bavay's avatar
      The vw_max field has been added to CosmoXMLIO, and the plugin has seen some... · 7b36a51a
      Mathias Bavay authored
      The vw_max field has been added to CosmoXMLIO, and the plugin has seen some cleanup in its comments. Additional comments in Sun.cc should help understand acceptable values for several radiation parameters. 
      
      A bug in SMETIO has been found (it was looking for METEOPATH in the input section even when smet was only used for outputs) and fixed.
      7b36a51a
    • Mathias Bavay's avatar
      The SNIO and SMETIO plugins now use METEOPATH for both inputs and outputs.... · 514fa75f
      Mathias Bavay authored
      The SNIO and SMETIO plugins now use METEOPATH for both inputs and outputs. This is more consistent with other plugins and usage.
      
      Some unused variables/methods have been removed from BufferedIOHandler (namely, the "buffer_always" functionality).
      
      A first implementation of fileExists() and readDirectory() for Windows has been written. This has not yet been tested (even for compilation) since it requires Visual C++. This moves forward to address issues 143 and 144
      514fa75f
  13. 04 Feb, 2011 1 commit
    • Mathias Bavay's avatar
      The full support for timezones has been brought back. This fixes issue 71. The... · 904aeaa8
      Mathias Bavay authored
      The full support for timezones has been brought back. This fixes issue 71. The SMET, SMET, IMIS, BORMA plugins have been validated. Geotop should be validtaed if an input data set is available. A new class will have to be implemented to represent time periods. This is currently only a typedef pointing to the Date class, but a specific class would be welcomed.
      
      GSN has been fixed for some changes on the web service, but does not retrieve the correct timestamps (is this a GSN issue?). The GSN compilation has been improved: the warnings related to GSOAP have been removed. 
      
      A new long wave radiaiton model using cloudiness as input has been added (Omstedt, 1990). 
      904aeaa8
  14. 09 Dec, 2010 1 commit
  15. 03 Nov, 2010 1 commit
  16. 29 Oct, 2010 1 commit
    • Mathias Bavay's avatar
      The SMET plugin was the only plugin not to use "STATION#" for specifying its... · 713481af
      Mathias Bavay authored
      The SMET plugin was the only plugin not to use "STATION#" for specifying its input files/stations (besides plugin reading a path). It has been modified for consistency. This WILL break older io.ini files...
      
      A new projection method has been added in lib2Dinterpol: fracProject that projects a value according to the elevation based on a fractional (or relative) change of the value with the elevation. This can be enabled in CST_LAPSE by adding the "frac" keyword as the second argument (after the rate value). 
      
      The documentation "how to write a spatial interpolation algorithm" has been updated to reflect recent changes in the code.
      
      The FindMeteoIO and FindOCCI files for cmake were not compatible with cmake<2.6.1. They have been rewriten to be compatible with older versions (specially like the 2.6.0 deployed on Debian). A bug in CMakeList for the IMIS plugin has been fixed (wrong cmake variable name used).
      713481af
  17. 08 Sep, 2010 1 commit
  18. 03 Sep, 2010 1 commit
    • Mathias Bavay's avatar
      The embryo of a matrix class has been implemented. It is still based on... · eb83911b
      Mathias Bavay authored
      The embryo of a matrix class has been implemented. It is still based on Array2D and therefore the indexing is still 0 to n-1 instead of being 1 to n and the coordinates are swapped compared to normal matrices.
      
      New regression models have been added, all based on the linear regression code but using variable transforms to achieve their goal. 
      
      The global header file (MeteoIO.h) was incomplete. It has therefore been reorganized and now contains everything that it should...
      eb83911b
  19. 11 Aug, 2010 1 commit
  20. 10 Aug, 2010 1 commit
  21. 06 Aug, 2010 1 commit
    • Mathias Bavay's avatar
      The DEMObject was not properly buffered (the update flag was not honored),... · 8e574ceb
      Mathias Bavay authored
      The DEMObject was not properly buffered (the update flag was not honored), this has been fixed. The A3DIO plugin now implements readStationData. A few speed improvements have been brought to A3DIO and SMETIO by using the "reserve" method of the vectors (so that the vectors don't have to reallocate memory constantly).
      8e574ceb
  22. 04 Aug, 2010 1 commit
  23. 03 Aug, 2010 1 commit
    • Mathias Bavay's avatar
      The DEMObject subset constructor was broken, it has been fixed. It involved... · 886f3a28
      Mathias Bavay authored
      The DEMObject subset constructor was broken, it has been fixed. It involved creating a subset method in the arrays classes.
      
      The Coord class now supports using the given UTM zone when converting from lat/long to UTM. If the computed zone does not match the one requested in the io.ini, it prints a warning but uses the user-supplied zone.
      
      A first implementation of readStationData for SMETIO has been done. 
      
      Some documentation has been added for plugin development
      886f3a28
  24. 02 Aug, 2010 2 commits
  25. 01 Aug, 2010 1 commit
  26. 26 Jul, 2010 1 commit
  27. 20 Jul, 2010 4 commits
    • Mathias Bavay's avatar
      Another bug in the parameter name mapping in SMETIO has been found and some... · d1f92142
      Mathias Bavay authored
      Another bug in the parameter name mapping in SMETIO has been found and some error messages made clearer (with more information).
      
      A bug in convertString<Date> has been found that was preventing it from corretly processing dates containing seconds. A quick fix has been implemented that reads seconds (even if they are later ignored because the Date class would need to support seconds)
      d1f92142
    • 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
    • Thomas Egger's avatar
      BUGFIX: A boolean signature check had a boolean evaluation for the version... · 893b43d3
      Thomas Egger authored
      BUGFIX: A boolean signature check had a boolean evaluation for the version string check that was not performing as intended.
      893b43d3
    • Thomas Egger's avatar
      BUGFIX: A boolean signature check had a boolean evaluation for the version... · 027d48cc
      Thomas Egger authored
      BUGFIX: A boolean signature check had a boolean evaluation for the version string check that was not performing as intended.
      027d48cc
  28. 19 Jul, 2010 2 commits
    • Thomas Egger's avatar
      BUGFIX: When adding a key on the fly to the ConfigReader object it disappeared... · 46a13f38
      Thomas Egger authored
      BUGFIX: When adding a key on the fly to the ConfigReader object it disappeared when accessing it in a plugin. Reason: The dynamic instantiation used the filename parameter in the constructor of the plugins instead of the ConfigReader object itself. Architectural change inside DynamicLibrary was necessary.
      46a13f38
    • Mathias Bavay's avatar
      The EPSG get and set methods have been added to Coords. The "<<" operator has... · 9e167f50
      Mathias Bavay authored
      The EPSG get and set methods have been added to Coords. The "<<" operator has been redefined for ConfigReader (this is convenient for debugging). The SMETIO plugin has been updated (so that it supports EPSG codes and also to change some column names and improve the foutput formatting). Some documentation has been added and the example data set has been replaced by a data set suitable for the whole Switzerland and in SMET format.
      9e167f50
  29. 16 Jul, 2010 1 commit
    • Mathias Bavay's avatar
      The missing License file has been added. A little bit of cleanup in CMakeLists... · db82098a
      Mathias Bavay authored
      The missing License file has been added. A little bit of cleanup in CMakeLists (removing some code that is anyway not helping for hera).
      
      ImisIO and SmetIO have been slightly improved (retrieving full names if available in Imis, supporting several versions of the smet specification in SmetIO).
      
      The SMET specification should now be pretty much ready. Please provide your last comments before version 1.0!!
      db82098a
  30. 07 Jul, 2010 1 commit
  31. 30 Jun, 2010 1 commit
  32. 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
  33. 28 Jun, 2010 2 commits
    • Thomas Egger's avatar
      The WSMDF binary data format now saves the julian date as a double (64bit)... · 8916fe57
      Thomas Egger authored
      The WSMDF  binary data format now saves the julian date as a double (64bit) all other parameters are stored as floats (32-bit) and a dataset is terminated by a char '\n'.
      
      Binary version of WSMDF working.
      TODO: change timestamp to julian and GZIP features
      8916fe57
    • 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