- 19 Jun, 2012 1 commit
-
-
Mathias Bavay authored
Fixed a warning with XCode 4.3 on osX. Tried to make a more standard use of c++ (relying on std::fill for filling vectors, relying on vector.resize(sixe, value) instead of manually initializing a vector, etc). A few more const added where appropriate. It makes the benchmarks slightly faster...
-
- 18 Jun, 2012 1 commit
-
-
Mathias Bavay authored
-
- 16 Jun, 2012 1 commit
-
-
Mathias Bavay authored
Pushed documentation version number, more robust file globing for the libraries, more standard uppercase/lowecase conversion and the extra parameters in SMET are now forced to uppercase (so all parameters are uppercase when they come out of the plugins).
-
- 11 Jun, 2012 1 commit
-
-
Mathias Bavay authored
Since the autotools are obsolete (and unmaintained) in MeteoIO, they have been removed. The popc++ version can be compiled with cmake (with some tricks: disable GSN and force the compiler to popcc). For consistency, the various definitions of ot_deg and to_rad have been suppressed and replaced by Cst::to_deg or Cst::to_rad. Some mentions of the Earth's radius have been replaced by Cst::earth_R0. In Coords, some variables have been declared as const.
-
- 08 Jun, 2012 1 commit
-
-
Mathias Bavay authored
The example Makefile should now be more robust while remaining simple. The FindMeteoIO macro has been simplified and a FindMeteoIOPOPC created
-
- 05 Jun, 2012 1 commit
-
-
Mathias Bavay authored
-
- 04 Jun, 2012 1 commit
-
-
David Zanella authored
the to_rad and to_deg conversion coefficients have been added to meteoconst. Small fixes for popc (missing "using namespace" and more marshaling)
-
- 01 Jun, 2012 1 commit
-
-
Mathias Bavay authored
-
- 31 May, 2012 5 commits
-
-
Mathias Bavay authored
-
Mathias Bavay authored
An optimization from Yesterday was actually breaking the whole resampling... This has been fixed (thanks to Nander and David for finding this problem!)
-
Mathias Bavay authored
-
Mathias Bavay authored
-
Mathias Bavay authored
A cleaner way of implementing the Date optimization has been implemented (relying on a define to switch back to the previous implementation if necessary). The compilation of the GSN plugin is now turned on by default. The version numbers have been pushed to 2.2.0 in order to get ready for the release.
-
- 30 May, 2012 3 commits
-
-
Mathias Bavay authored
A few "consts" have been added. The dates are now considered to be positive which allows comparison operators to be optimized: converting 1 year of hourly data with data_converter got almost 30% faster. Moreover, when looking for resampling window, two extra checks have been added to quickly see if the start and end point are even in the input vector. This reduces data read miss (because we start by reading vecM[0]) and skips browsing through the whole vector if we are in a large data gap. On the same 1 year data set with one large gap for one parameter, the gain is of almost 20%. Overall, these two optimizations lead to almost a doubling of the speed with data_converter... Soon we'll be so fast that we will get the data before it is even measured!
-
Mathias Bavay authored
-
Mathias Bavay authored
Two new members have been added to Grid3DObject, to store the heights of the 3D levels (ie: level 1 = 10m above ground, etc). This is similar as what is done by ARPS, GRIB, etc A boolean specifies if these are absolute or relative heights (ie: above DEM). The unventilated temperatures filter and unheated rain gauge filter have been renamed. The "soft" option has been added to Unheated_RainGauge. And the usual documentation fixes...
-
- 25 May, 2012 1 commit
-
-
Mathias Bavay authored
The smoothing filters now behave differently depending on the centering that has been specified. The IOManager backreference for Meteo2DInterpolator (pointer this given in the initialization list) has been replaced by a setter. An invalid flag for Visual C++ has been fixed.
-
- 24 May, 2012 3 commits
-
-
Mathias Bavay authored
Fixed more warnings, found by Code::Blocks. A bug when compiling gsoap files with migw has been fixed by a workaround (adding a macro definition in the CMakeLists.txt).
-
Mathias Bavay authored
-
Mathias Bavay authored
Better error messages in IMISIO, better safety (regarding "undef") in Date and some code cleanup/const/reserve business (all benchmarked) for the others. We also now avoid stacking two "/" at the end of the PLUGINPATH if one is already present.
-
- 23 May, 2012 3 commits
-
-
Mathias Bavay authored
oups, fixed an include that had to be removed... By the way, the last changes lead to good compiler optimizations: in optimized mode, on 1 year of data, the speed up is above 30%
-
Mathias Bavay authored
The last filters that had not been ported to the new filtering infrastructure have been ported and their documentation updated. All filters now use window specifications (instead of vector of pointers). The misleading filter argument "index" (for parameter type) has been renamed as "param" for all filters. The use of "unsigned int" for looping over vectors has been replaced by "size_t". The old "soft" behavior for the filters has been restored (ie: if not soft, a point that can not be checked by the filter is deleted). A few more "consts" have been added.
-
Mathias Bavay authored
All the filters using windows have been modified so they use the window specifications (start, end) instead of a vector of pointers. The FilterWindAvg was not properly handling nodata, this has been fixed. By the way, when using a reasonnably large buffer size, the new filter window management is actually slightly faster than the old one (1%). The handling of "soft" is now different: soft ONLY applies to the window specifications. Before, a soft filter would leave values that could not get a window untouched while non-soft would force them to nodata. Now, all values that can not get a window are left unchanged, while the window centering can change according to "soft".
-
- 22 May, 2012 2 commits
-
-
Mathias Bavay authored
This is the new implementation of the filters' windowing scheme. Now, specifying 4 points and 6 hours will guarantee that at least 4 points are in the window AND 6 hours, otherwise it returns unsuccessfully. The run time penalty is ~4% compared to the previous implementation. Since it first builds the window specifications (start and end index), it is possible to directly call this window specification, skipping the building of a vector of pointers. For the MeanAvg filter, this makes the run time penalty go down to 3.3% on a 6 hours window (with hourly data).
-
Mathias Bavay authored
First correct implementation of the filtering windows. This is not active yet as it only provides window specifications. But it properly fulfills both the number of points criteria and the time span criteria.
-
- 21 May, 2012 1 commit
-
-
Mathias Bavay authored
-
- 16 May, 2012 3 commits
-
-
Mathias Bavay authored
Fixed a division by zero in libsmet and the "none" resampling was broken (it was deleting all data instead of propagating available data). Fixed!
-
Mathias Bavay authored
The "passive_T" filter had a bug in its implementation, this has been fixed (using the wrong statistical fit). It should still be tested before operational use, though...
-
Thomas Egger authored
Adding a virtual deconstructor to Array2D makes sure that we can inherit from Array2D without any issues!
-
- 14 May, 2012 1 commit
-
-
Mathias Bavay authored
Investigating issue 210, it has been found that the IMIS precipitation had a division by 2 that was not required (halving the precipitation compared to what it should have been). This has been fixed. Small documentation improvement in ResamplingAlgorithms.
-
- 11 May, 2012 3 commits
-
-
Mathias Bavay authored
-
Mathias Bavay authored
A new option has been added to the accumulate interpolation: "strict". When this is active, if one of the accumulated value is nodata, the whole sum will be set to nodata. Without this option, all values that can be aggregated are aggregated (ie: best effort). When using multiple stations, it might make sense to enable "strict" in order to avoid polluting the spatial interpolation with potentially under-estimated values. A documentation issue has been fixed in Meteo1DInterpolator.
-
Mathias Bavay authored
The re-accumulation should now work properly for down sampling (tested with data at h+40 converted to h+00 and with 10min data converted to hourly).
-
- 10 May, 2012 7 commits
-
-
Thomas Egger authored
-
Thomas Egger authored
-
Mathias Bavay authored
Fixed some warnings (about unused variables/parameters). Added a new position for ResamplingAlgorithms: begin to describe that a point is at the begining of the data set (so we don't have to look for this condition again in the algorithm).
-
Thomas Egger authored
New Resampling: cleanup of IOManager.cc: now also the rare case of IOManager::raw | IOManager::resampled is correctly handled.
-
Thomas Egger authored
-
Thomas Egger authored
Bugfix: The new linear resampling always extrapolated at the end of the meteo data vector, this is fixed now.
-
Thomas Egger authored
TODO: verify and comment
-