- 19 Jan, 2011 2 commits
-
-
Mathias Bavay authored
The definition of the "<<" operator has been written for IOManager and made more consistent for others
-
Mathias Bavay authored
The documentation has been updated (structure diagram, missing key in ImisIO) as well as the code examples so that they use the latest changes.
-
- 14 Jan, 2011 1 commit
-
-
Thomas Egger authored
Added functionality to the Meteo2DInterpolator: it is now possible to access the iomanager and hence to access historical data points from within any spatial interpolation. The IOManager has been expanded to: 1) cache already filtered data points and 2) provide a getAvgSamplingRate() function that returns the average data points seen per day.
-
- 13 Jan, 2011 1 commit
-
-
Thomas Egger authored
-
- 12 Jan, 2011 2 commits
-
-
Thomas Egger authored
Introducing the new IOManager - the user interface to meteoio. This version is fully backwards compatible, but does not incorporate all features of the BufferedIOHandler: the grid reading and writing are currently not supported by this IOManager.
-
Mathias Bavay authored
Some more cleanup in the Matrix class: there is a transpose in place operator (that actually does an internal copy), a few bugs in constructors got fixed. The matrix code example now works with this version.
-
- 11 Jan, 2011 2 commits
-
-
Mathias Bavay authored
Fixed some warnings, added a copy constructor to the Matrix class, changed the methods names so that a method that does NOT change the matrix itself is called "getXXX', like "getInv" compared to "inv" that inverses the matrix in place.
-
Mathias Bavay authored
The solve method for AX=B now works with A square matrix, X and B rectangular matrix. Better efforts are done to avoid divisions by zero. Better documentation. A new method has appeared to fill a matrix with random numbers.
-
- 08 Jan, 2011 1 commit
-
-
Mathias Bavay authored
First implementation of the matrix solving of AX=B. This is a static member of the Matrix class and returns the solution matrix. Currently, only square matrix are supported.
-
- 07 Jan, 2011 1 commit
-
-
Mathias Bavay authored
The documentation and examples have been updated to reflect the latest changes in MeteoIO (namely: the merging of MeteoData with StationData). A documentation bug has been fixed, that involved deleting the doxygen comments for the commented "clone()" method in IOInterface. Since this is not used anywhere and has been commented out for a while, this method has been fully deleted. Meteo2DInterpolator now has its own << operator for debugging purposes.
-
- 06 Jan, 2011 1 commit
-
-
Mathias Bavay authored
-
- 05 Jan, 2011 1 commit
-
-
Mathias Bavay authored
-
- 17 Dec, 2010 1 commit
-
-
Mathias Bavay authored
-
- 16 Dec, 2010 1 commit
-
-
Mathias Bavay authored
-
- 11 Dec, 2010 1 commit
-
-
Thomas Egger authored
Bugfix for ImisIO: stations that don't require any ANETZ data although useAnetz is set are correctly treated now. Optimization: vec_of_psums in readMeteoData is calculated only once for all stations! Overall: the use of these ANETZ regressions is highly suspect to the untrained eye ...
-
- 10 Dec, 2010 3 commits
-
-
Mathias Bavay authored
-
Mathias Bavay authored
The unnecessary copies of a Config object have been removed from MeteoFilter and MeteoProcessor. Now, cfg is used in the constructor and not kept any longer. Next task: do the same for Meteo1DInterpolator!
-
Mathias Bavay authored
The smoothing algorithms have been renammed as Process instead of Filter. The rate and the Tukey filters have been improved so that they correctly handles nodata. A new resampling algorithm has been introduced: "none". It does just that: nothing. This is an easy way to debug filters by not performing any temporal interpolations. The getMedian method has been re-implemented using the standard nth_element method for increased performances. The doxygen documentation has been updated to reflect the latest changes.
-
- 09 Dec, 2010 3 commits
-
-
Thomas Egger authored
-
Thomas Egger authored
The changes to the IOInterface (no more vec<vec<StationData>>) have been propagated into all plugins.
-
Thomas Egger authored
MeteoData now has an extra public member variable: StationData meta. It will hold the meta information of the measurment instead of dragging along a second vector<StationData> alongside the vector<MeteoData> everywhere. This has huge implications: the IOInterface has been rewritten, subsequently changes need to be propagated into all plugins and all modules dealing with meta data.
-
- 07 Dec, 2010 1 commit
-
-
Mathias Bavay authored
Some code annotations (TODO and HACK) as well as new filters or new implementations: rate filter, standard deviation filter and Tukey 53H filter.
-
- 16 Nov, 2010 1 commit
-
-
Thomas Egger authored
-
- 09 Nov, 2010 1 commit
-
-
Mathias Bavay authored
-
- 08 Nov, 2010 1 commit
-
-
Thomas Egger authored
Optimized the performance of the resampling of "extended" meteo parameters for MeteoData objects. The problem is, we cannot know beforehand whether there are other meteo parameters.
-
- 06 Nov, 2010 2 commits
-
-
Mathias Bavay authored
-
Thomas Egger authored
Bugfix in ImisIO: if there was no antetzdata, it could come to inconsistencies between the psum vectors, that would lead to an IOException. Fix: Fill up empty slices of psums, ensuring the overall consistency.
-
- 05 Nov, 2010 3 commits
-
-
Mathias Bavay authored
-
Mathias Bavay authored
-
Mathias Bavay authored
Small documentation/indentation update. CPack can now create source packages, by typing "make package_source"
-
- 04 Nov, 2010 4 commits
-
-
Thomas Egger authored
The ImisIO plugin now is fully capable of dealing with the ANETZ precipitation data in the "old" way. Furthermore the wind drift data is read from the correct stations and added to the MeteoData as VW_DRIFT and DW_DRIFT. There was a small bug in the accumulation resampling algorithm, sometimes turing the sum into a negative number, this should be fixed now.
-
Mathias Bavay authored
Fixed a few trivial compiler warnings, indenation.
-
Mathias Bavay authored
-
Thomas Egger authored
The resampling of MeteoData parameters was restricted to the well known ones defined in the enum MeteoData::Parameters. The Meteo1DInterpolator and the resampling algorithms have been adapted to allow the resampling of any meteo parameter, i. e. those that are plugin specific or user added.
-
- 03 Nov, 2010 1 commit
-
-
Mathias Bavay authored
The SMETIO plugin now supports the "units_multiplier" field. The SMET specification has been brought to 1.0. A forgotten debugging output has been removed in InterpolationAlgorithms
-
- 02 Nov, 2010 1 commit
-
-
Mathias Bavay authored
An error was found: the linear regression returns the regression coefficient r, not r2!! It has been modified so that it returns |r| and prints r2 in the info strings. The HNW_SNOW spatial interpolation algorithm had errors. It was not properly calling its base algorithm (the one computing the initial distribution) and its rating was too low. It has now the same rating as CST_LAPSE for one station when the lapse rate is provided. This could be improved in the future, to make it depend on the rating of the base algorithm...
-
- 01 Nov, 2010 1 commit
-
-
Mathias Bavay authored
-
- 29 Oct, 2010 2 commits
-
-
Mathias Bavay authored
The "frac" optional argument (for fractional lapse rate, or relative lapse rate) has been added to IDW_LAPSE. The documentation has been updated. If HS is interpolated, it is now checked for min/max to be greater than 0.
-
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).
-
- 27 Oct, 2010 1 commit
-
-
Mathias Bavay authored
A new spatial interpolation algorithm, LocalLapse_IDW (key being LIDW_LAPSE) has been implemented. It takes a number of stations as mandatory parameter, and computes for each pixel the IDW_LAPSE only using the closest n stations. This is specially useful when dealing with large number of stations over a wide area. Please keep in mind that since the linear regression calculation might exclude some outliers, a sufficiently large number of stations should be given. The algorithm that is computing a linear regression with the possibility of excluding some outliers has been renamed as NoisyLinRegression and moved to Interpol1D. Moreover, the regression algorithm provide an information stringstream that can be directly printed to the screen (usual behavior) or differently handled (specially useful for mutliple regressions calculations or when using GUIs). The spatial interpolation algorithm MUST now be initialized by calling their initialize(param) method. This makes it possible to optimize their processing (not recomputing the list of stations to process, etc) and also allow to build an info string that can be returned with the interpolation and contain various useful information (specially for GUIs).
-