- 27 Aug, 2010 1 commit
-
-
Mathias Bavay authored
-
- 26 Aug, 2010 1 commit
-
-
Mathias Bavay authored
This is the initial commit of the horizon functionnality for DEMs as coded by Fabienne Lanini. Some cleanup will still be required though...
-
- 24 Aug, 2010 1 commit
-
-
Mathias Bavay authored
The comparison operator of Coords has been reviewed and improved. The << operator that is not available for a parclass (for popc) can be replaced with IOHandler.toString() for POPC
-
- 23 Aug, 2010 1 commit
-
-
Mathias Bavay authored
The DEM object now calculates slope and azimuth in degrees. This is more consistent with the usage of bearings in degrees and of trigonometric angles in radiants. A missing file has been added to the autotools compilation. A better comparison is performed for Coords objects.
-
- 20 Aug, 2010 2 commits
-
-
Mathias Bavay authored
Temporary fix for the << operator and POPC: a par class can not have a "friend" method... (so IOHandler can not redefine "<<" the way we used to do). Therefore, it has been disabled for popc
-
Mathias Bavay authored
In order to solve compilation problems with VC++, we need to rename all publicly accessible variables whose name start with a "_". This is the begining of this effort...
-
- 19 Aug, 2010 2 commits
-
-
Mathias Bavay authored
More debugging help: the "<<" operator has been redefined for MeteoFilter, MeteoProcessor and BufferedIOHandler. Since the Config object is copied all over the place, it is not always printed.
-
Mathias Bavay authored
Several 1D statistical methods has been implemented while the existing ones have been made nodata safe. Added a redefinition of the << operator for IOPlugin and IOHandler. This should be convenient for debugging! Some small optimizations have been brought into the spatial interpolations following some tests with cachegrind. Nothing huge, but small improvements.
-
- 18 Aug, 2010 1 commit
-
-
Thomas Egger authored
Added a void write(const string& filename) procedure to the Config class. The Config object can thus be written into an ini file.
-
- 17 Aug, 2010 1 commit
-
-
Thomas Egger authored
Added two functions to MeteoData: bool param_exists(string) and void reset() reset() sets all the values of the MeteoData object to IOUtils::nodata (note: not the date), and param_exists(string) returns true if a certain parameter exists and false otherwise in a MeteoData object. The Meteo1DInterpolator now correctly creates MeteoData objects that have more parameters than the default ones (like ta, hnw, ...)
-
- 16 Aug, 2010 3 commits
-
-
Mathias Bavay authored
-
Mathias Bavay authored
Code tagging and some usefull methods for debugging and the begining of a true accumulator for time series (for any sampling rates).
-
Thomas Egger authored
Added a soft min/max filter to Meteo2DInterpolator. It is explicitly called for RH grids and HNW grids to make sure values stay in the range of [0;1] (for RH) or [0; inf) (for HNW).
-
- 12 Aug, 2010 2 commits
-
-
Mathias Bavay authored
The linear regression implementation is now able to remove a variable number of "invalid" points based on the initial size of the data set. Some extra weighting methods have been implemented (but are not yet used).
-
Mathias Bavay authored
Several speed optimizations have been brought to the 2D interpolations (using the const keyword when possible, etc). The Quake3 1/x^2 approximation has been implemented for the IDW_core and brings a slight loss of precision (1e-6 in relative error in real life tests) while boasting a huge reduction of computational time (factor of 3 when called within Alpine3D with its own overhead). The documentation can now be build and not installed (instead of linking building and installation as previously done)
-
- 11 Aug, 2010 1 commit
-
-
Mathias Bavay authored
The array memory alignement has been fixed for Array2D (this was the only that was wrongly aligned). This is a fix to issue 43
-
- 10 Aug, 2010 3 commits
-
-
Mathias Bavay authored
-
Mathias Bavay authored
-
Mathias Bavay authored
The bufferAlways method of BufferedIOHandler has been renamed as setBufferProperties. The A3DIO, IMISIO, SMETIO and SNIO plugins now correctly support time zones. The plugin howto documentation now warns the developer to take care of time zones issues.
-
- 06 Aug, 2010 1 commit
-
-
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).
-
- 04 Aug, 2010 1 commit
-
-
Mathias Bavay authored
-
- 03 Aug, 2010 3 commits
-
-
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
-
Thomas Egger authored
-
Thomas Egger authored
Added a deleteKey function to Config object: both deleteKey("testkey", "mysection") or just deleteKey("testkey2") are valid (defaulting to the GENERAL section).
-
- 02 Aug, 2010 4 commits
-
-
Thomas Egger authored
Bugfix: The buffer was filled with all data before the date requested, it should only fill the buffer with data between dateStart and dateEnd
-
Thomas Egger authored
Introduced new template function get(key, section) and get(key) to the Config class, it should make reading of values easier: Config cfg("io.ini"); vector<int> = cfg.get("DEPTHS", "INPUT", Config::nothrow); string mystr = cfg.get("PATH", "OUTPUT");
-
Mathias Bavay authored
The WIND_CURV spatial interpolations algorithm now intelligently checks if the curvatures are available or not and gives a warning if not (and also take a 0 grade so that it would not be used). The SMET plugin now uses the user provided coordinate system (as a default value for input and as a target coordinate system for output).
-
Mathias Bavay authored
-
- 01 Aug, 2010 2 commits
-
-
Thomas Egger authored
-
Thomas Egger authored
-
- 28 Jul, 2010 1 commit
-
-
Thomas Egger authored
The keys and sections within a Config object are now case insensitive, the values remain case sensitive.
-
- 26 Jul, 2010 5 commits
-
-
Thomas Egger authored
-
Thomas Egger authored
-
Thomas Egger authored
-
Thomas Egger authored
MeteoData is now able to hold any meteo parameters, however the ones in MeteoData::Parameters are the only ones that go through the filtering and resampling for now. To add a new parameter to a MeteoData object do the following: md.addParameter("VVT"); md.param("VVT") = 222.0;
-
Thomas Egger authored
Added feature to BufferedIOHandler: By calling readStationData(date, vecStations) an extra attempt will be made to fill the StationData object with other values than nodata in readMeteoData(date, vecMeteo, vecStation), if the object is not already different from nodata.
-
- 23 Jul, 2010 1 commit
-
-
Mathias Bavay authored
When checking for End Of Line character, the eof flag was not properly reset, so when testing 1 line files, the subsequent reading would fail.
-
- 22 Jul, 2010 3 commits
-
-
Mathias Bavay authored
The package generation (using cpack) is now much improved: correct names, contact, etc as well as code examples (also correctly installed when doing a make install). A tgz generator has also been activated.
-
Mathias Bavay authored
Fixed some small issues in the autotools, added a clearer error message in ImisIO as well as the ability to automatically add the "0" number after stations' names that don't contain one (like for some non-imis stations)
-
Mathias Bavay authored
The autotools have been brought back... The popc version can ONLY be correctly compiled with the autotools! The installation as generated by the autotools and by cmake are now identical (same paths)
-