- 24 Jun, 2011 1 commit
-
-
Mathias Bavay authored
Fixed a doxygen warning on Windows, pushed version number to 2.1.0 (because 2.0.1 would not make any sense anymore). This version should be the 2.1.0 release.
-
- 23 Jun, 2011 1 commit
-
-
Mathias Bavay authored
Finally, after learning that DLLs are not libraries but runtimes (at least for cmake), the Windows packaging works. All the generated files are back in lib, and the example Makefile and io.ini have been modified accordingly.
-
- 20 Jun, 2011 1 commit
-
-
Mathias Bavay authored
The treatment of NODATA points in Arrays is now controled by a simple boolean, set using "setKeepNodata". This should be easier than the previous commits that require a special type for how to process NODATA. The arrays are also now properly marshaled (ie: the keep_nodata flag is kept through marshaling).
-
- 18 Jun, 2011 1 commit
-
-
Mathias Bavay authored
A new generic method "getArraySliceParams" has been added to IOUtils. This method computes the indices for splitting an array in several, balanced sub-arrays. This is what is needed to distribute a computation on an array among several computers. This method computes the indices in one dimension, if the user wants to split along several dimensions, he can just call it again on another dimension (the splitting being usually only along one dimension).
-
- 16 Jun, 2011 3 commits
-
-
Mathias Bavay authored
-
Mathias Bavay authored
Fixed some warnings that appeared with the previous commit. A missing method has now been implemented in Array3D. The example io.ini is now up to date with the code structure (ie: looking for the plugins in the proper subdirectory)
-
Mathias Bavay authored
The nodata handling strategy was not thoroughly implemented: aritmetic operators were not compliant. In order to fix it, a property now records how to handle nodata for each object. A setter method is available. All operations now properly handle it. The Grid2D and Grid3D objects now have a (x,y) and (x,y,z) method for direct access to their gridded values. This should make it easier to switch a Grid object with an Array in a piece of code. With the latest changes in CMakeLists, the examples could not be built anymore. This has been fixed in the examples Makefile (but the io.ini plugin path stil has to be fixed).
-
- 10 Jun, 2011 3 commits
-
-
Nander Wever authored
This update now correctly resamples PSUM. Previously, it was taken as a sum, now it takes an average. The latter is consistent with the units [mm/h].
-
Mathias Bavay authored
The POPC parallel object version of MeteoIO has been removed: now the library can be compiled with popc so that all marshalling code is present, but it does NOT create a parallel object of its own. This means that the caller is 100% responsible for deciding what should go into its own parallel object. Some documentation has been updated as well as better error messages in smetio. The CMakeLists have been reworked according to some comments from the cmake mailing list.
-
Nander Wever authored
This update corrects the calculation of PSUM. From now on, it follows SMET specification, with PSUM being mm/hour. (In the previous version, it was mm per time step.)
-
- 08 Jun, 2011 2 commits
-
-
Nander Wever authored
-
Nander Wever authored
Instead of using GMT time stamps, the script now uses the epoch time from the downloaded files. Using the GMT time stamp, the time zone is determined. Output in SMET is now default in UTC+<time zone> and neglecting DST.
-
- 30 May, 2011 2 commits
-
-
Mathias Bavay authored
-
Mathias Bavay authored
Updated/improved some documentation for SNIO and the min/max/minmax filters. Using relative paths in CMakelists, since this should make VC++ put the files at the correct location.
-
- 27 May, 2011 1 commit
-
-
Nander Wever authored
-
- 26 May, 2011 2 commits
-
-
Nander Wever authored
This script might be practicle for others as well. It can resample SMET files to lower resolutions, from 2 minutes to 1 day.
-
Nander Wever authored
-
- 25 May, 2011 2 commits
-
-
Nander Wever authored
-
Nander Wever authored
This script can be used to convert sensorscope data, downloaded from www.climaps.com to SMET files, for using with SNOWPACK. It is also able to merge new data with already downloaded and converted data.
-
- 24 May, 2011 1 commit
-
-
Mathias Bavay authored
-
- 19 May, 2011 2 commits
-
-
Mathias Bavay authored
-
Mathias Bavay authored
-
- 18 May, 2011 1 commit
-
-
Mathias Bavay authored
A new version of the fill method for arrays has been implemented: it only takes a sub-array and the lower left coordinate where to insert it. The file reading optimization that has been implemented in GeotTop and SNIO has also been implemented in SMETIO.
-
- 17 May, 2011 2 commits
-
-
Mathias Bavay authored
-
Mathias Bavay authored
Fixing some unsigned int / size_t conversion issues by using more widely size_t (as it seems to be recommended and done in the STL)
-
- 16 May, 2011 1 commit
-
-
Mathias Bavay authored
A new method has been added to the Timer class: restart() that resets and restarts the timer (even if not already running).
-
- 13 May, 2011 2 commits
-
-
Thomas Egger authored
-
Mathias Bavay authored
Better error messages for some A3DIO errors (that should help the user spotting the error much faster!)
-
- 12 May, 2011 1 commit
-
-
Thomas Egger authored
Basically two features were added: - saving the file pointer, thus less searches are necessary within the file parsed - not parsing the whole line if the date is not within the interval we search for
-
- 11 May, 2011 1 commit
-
-
Mathias Bavay authored
Since we leave some file descriptors behind, this commit tries to close potential loop holes. A possible source of arithmetic exceptions in Coords has been fixed (calculating the distance between two identical points).
-
- 10 May, 2011 1 commit
-
-
Mathias Bavay authored
The popc structure has been reverted to what it was before. The new structure, without any parallel objects was not working. The gcc flags used by the autotools have been adapted to follow more closely what cmake generates.
-
- 07 May, 2011 1 commit
-
-
Fierz authored
Old SNOWPACK input files with only one swr component, i.e. either RSWR or ISWR, can now be read in by setting either ISWR_INP or RSWR_INP to false, respectively;-) A variable nr_meteoData, derived from SNIO::min_nr_meteoData, had to be introduced though.
-
- 04 May, 2011 1 commit
-
-
Mathias Bavay authored
The POPC version has been heavily transformed. Since we would need IOManager has a popc object and this is quite hard (we need a backreference in Meteo2DInterpolator), all parclasses have been removed. Instead, the user will have the responsability to packaged IOManager in his own parclass if needed. This makes the code simpler and skips difficult issues... A new fill method has been added to the Array2D and Array3D templates that does the reverse of subset (ie: reassemble arrays). Better error messages have been put in SNIO. A new Date setter that takes a Date object has been created. This version does NOT correctly compile with the autotools (it leads to a segfault when running code using MeteoIO), but the cmake compiled library works fine.
-
- 21 Apr, 2011 1 commit
-
-
Mathias Bavay authored
Fixed a bug happening with more recent Ubuntu: colorgcc does not correctly compile c++. So, for the autotools colorgcc has been removed.
-
- 20 Apr, 2011 1 commit
-
-
Mathias Bavay authored
A bug has been found in the processing of the variance: we were using a naive formula that is ill-fitted to signals showing small variations around a large mean. This lead to catastrophic cancellation and negative values... This has been replaced by a (slower) compensated formula (that works in two passes). The standard deviation filter has been fixed. The Tukey filter has been brought back into the new infrastructure and should now be usable. However it is not suitable to snow heights: in such a case, the standard deviation is too small (or even zero) and the signal might show some sudden variations (like in the case of a snow fall) that would therefore be falsely rejected. This filter seems much better suited to wind speeds that exhibit some constant background noise, thus a non-null standard deviation. The rate filter can now take 2 arguments: in such a case, the first one is the minimum rate and the second the maximum rate. This would allow to define a descent rate different from the climb rate. Several error messages have been improved in A3DIO and general plugin loading. Finally, two small tools for working with smet files have been contributed, one allowing transparent loading of smet files in xmgrace (smet2agr). And the example io.ini has been fixed (it had been broken and was not working with the examples anymore)
-
- 16 Apr, 2011 1 commit
-
-
Fierz authored
-
- 15 Apr, 2011 1 commit
-
-
Mathias Bavay authored
The CMakeLists should be a little bit cleaner. But the Windows installer still does not work (it does not find the dll files).
-
- 13 Apr, 2011 1 commit
-
-
Mathias Bavay authored
-
- 30 Mar, 2011 1 commit
-
-
Fierz authored
-
- 29 Mar, 2011 1 commit
-
-
Mathias Bavay authored
The infamous 24:00 hour bug was not fully dead. Rounding errors (I experienced a 3.5/100 seconds rounding error) made hour=24 possible. Before computing values (day, hour, etc) the julian date is now rounded to the closest minute (but such rounding is NOT saved, so it there is no loss of precision for potential upcoming calculations). Therefore, all should now be perfect in MeteoIOland.
-