- 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.
-
- 25 Mar, 2011 1 commit
-
-
Mathias Bavay authored
The emissivity models have been cleaned up: they now take RH, TA, etc but NOT the water vapor pressure (it is internally calculated). Please, update your code! A specific spatial interpolation algorithm has been introduced for ILWR that relies on emissivity (we convert ILWR to emissivity, then interpolate the emissivity, then reconvert to ILWR). As mentionned in issue 156, a better method for interpolations by proxies will have to be designed and implemented...
-
- 24 Mar, 2011 2 commits
-
-
Mathias Bavay authored
The array getSum() was not the most appropriate method... It has been replaced by a getCount(), which means that to really get the sum, one has to do getMean()*getCount(). A new Coords::isNodata() method has been implemented as well as the possibility for two Coords objects to be equal if both are nodata. This is now used in SMETIO so that if the position of a station becomes nodata, it won't force its position information into the data section. Some comments have been cleaned up in IMISIO, better exceptions thrown in SNIO and better backtrace formatting in IOExceptions (this being only for Linux, a dark grey text color has been specified to more or less make the backtrace less intrusive and scary to the user). More Visual C++ tweaks in CMakeLists
-
Fierz authored
Commit SNIO version capable of reading and writing optional parameters found in *.inp files. The use of a METAFILE is optional. The varaibles stationID and stationname have been disentangled. Reading: NUMBER_MEAS_TEMPERATURES, NUMBER_OF_SOLUTES, VW_DRIFT, RHO_HN in that order, [Input] section switch driven. The input data lines are even more checked than before. Writing: if (param.exist()) will trigger writing out those values in the correct order for *.inp files. In ImisIO the additional parameters ts and Hts are now uppercase.
-
- 23 Mar, 2011 4 commits
-
-
Mathias Bavay authored
The CMakeLists has been adapted so that it properly supports various Visual C++ options. Now, options are set per compiler and per plateform (depending on the scope of the said option). Therefore, choosing a target like "optimized" really produces compilation optimized for speed on g++ as well as Visual C++. Several type casting issues (warnings) have also been addressed.
-
Mathias Bavay authored
Fixed some bad naming in DynamicLibrary, silenced an unnecessary warning from Visual C++ (urging us to use non standard library calls), fixed some DLL exports for Visual C++.
-
Mathias Bavay authored
-
Mathias Bavay authored
The Array::getAbs() and abs() methods were not offering nodata handling, this has been fixed. A new getSum() method has been implemented for arrays (with proper choice of nodata handling)
-
- 22 Mar, 2011 2 commits
-
-
Mathias Bavay authored
A small bug has been fixed for code::blocks (dll_import should not be set for code::blocks on Windows). All #ifdef WIN32 have been replaced by #ifdef _WIN32 (which should be more standard). Version numbers have been pushed to 2.0.1 in order to prepare our upcoming release.
-
Mathias Bavay authored
Next round of fixes for issue 68 (variable names starting with "_" under Visual C++). Hopefully, this issue should now be fully addressed.
-
- 21 Mar, 2011 3 commits
-
-
Mathias Bavay authored
First batch of fixes for issue 68 (variable names starting with "_" invalid for some versions of Visual C++)
-
Thomas Egger authored
Fix for issue 139: Buffering and large data gaps; If the resampling cannot rely on any data points the old behavior was to return a MeteoData object with both data and meta data set to IOUtils::nodata. Now these points are simply skipped. Thus requesting a data point in a gap of measurements greater than the window size necessary will result in an empty result set.
-
Mathias Bavay authored
The Arrays now skip some unecessary tests in resize(). Since the arguments are unsigned, there can not be any negative size! This also now allows setting size to 0. A new "operator" has been added to get the absolute value of an array. This unfortunatelly generate a warning for unsigned arrays despite that the necessary signedness test is performed. This warning will have to be disabled one way or another. The example data set has been brought back to SMET version 1.1
-
- 19 Mar, 2011 1 commit
-
-
Mathias Bavay authored
The SMET specification has been changed and brought to version 1.1. The units_multiplier and units_offset order has been changed: now, the multiplier is applied FIRST and then the offset. This allows to disable a SMET column by setting the mutiplier to 0 and the offset to nodata. A warning is displayed by SMETIO for all files version <1.1 urging users to check their files and update them to 1.1. Code cleanup in IMISIO, grid constraint for wind that it must be greater than 0 in Meteo2DInterpolator.
-
- 18 Mar, 2011 1 commit
-
-
Christine Groot Zwaaftink authored
The getMin(), getMax() and getMean() Array3D methods were not working. This has been fixed. The Array2D::getMean() method has been slightly simplified
-