WSL/SLF GitLab Repository

  1. 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
  2. 26 Jun, 2010 2 commits
    • Thomas Egger's avatar
      Implementation of binary search in IOUtils::seek(date, vecMeteo) - therefore... · 3d62447c
      Thomas Egger authored
      Implementation of binary search in IOUtils::seek(date, vecMeteo) - therefore the implementation of seek in BufferedIOHandler became obsolete. BufferedIOHandler now fully relies on IOUtils::seek and IOUtils::npos.
      3d62447c
    • 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
  3. 25 Jun, 2010 3 commits
  4. 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
  5. 22 Jun, 2010 1 commit
  6. 21 Jun, 2010 5 commits
  7. 17 Jun, 2010 2 commits
    • 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
    • Mathias Bavay's avatar
      A new plugin has been introduced: PGMIO that reads/writes PGM graphic files as... · c20bdcaa
      Mathias Bavay authored
      A new plugin has been introduced: PGMIO that reads/writes PGM graphic files as 2D grids. (using the template plugin, it took less than 30 minutes for implementing the write2Dgrid!!)
      
      More documentation has been updated/added, the template plugin has been fixed for some issues, the example io.ini shows more plugins usage.
      c20bdcaa
  8. 16 Jun, 2010 2 commits
  9. 15 Jun, 2010 2 commits
  10. 14 Jun, 2010 1 commit
    • Mathias Bavay's avatar
      General cleanup: the time.cc example sets a timezone variable, an unnecessary... · e24ad1b2
      Mathias Bavay authored
      General cleanup: the time.cc example sets a timezone variable, an unnecessary "mio::" has been removed in Coords, and two template files have been added to help plugin development (and mentionned in the documentation). 
      
      The cmake targets have been changed into "safe", "optimized", "par" and "hera". (the later being specific for the hera cluster).
      e24ad1b2
  11. 09 Jun, 2010 7 commits
  12. 08 Jun, 2010 1 commit
  13. 07 Jun, 2010 1 commit
    • Mathias Bavay's avatar
      The ARPSIO plugin's documentation is now correclty linked to the rest of the... · ab06b9d9
      Mathias Bavay authored
      The ARPSIO plugin's documentation is now correclty linked to the rest of the documentation. The reading of DEMs has been validated (with some bug fixes). It currently only works for APRSGRID modified data files (but supporting original ARPS ascii files should be easier). More explicit error messages have been added to Array2D
      ab06b9d9
  14. 03 Jun, 2010 1 commit
    • Mathias Bavay's avatar
      The first version of an ARPSIO plugin has been written, largely based on the... · 72c0a247
      Mathias Bavay authored
      The first version of an ARPSIO plugin has been written, largely based on the code of LegacyIO. This plugin is mostly non-fonctional (besides reading DEM) because most of the concepts of ARPS files are foreign to MeteoIO... Finishing it will require carreful thinking and brilliant ideas! (the biggest issues have to do with the irregular grids that are a usual feature of ARPS files).
      
      A warning has been silenced until we finish the implementation of the USER interpolation algorithm (reading user provided grids).
      72c0a247
  15. 02 Jun, 2010 1 commit
    • Mathias Bavay's avatar
      Fixed some doxygen comments in SNIO. · 3338919c
      Mathias Bavay authored
      Some commented out code has been removed. The check for the projection of the stations compared to the projection used for the DEM has been re-activated (it MUST be active!). The first implementation of a custom grid "interpolation" method has been done (issue 50) but can not be used: we need access to an IOHandler in order to properly read grids provided by the user. Otherwise, the rest of the code for it has been written and tested.
      3338919c
  16. 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
  17. 27 May, 2010 2 commits
  18. 26 May, 2010 3 commits
    • Thomas Egger's avatar
      Cleanup and more verbose error messages. · d221ba14
      Thomas Egger authored
      d221ba14
    • Thomas Egger's avatar
      SNIO is capable of reading *inp files now. Example usage: · 92120524
      Thomas Egger authored
      METEO = SNOWPACK
      NROFSTATIONS = 1
      METAFILE = input/IMIS_Extracted_Info.txt
      STATION1   = DAV1
      METEOFILE1 = /home/thoems/Desktop/snowpack_ref/validation/trunk/snowpack/mst2006/MST06_RR.inp
      
      The parameters NROFSTATIONS, METAFILE, STATION# and METEOFILE# are obligatory.
      
      A little bug in GEOtopIO lead to the copying of the tss value to tsg.
      The MeteoData::HS snow height is internally represented in meters.
      92120524
    • Mathias Bavay's avatar
      Two minor potential bugs have been fixed in SNIO. · f62e474c
      Mathias Bavay authored
      The A3DIO plugin now has a writeMeteo() method. It writes all timesteps, even if truncating the timestamp to the hour. It also assumes that all stations have synchronized timesteps (ie: reading the timesteps for the first station is enough). It can also not handle metadata that change over time and it does not split 2D files per years...
      f62e474c
  19. 06 May, 2010 3 commits