- 02 Aug, 2016 1 commit
-
-
Mathias Bavay authored
This is the first version of an append feature for SMET files. Not all the case might be well handled but at least, it starts to work... (with more optimizations to come)
-
- 22 Jul, 2016 2 commits
-
-
Mathias Bavay authored
Last changes to support the Cray compiler. Please note that for Cray, you most probably have to compile with static linking!
-
-
- 21 Jul, 2016 1 commit
-
-
Mathias Bavay authored
Handling some warnings for new version of clang in MathOptim.h (turning them off for the bit manipulations). Laying the foundations for the append mode in SMET files (not usable yet).
-
- 02 Jun, 2016 1 commit
-
-
Mathias Bavay authored
Some docuemntation has been written in the PSUDistribute code to help with debuging *for next time*. The Accumulate resampling now fills the first nodata with 0 (since we know that we don't have enough information to re-accumulate at the first point). The unused "isGzip" booleans have been removed from the smet code since this is currently not supported the way we want it.
-
- 17 May, 2016 1 commit
-
-
Mathias Bavay authored
Improved an error message and added a note in the documentation that libproj is currently not thread-safe (as well as a little code cleanup)
-
- 26 Apr, 2016 1 commit
-
-
Mathias Bavay authored
-
- 24 Feb, 2016 1 commit
-
-
Mathias Bavay authored
-
- 12 Oct, 2015 1 commit
-
-
Mathias Bavay authored
Code cleanup and fix for IMIS: now the ENET stations receive the number 1 for the automatic stations instead of 0.
-
- 06 Oct, 2015 1 commit
-
-
Mathias Bavay authored
very minor code cleanup, some comments were wrong and have been fixed, a wrong debug message has been fixed (in toString())
-
- 08 Sep, 2015 1 commit
-
-
Mathias Bavay authored
-
- 11 Aug, 2015 2 commits
-
-
Mathias Bavay authored
-
Mathias Bavay authored
-
- 10 Aug, 2015 1 commit
-
-
Mathias Bavay authored
-
- 31 Mar, 2015 1 commit
-
-
Mathias Bavay authored
A new plugin has been created to read the data from the ALPUG stations (ascii format). This is still a work in progress...
-
- 30 Mar, 2015 1 commit
-
-
Mathias Bavay authored
A new temporal interpolation method has been introduced, to generate sinusoidal variations of a given mean and range. This is far from perfect (discontinuities between two days) but this is a start...
-
- 31 Jul, 2014 1 commit
-
-
Mathias Bavay authored
-
- 14 Apr, 2014 1 commit
-
-
Nander Wever authored
-
- 25 Feb, 2014 2 commits
-
-
Thomas Egger authored
-
Mathias Bavay authored
Removing some try/catch, adding some documentation and adding the missing error message as reported by issue 357
-
- 06 Feb, 2014 1 commit
-
-
Mathias Bavay authored
Reverting a change that made reading SMET files impossible with OpenMP. Pushing up version number to 2.4.2. Properly restoring ostream parameters before returning (in libinterpol1D, thanks to Coverity).
-
- 23 Jan, 2014 1 commit
-
-
Thomas Egger authored
-
- 22 Jan, 2014 1 commit
-
-
Thomas Egger authored
libsmet: a new convert_to_double implementation, based on strtod from the cstdlib, cuts conversion time to about a fourth of the stringstream implementation.
-
- 05 Oct, 2013 1 commit
-
-
Mathias Bavay authored
Fixing some warnings for Visual C++ and also using ostringstream instead of stringstream when appropriate
-
- 05 Aug, 2013 1 commit
-
-
Mathias Bavay authored
The error message when the units_multiplier and/or units_offset count don't match with the number of fields was not right (wrong count given) and has been fixed. Some variables that could be const are now const in SmetIO
-
- 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
-
- 12 Mar, 2013 1 commit
-
-
Mathias Bavay authored
-
- 05 Mar, 2013 1 commit
-
-
Mathias Bavay authored
The A3DIO plugin was not properly reading data, this has been fixed. Some warnings have been turned off for osX (signedness and 32/64 bits because of size_t since we will have to redo all our indices to make they consistently rely on size_t)
-
- 15 Feb, 2013 2 commits
-
-
Mathias Bavay authored
Fixing the indentation in libsmet and fixing the (very annoying) warnings in MathOptim.h. The cubic root optimizations have been tested and work as advertized (~3 times faster, largest relative error 1.2e-4).
-
Mathias Bavay authored
This is a fix for Snowpack issue 291 : on Windows, when the file would stop right after [DATA} (ie without even a new line), the data section pointer would be invalid (set to -1) but a getline on it would not set eof and therefore the reading loop would never end... So if the data section pointer is -1, we simply return (there is obviously nothing to read).
-
- 14 Feb, 2013 1 commit
-
-
Mathias Bavay authored
In order to try to be closer to the spirit of the STL, now the empty strings/vectors/lists are tested with .empty(), the first/last elements of vectors accessed with front()/back(), the empty strings are not contructed with string("") but with string(), etc This makes a benchmark based on meteo_reading ~4% faster and this makes the code suprisingly easier to read. Some extra constification took place as well as some minor code cleanup (optimizing the comparison between two vectors in order to perform less tests, etc). The Date class can now properly generate and parse full ISO timestamps, including time zone information. The full specification is now supported by convertString() with a helper method in the Date class. Ouputing an ISO string with its time zone is done by requesting the ISO_TZ format.
-
- 13 Feb, 2013 1 commit
-
-
Mathias Bavay authored
Now, when libsmet attemps to write a station that does not contain any data, it will complain but will not throw an exception (otherwise when working with large numbers of stations, the odds of getting an exception are too high). An implementation for fast cubic root is now part of Optim, but still has to be tested. Some code cleanup (using .empty(), using copy constructor instead of construct+copy) occured in IOUtils.
-
- 11 Feb, 2013 1 commit
-
-
Mathias Bavay authored
Lots of small fixes after running cppcheck on Windows: unused variables, use ++i instead of i++ for complex types (ie mostly iterators for us) for more performance, a few variables that could be passed as const&, use vector.empty() instead of vector.size==0 (for clarity and potentially performances).
-
- 04 Dec, 2012 1 commit
-
-
Mathias Bavay authored
The FileIndexer class still had some bug (such a surprise). It is now working properly. Some constification in libsmet
-
- 03 Dec, 2012 3 commits
-
-
Mathias Bavay authored
SMET now uses fully the new file indexer class and creates indexes at least every 2000 lines (as in SNIO)
-
Mathias Bavay authored
-
Mathias Bavay authored
Some warnings have been fixed in the tests and all 'string tmp=""' or 'tmp=""' have been replaced by either an empty constructor (that does the same ) or tmp.clear() (that does the same too)
-
- 30 Nov, 2012 1 commit
-
-
Mathias Bavay authored
The indexing for SNIO and SMETIO was not working (because of BUFF_READ_BEFORE, we are almost never restarting exactly at the last read time step, but before). Moreover, SNIO was always reading the whole file, even past the specified dateEnd. This was extremely slow on large input file. This has been fixed. SNIO is still quite slow (it seems something like 10x compared to SMETIO), but it is much more acceptable. A file indexer class has been implemented in IOUtils.
-
- 31 Oct, 2012 1 commit
-
-
Mathias Bavay authored
Fixing a small bug/warning in libsmet and properly initializing the members in some plugins (through initialization lists, as usual).
-
- 29 Oct, 2012 1 commit
-
-
Mathias Bavay authored
-