- 12 Dec, 2014 1 commit
-
-
Mathias Bavay authored
-
- 08 Dec, 2014 1 commit
-
-
Mathias Bavay authored
-
- 04 Dec, 2014 3 commits
-
-
Mathias Bavay authored
The Buffer class is now used to buffer meteo time series. Since this is not (yet) a proper ringbuffer, all data is erased before pushing more data into a buffer (similarly to what it was before this commit). It has been tested with data_converter on numerous data (including with virtual stations) as well as with snowpack on operational stations.
-
Mathias Bavay authored
The units conversionm now work for 'simple' units, with prefix and exponents. 'Composite' units (such as 'K/m' or 'N/m2') are currently not supported.
-
Mathias Bavay authored
The virtual stations have been re-enabled. A new generator has been implemented to generate ISWR from RSWR or the opposite. Some documentation has been improved. The Black Globe Temperature index should now work.
-
- 02 Dec, 2014 1 commit
-
-
Mathias Bavay authored
The CH1903+ coordinate system has been implemented. in GSNIO, setting the station name was not always properly done. The ADD and MULT filters now offer a better parsing of their arguments in order to avoid silently failing; their documentation has been improved. When compiling with DATA_QA, parameters that are filtered but have no value (nodata) are now reported.
-
- 27 Nov, 2014 1 commit
-
-
Mathias Bavay authored
the GSN plugin now has a "GSN_DEBUG" key to print out the full dialog with the server in case of errors. Some headers returned by GSN did not follow what we expected (multi-lines description) and this is now supported. New sensors names are also supported so the Stillberg data can be read. The buffers have to extra setters to manually set the start/end dates (this is quite a hack but will be required for the first implementations relying on them).
-
- 25 Nov, 2014 1 commit
-
-
Mathias Bavay authored
-
- 24 Nov, 2014 1 commit
-
-
Mathias Bavay authored
Finally adressing issue 72 with second resolution in dates. The ISO strings now contain the seconds when written out and by reading them, the seconds can be provided (but this is not mandatory). In ARC, grids are now named with the seconds (except when enabling the Alpine3D naming scheme). The adresses a bug that was found when requesting" raw" processing level from a plugin that constructs its timestamps from a decomposed time: time-1s and time+1s were the same and therefore this could trigger problems in the plugin.
-
- 20 Nov, 2014 1 commit
-
-
Thomas Egger authored
-
- 18 Nov, 2014 2 commits
-
-
Mathias Bavay authored
Slightly improved toString() output as well as first version of a proper Buffer class (not used yet)
-
Mathias Bavay authored
One of the last commits was just wrong: adding a boolean and a string should not be possible! This has been fixed.
-
- 13 Nov, 2014 1 commit
-
-
Mathias Bavay authored
The POT_RADIATION generator has been renamed as ALLSKY_SW for consistency and its documentation updated. The ALLSKY_LW generator's documentation has also been updated. A getHash() method has been added to the StationData. It is currently quite unsophisticated but should do the job. A better error message has been found for the "frac" lapse rates that can lead to a zero lapse rate (this is the case when there is no precipitation, for example).
-
- 12 Nov, 2014 1 commit
-
-
Mathias Bavay authored
Better information message when forcing a null lapse rate on a linear regression (this happens when using "frac" on precipitation for all timesteps without precip)
-
- 11 Nov, 2014 1 commit
-
-
Mathias Bavay authored
Following a bug report from GeoTop, the add_to_cache() method that had been partially removed is now back, under a slightly different name: add_to_points_cache(). Otherwise, white spaces, copyright headings were modified and some pragmas added for VC++ in GSNIO and CosmoXMLIO.
-
- 10 Nov, 2014 2 commits
-
-
Mathias Bavay authored
Some fixes to make MeteoIO compile with Visual C++ 2013. The linker still complains about exported symbols (this also generate lots of warnings), but all the other issues have been fixed.
-
Mathias Bavay authored
Add the possibility to delete keys based on string match (from the begining or anywhere in the key). This is useful for example to remove all stations declared from the user in the ini file.
-
- 07 Nov, 2014 3 commits
-
-
Mathias Bavay authored
After talking with the GSN team, the GSN plugin has been fixed and works again. It has been simplified according to their recommendations (ie that the metadata is always delivered with the data). We should still implement arbitrary units handling (parsing the strings and converting to SI).
-
Thomas Egger authored
-
Thomas Egger authored
-
- 31 Oct, 2014 4 commits
-
-
Thomas Egger authored
-
Thomas Egger authored
-
Thomas Egger authored
-
Thomas Egger authored
-
- 30 Oct, 2014 1 commit
-
-
Mathias Bavay authored
In order to make it more modular and allow more advanced processing (virtual stations, downscaling, multiple io sources) the IOManager is now a proper wrapper: the processing is fully delegated to either a GridsManager or a TimeSeriesManager. These can in turn be reused at some other places (like in the Meteo2DInterpolator) to offer full buffering and processing of "local" time series. The buffering is now done by these two new classes (therefore the BufferedIOHandler class has been removed) and it is planned that dataClasses will be implemented for proper ringbuffers (one for time series, one for grids and one for isolated points) and receive the generic buffering code later on. A new fastPow(double, int) has been implemented for positive exponents. The begining of a generic handling of units also appeared in IOUtils. Finally, the ProcessingLevels are now defined in IOUtils instead of IOManager.
-
- 29 Oct, 2014 1 commit
-
-
Mathias Bavay authored
Now the Winstral algorithm properly handles the case of only one station providing HNW with the default base algorithm (by switching to CST in this case). The availability of wind data is now part of the rating return by Winstral. The case of no precipitation (for Winstral) as well as no wind (for Liston and Ryan) are now also handled in the rating method.
-
- 28 Oct, 2014 1 commit
-
-
Mathias Bavay authored
When a plugin was throwing an exception, the mapPlugins could get corrupted in the (rare) case of the caller catching and moving forward (uncaught NULL pointer). This is now not anymore possible, by design.
-
- 22 Oct, 2014 1 commit
-
-
Mathias Bavay authored
The simpleWindInterpolate spatial interpolation was not properly handling nodata values. Therefore the 2D_interpolations reference file for VW had to be corrected. The statistical tests now work better with nodata values (setting values to IOUtils::nodata instead of hard-coding -999 in the test data sets).
-
- 21 Oct, 2014 1 commit
-
-
Adrien Gaudard authored
-
- 13 Oct, 2014 1 commit
-
-
Mathias Bavay authored
Fixed a bug in a (currently) unsued optmized method for nth_root of a number (negative numbers were not working)
-
- 09 Oct, 2014 1 commit
-
-
Mathias Bavay authored
-
- 07 Oct, 2014 2 commits
-
-
Mathias Bavay authored
When using Snowpack simulations in the database for computing precipitation, this was leading to lots of very small events. This should now produce less events but with more precipitation.
-
Mathias Bavay authored
The nodata points are now always properly filtered out when computing a least square fit. The code has been a little reshaped in order to be closer to the reference document that has also been cited. Some comments have been added. The quadratic fit was wrong and has been fixed. The statistical tests now cover the least square fits and ad-hoc linear regressions. The ARC plugin properly builds the file names for reading and writing grids with the "A3D_VIEW" option.
-
- 06 Oct, 2014 1 commit
-
-
Mathias Bavay authored
-
- 03 Oct, 2014 1 commit
-
-
Mathias Bavay authored
When introducing TAU_CLD, a nasty bug found its way into the ALLSKY_LW generator that lead to always compute a perfectly clear sky...
-
- 02 Oct, 2014 1 commit
-
-
Mathias Bavay authored
A new Date::getTime() method has been written. A better error message has been implemented for ProcHNWDistribute. The daily_solar temporal interpolation can now handle daily sums provided at midnight (then assuming they belong to the day that just finished) and the documentation has been updated.
-
- 01 Oct, 2014 1 commit
-
-
Mathias Bavay authored
The grids.isEmpty() method has been renamed as empty() in order to follow the STL convention. The ARC grids written with Alpine3D naming were still not properly named, they should now be directly recognized by the Alpine3D grid viewer.
-
- 30 Sep, 2014 2 commits
-
-
Mathias Bavay authored
The getTanMaxSlope method used for Winstral or Ryan has been optimized and improved: now a pixel that would be just behind a ridge would be properly processed (ie it would see the uphill slope and not the downhill slope behind the ridge).
-
Mathias Bavay authored
-
- 16 Sep, 2014 1 commit
-
-
Mathias Bavay authored
Adding the cmake script to detect MySQL. This is currently only working on Linux (no proper paths for Windows).
-