- 31 May, 2013 2 commits
-
-
Mathias Bavay authored
-
Mathias Bavay authored
-
- 27 May, 2013 3 commits
-
-
Mathias Bavay authored
Renaming once more the nearest neighbor algorithm: it is now "nearest". That should be both quick and easy.
-
Mathias Bavay authored
-
Mathias Bavay authored
This adresses issue 173: now the window_size can be defined per meteo parameter and per resampling algorithm. The Interpolations1D section's syntax has been changed in order to accomodate the change and enable specifying multiple resampling algorithms in the future. An exception is thrown when using the old syntax (until we would consider that everybody should have migrated). The nearest_neighbour algorithm key has been renamed to n_neighbor. Overall, this commits breaks compatibility with previous ini file but the calculated results remain the same after migrating the config files.
-
- 25 May, 2013 1 commit
-
-
Mathias Bavay authored
-
- 24 May, 2013 1 commit
-
-
Mathias Bavay authored
In order to avoid re-parsing the resampling parameters for every point, the resampling algorithms have been restructured as classes inheriting from an interface class alongside an object factory. This should slightly increase the performances of resampling and clears the way (90% of the work being done) for a per-parameter window size (issue 173). A useful link has been added to the comments of Sun and some comments improved in DataGenerators
-
- 23 May, 2013 1 commit
-
-
Mathias Bavay authored
The Unsworth parametrization for ILWR has been fixed and now works as data generator. Some comments have been added to Sun.cc.
-
- 22 May, 2013 1 commit
-
-
Mathias Bavay authored
The graphical message box for exceptions has been turned off by default, because it was interfering with cdash. Packagers are therefore invited to turn it ON for public packages (since this tends to make users read the error messages). A major bug has been found in the potential short wave solar radiation calculation: the beam values were actually already projected to the horizontal, leading to a double projection to horizontal when requesting the horizontal components. The whole potential radiation code has been reviewed, comparing line by line with Iqbal. A few variables have been renamed in order to better match the paper. And more detailed comments added to explain some of the most mysterious parameters. The potential ISWR data generator has been adjusted and checked. it can use a measured ILWR to correct for cloudiness if available.
-
- 21 May, 2013 1 commit
-
-
Mathias Bavay authored
-
- 20 May, 2013 2 commits
-
-
Mathias Bavay authored
The DataGenerators handling of missing meteo fields has been changed: if a generator is defined for a field that is not found in the vecMeteo, it will silently be skipped. Since some grumpy people seem not to appreciate the graphical message box for exception messages, the ability to turn them off when compiling has been added to cmake. The code for generating such message boxes on Linux purely relying on libX11 is also committed (the boxes are ugly but they don't require more than libX11 and its headers). We still have to make sure that enabling it by default (that would be the goal) does not make it more difficult to compile meteoio...
-
Mathias Bavay authored
The dataGenerators can now process all parameters (ie including the extra parameters) properly. This makes it possible to create a new parameter by using a COPY followed by *0, +nodata filters and then fill the now empty new parameter with a data generator (very useful to compare generated values with a reference measurement). Moreover the processing overhead should have been reduced by looping over the declared generators instead of over the parameters.
-
- 16 May, 2013 3 commits
-
-
Thomas Egger authored
-
Thomas Egger authored
-
Mathias Bavay authored
The == and != operators have been added to the arrays (easier for debugging). Array4D was not included in MeteoIO.h and has been added.
-
- 14 May, 2013 2 commits
-
-
Mathias Bavay authored
The meteo reading workflow diagram has been expanded to show where a user can participate and what he can use
-
Mathias Bavay authored
Since correcting the Corripio slope algorithm changed the spatial interpolations that were based on slopes, it was necessary to regenerate the reference for the HNW grid
-
- 13 May, 2013 1 commit
-
-
Mathias Bavay authored
A typo had slipped through the last commit for Array4D. The Corripio slope computation was till wrong, this has finally been fixed and checked. The slope default algorithm selection was not kept through BufferedIOHandler, this has been fixed. Moreover, unecessary copies of grids were being made in BufferedIOHandler and have been removed. The tests that were not passing anymore because of the slope changes have been updated, including improved error reporting in dem_reading.
-
- 10 May, 2013 1 commit
-
-
Mathias Bavay authored
Removed an unnecessary include and fixed the Corripio slope algorithm that was not properly implemented (following the paper, it was not centered on the cell. It has been rewritten to be centered).
-
- 08 May, 2013 1 commit
-
-
Mathias Bavay authored
Trying to help the compiler use SIMD instructions for some array operations. Small documentation improvement for IMISIO.
-
- 18 Apr, 2013 1 commit
-
-
Mathias Bavay authored
-
- 17 Apr, 2013 2 commits
-
-
Mathias Bavay authored
-
Mathias Bavay authored
In order to implement an efficient and portable object serialization, it has been decided that all serializable objects would be manually serialized to an std::iostream. Then, the parallelization framework (mpi, popc, etc) can take over this stream and move it to another node. Therefore, the operators "<<" and ">>" are now reserved for serialization (as seems to be standard) and the debug outputs are obtained by printing "object.toString()". This means that all debug code has potentially to be fixed, by replacing "std::cout << object" by "std::cout << object.toString()".
-
- 11 Apr, 2013 1 commit
-
-
Mathias Bavay authored
Hoping that the valgrind tests would finally work properly... And small tweak to the IOUtils::seek optimization
-
- 10 Apr, 2013 2 commits
-
-
Mathias Bavay authored
-
Mathias Bavay authored
-
- 08 Apr, 2013 1 commit
-
-
Mathias Bavay authored
-
- 28 Mar, 2013 1 commit
-
-
Mathias Bavay authored
Removing some unnecessary pointers (for things like "const double a = vecM[ii](param)") and replacing a vector push_back by a proper allocation in constructor followed by assignments
-
- 26 Mar, 2013 1 commit
-
-
Mathias Bavay authored
Some code cleanup and micro-optimizations. The documentation has been improved (configuration of doxygen as well as some duplicate section labels).
-
- 25 Mar, 2013 1 commit
-
-
Mathias Bavay authored
Added a missing test for VW==IOUtils::nodata in Hamon undercatch filter. Updated the drawings to reflect the addition of DataGenerator
-
- 23 Mar, 2013 2 commits
-
-
Mathias Bavay authored
-
Mathias Bavay authored
-
- 22 Mar, 2013 5 commits
-
-
Mathias Bavay authored
-
Mathias Bavay authored
I will write 100 times "I won't forget to update the tests anymore" (when swapping MeteoData::parameters around). I used the opportunity to imrpove the outputs of the 2D_interpolations test.
-
Mathias Bavay authored
Fixed a stupid bug in Unsworth generator (it was always generating data...), improved the documentation of POT_RADIATION and tried to play with a cloudiness factor (not working yet).
-
Mathias Bavay authored
A new generator for ISWR or RSWR has been implemented, providing clear sky, potential radiation. Overall, writing the code and its documentation and testing it took less than half an hour!
-
Mathias Bavay authored
-
- 21 Mar, 2013 3 commits
-
-
Mathias Bavay authored
A buf in some unsworth implementation in Atmosphere has been fixed (check with nodata). The order of the meteodata fields has been changed because this directly impacts the order of the processing of the fields (the goal being that fields that are often checked with a combination of other fields get processed in the end). The unsworth_dilley ILWR data generator has been implemented with the usage of the last cloudiness during the night as well as the usage of a generic snow albedo (or grass albedo) to convert RSWR to ISWR (if necessary) coupled with a threshold on the snow height.
-
Mathias Bavay authored
The METEO_TIMSERIES and STATION_TIMESERIES have been renamed in METEO_SET and STATIONS_SET in order to better reflect their content. The concept of data generators is introduced. A new section has been created [Generators] to define how to generate data for each parameter when everything else failed. Soon, you will be able to generate ILWR directly by declaring it in your io.ini!
-
Mathias Bavay authored
-