- 24 Jul, 2013 1 commit
-
-
Mathias Bavay authored
Big cleanup of the tests: now all ini files are based on io.ini in the root folder of the test (relying on IMPORT) and all use the same copy of forcing data and dem. When meteo_reading fails, it now properly write which fields failed (it was always writing "P").
-
- 23 Jul, 2013 1 commit
-
-
Mathias Bavay authored
-
- 19 Jul, 2013 2 commits
-
-
Mathias Bavay authored
Preparing the way for the new spatial interpolation architecture: the 1D regressions should now offer the necessary features (but this is a first shot at it, it will need to be redone in a more generic way later).
-
Mathias Bavay authored
-
- 17 Jul, 2013 1 commit
-
-
Mathias Bavay authored
Fixed the license file (issue 309), updated the documentation to include the SIN generator and fixed a wrong commit of the example io.ini
-
- 15 Jul, 2013 1 commit
-
-
Mathias Bavay authored
-
- 05 Jul, 2013 2 commits
-
-
Mathias Bavay authored
-
Mathias Bavay authored
-
- 28 Jun, 2013 1 commit
-
-
Mathias Bavay authored
Adding a link in the documentation, moving libsmet to the plugins subdirectory and small fixes in GRIBIO
-
- 27 Jun, 2013 1 commit
-
-
Mathias Bavay authored
The IMPORT feature in Config now works properly on Windows. It is also now possible to call IMPORT_BEFORE from within a section (but it still needs to be the first key in a file).
-
- 19 Jun, 2013 1 commit
-
-
Mathias Bavay authored
In order to properly import config files while supporting relative paths, it is necessary to internally expand the paths (as well as the symlinks) to check for multiple inclusions, to properly look for a file located relative to another one (instead of related to the execution directory). The IOUtils::cleanPath function has been expanded to support this kind of processing (with a flag to turn it on of off) and a few functions added (getPath, getFilename). The code for Windows has been written but not tested yet. The Posix implementation should also be tested on osx.
-
- 14 Jun, 2013 2 commits
-
-
Mathias Bavay authored
A description of the data format (not the SNOWPACK requirements, only the data format) has been added to the SNIO documentation
-
Mathias Bavay authored
The default ilwr model in Atmosphere as been changed to Unsworth. The fixed snow albedo has been set to 0.85 for all filters/generators using it. The Config class can now import an ini file from another ini file, this could greatly simplify the management of operational deployments (a station that has a special configuration now can simply import a standard config file and redefine what it needs). This is either done with IMPORT_BEFORE or IMPORT_AFTER in order to choose who has precedence. Multiple (ie recursive) inclusions are supported with some enforced limitations to prevent circular dependencies.
-
- 05 Jun, 2013 1 commit
-
-
Mathias Bavay authored
The exceptions were not printed with a line return anymore, messing up the display. A function to extract the integral and the fractional part of a double has been added. The julian day number calculation (ie how many days since the begining of the year) was numericaly instable (leading to wrong values in an unpredictable way). A data generator that can generate sinusoidal values (for daily or yearly periods) has been added. The potential radiation generator can now handle missing TA and/or RH (of course, reverting to a very simplistic clear sky model, assuming an average reduced precipitable water).
-
- 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
-