WSL/SLF GitLab Repository

  1. 10 Aug, 2010 1 commit
  2. 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
  3. 26 Jul, 2010 1 commit
  4. 21 Jul, 2010 1 commit
  5. 14 Jul, 2010 1 commit
  6. 13 Jul, 2010 1 commit
  7. 12 Jul, 2010 1 commit
  8. 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
  9. 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
  10. 30 Apr, 2010 1 commit
  11. 21 Apr, 2010 1 commit
  12. 31 Mar, 2010 1 commit
  13. 15 Mar, 2010 1 commit
    • Thomas Egger's avatar
      A new function is introduced into the IOInterface: writeMeteoData. It expects... · 4100a120
      Thomas Egger authored
      A new function is introduced into the IOInterface: writeMeteoData. It expects one vector<vector<MeteoData>> and one vector<vector<StationData>> as well as an optional string (for database info, file name, etc). The relevant io.ini tag is:
      METEODEST = GEOTOP
      
      Only GeotopIO has this method fully implemented thus enabling to convert all meteo data captured from any other source to a GEOtop compliant meteo files. The relevant tags are:
      METEODESTPATH = /tmp
      METEODESTSEQ	= WindS WindDir RelHum AirT SWglobal Iprec
      
      METEODESTPATH determines where the files will be written to and METEODESTSEQ determines the order in which the meteo parameters will be written into the CSV file
      4100a120
  14. 22 Feb, 2010 1 commit
    • Mathias Bavay's avatar
      The plugin's interface (IOInterface) has been slightly modified:... · 2ee54369
      Mathias Bavay authored
      The plugin's interface (IOInterface) has been slightly modified: readSpecialPoints now returns a vector of Coords. This means that a plugin can provide coordinates as (lat,long) or (easting, northing) or (grid_i, grid_j). All the plugins have been modified accordingly and POINTS and POINTSArray have been removed from Array.h
      2ee54369
  15. 16 Feb, 2010 2 commits
    • 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
    • Mathias Bavay's avatar
      The MapProj class has been renamed in Coords. It now contains the coordinates... · d393958b
      Mathias Bavay authored
      The MapProj class has been renamed in Coords. It now contains the coordinates (lat,long) and (xcoord, ycoord) and should therefore be used as a storage and conversion class. The necessary changes have been made to the rest of the code so it uses this class, but it still does NOT use it as a storage of coordinates (which will have to be done in the future). This addressed partially issue 35.
      d393958b
  16. 03 Feb, 2010 1 commit
    • Mathias Bavay's avatar
      The Special_PTS and CSpecialPointsArray structures have been renamed in... · 11d9c246
      Mathias Bavay authored
      The Special_PTS and CSpecialPointsArray structures have been renamed in "POINT" and "POINTSArray" (there was no reason to call them "special points"). 
      
      A few new methods have been added to DEMObject: getPointsBetween that returns a vector containing the indices of all points located on the line between two points (given by their real world (x,y) coordinates), horizontalDistance that returns the horizontal distance between two points and terrainDistance that returns the distance between two point accros the terrain as described by the DEM (ie: going up and down the terrain).
      11d9c246
  17. 12 Jan, 2010 1 commit
  18. 08 Jan, 2010 1 commit
  19. 09 Dec, 2009 1 commit
  20. 19 Nov, 2009 1 commit
    • Mathias Bavay's avatar
      A small but irrtating bug in the Makefile has been fixed (failure to install... · 1ba86807
      Mathias Bavay authored
      A small but irrtating bug in the Makefile has been fixed (failure to install when the parallel version had not yet been compiled). 
      
      The doxygen documentation has been updated with the documentation of the plugins (from a user point of view). The data assimilation reading methods have been slightly tweaked (so that they read a time stamp containing minutes and not only hours). 
      1ba86807
  21. 02 Nov, 2009 1 commit
    • Mathias Bavay's avatar
      All the code that has to do with geographic calculations (projections,... · 7b9e2bd6
      Mathias Bavay authored
      All the code that has to do with geographic calculations (projections, conversions to/from swiss coordinates, geodesic distances, etc) has been moved to the MapProj class. An elegant solution for checking the Grid2DObject coordinates (lat/long against xcoord/ycoord) in underway... (almost there!)
      
      Includes issues have been found and fixed (IOInterface and Grid2DObjet.h)
      
      7b9e2bd6
  22. 05 Sep, 2009 1 commit
  23. 28 Aug, 2009 1 commit
  24. 18 Aug, 2009 1 commit
  25. 07 Aug, 2009 1 commit
    • Thomas Egger's avatar
      * Complete rewrite of IOHandler: Now it is very easy to add new plugins... · b1b0497b
      Thomas Egger authored
      * Complete rewrite of IOHandler: Now it is very easy to add new plugins (adding one line), all the internals (allocation, loading, deleting, loading the right plugin for each IOInterface function) are transparently done.
      
      * changed one parameter in readMeteoData to const unsigned int& from unsigned int. Therefore all children of IOInterface needed to undergo that change
      b1b0497b
  26. 29 Jul, 2009 1 commit
  27. 28 Jul, 2009 1 commit
  28. 27 Jul, 2009 1 commit
    • Thomas Egger's avatar
      New design for MeteoIO library: · e569ad90
      Thomas Egger authored
      * function readMeteoData is there to read an interval of data
      	readMeteoData(fromDate, toDate, vector< vector<MeteoData> >, vector< vector<MeteoData> >)
      * BufferedIOHandler is constructed with another child of IOInterface (e.g. IOHandler) as parameter and deals with all intrinsic issues of buffering, resampling, filtering: so if you have an IOHandler and you want to add buffering:
      	BufferedIOHandler(iohandler, configreader)
      and then you can access all IOInterface functions, plus a few convenient ones that only BufferedIOHandler exposes:
      	getNextMeteoData(date, vector<MeteoData>, vector<StationData>)
      	readMeteoData(date, vector<MeteoData>, vector<StationData>)
      you can enable and disable buffering:
      	bufferediohandler.enableResampling(true);
      
      * A3DIO and IOHandler had to be adapted to the changes in IOInterface 
      * added a getYear() function to Date_IO
      * MeteoData has a new member variable "resampled" to indicate whether data has been resampled or not
      e569ad90
  29. 23 Jul, 2009 2 commits
    • Mathias Bavay's avatar
      Ok, this is the correct implementation of what I tried to do in the previous... · d7efb8a5
      Mathias Bavay authored
      Ok, this is the correct implementation of what I tried to do in the previous commit... Now, the Meteo2DInterpolator can take either Array2D<double> or Grid2DObjects as tables to fill. The overloading of the Write2DGrid has therefore been suppressed: since Grid2DObjects are geography-friendly, they should be used in our applications instead of Array2D (that should be reserved for internal implementation of objects).
      
      So, this is mostly reverting to the code before the last commit, with a few extra lines of code to do the magic...
      d7efb8a5
    • Mathias Bavay's avatar
      In order to make using the spatial interpolations easier to use, there is a... · 7444d587
      Mathias Bavay authored
      In order to make using the spatial interpolations easier to use, there is a need to be able to write to files objects of type Array2D. This has been added to IOInterface and implemented in the different plugins.
      
      meteoio_demo has been modified accordingly and is now much simpler.
      
      More fundamentally, we need to think about the way to handle in a nice and elegant way the different type accross the plugins (typically as seen for Write2DGrid): where should we handle what in order to let the user seemlessly write objects to the available mediums?
      7444d587
  30. 28 May, 2009 1 commit
  31. 26 May, 2009 2 commits