- 10 Mar, 2011 2 commits
-
-
Mathias Bavay authored
-
Mathias Bavay authored
More fixes for Visual C++ (but not all done yet) as well as new assignments operators for 1d, 2d, 3d arrays. It is now possible to do something like my2Dgrid.grid2D = 2.; and every cell will be filled with 2.
-
- 09 Mar, 2011 3 commits
-
-
Mathias Bavay authored
In SNIO, the METAFILE can now be optional (which means that the metadata remain nodata, the user has therefore to fill them himself). This is used by Snowpack. After the Visual C++ compilation log from Raphael, some changes have been implemented: lots of warnigs about signed/unsigned fixed, some unreachable code removed, and some methods reimplemented for Windows. We are not there yet, but moving closer...
-
Fierz authored
-
Mathias Bavay authored
Quick fix for a new IMISIO limitation (that stations need to be in some specific tables to be processed, even if this table should not be an absolute necessity). Better SMET formatting for vw_max, small fix in SNIO (for computing emissivity)
-
- 08 Mar, 2011 4 commits
-
-
Mathias Bavay authored
The Wextra warning option is now disabled for Windows systems, so Visual C++ won't complain about it.
-
Mathias Bavay authored
The vw_max field has been added to CosmoXMLIO, and the plugin has seen some cleanup in its comments. Additional comments in Sun.cc should help understand acceptable values for several radiation parameters. A bug in SMETIO has been found (it was looking for METEOPATH in the input section even when smet was only used for outputs) and fixed.
-
Mathias Bavay authored
Another fix for issue 144: fallback "round" function for Visual C++ (that still does not conform to C99... only 12 years late...)
-
Mathias Bavay authored
The SNIO and SMETIO plugins now use METEOPATH for both inputs and outputs. This is more consistent with other plugins and usage. Some unused variables/methods have been removed from BufferedIOHandler (namely, the "buffer_always" functionality). A first implementation of fileExists() and readDirectory() for Windows has been written. This has not yet been tested (even for compilation) since it requires Visual C++. This moves forward to address issues 143 and 144
-
- 05 Mar, 2011 2 commits
-
-
Fierz authored
Sorry! I missed:-( some changes Thomas Egger made recently in IOManager.cc (push_meteo_data()). Should be OK again.
-
Fierz authored
- enhance and simplify sqlQueries. The joint snow_drift query now synchronizes the two stations queried (for example IMIS-snow w/ ENET-wind). The data query is efficient in terms of fetching time, that is 1.58 s for one full year of data (17484 rows a 17 columns) but the first conection may take forever (~50 s) - disentangle stationID and stationName (staion_code and station_name, respectively, in station2.v_snow_drift_standort); parse/edit station_name to not contain spaces ;-) - get temperature sensor depths and insert them in vecMeteoData => we now have a robust mapping of the MeteoData object (see r549) and can pass meta data to the application snowpack ;-)
-
- 04 Mar, 2011 2 commits
-
-
Mathias Bavay authored
-
Mathias Bavay authored
When calling Coords::setProj(), if only x/y were known, the lat/long were not calculated (but this was done for lat/long known and x/y missing). This has been fixed. The slope angle normalization between 0-90 degrees has been done. A merge method has been implemented for Coords and StationData. This simply replaces nodata fields from one object by the matching field from another object (priority given to the current object or the first object in the static method). This is quite a primitive merge strategy, but I doubt anything better could ever be done...
-
- 03 Mar, 2011 1 commit
-
-
Mathias Bavay authored
Added two parameters to the StationData class: slope angle and slope azimuth (with setter and getters)
-
- 01 Mar, 2011 4 commits
-
-
Thomas Egger authored
-
Thomas Egger authored
-
Thomas Egger authored
-
Thomas Egger authored
Bugfix for issue 147: When copying MeteoData object it could not be guarenteed that the index for a certain paramater would remain constant, thus accessing let's say md.param(13) and md2.param(13) could result in accessing different values. Since MeteoIO uses the index extensively it is of vital importance for the index to stay constant. This problem only affected additional parameters, not the standard parameters.
-
- 25 Feb, 2011 1 commit
-
-
Thomas Egger authored
Speedup for the MeteoData constructor and copy constructor, by looping through the individual parameters instead of seeking them out one by one.
-
- 24 Feb, 2011 2 commits
-
-
Thomas Egger authored
Removed potentially deadly line in BufferedIOHandler: setDfltBufferProperties was called in the destructor (without being able to hold the no throw promise. Added some brackets to make if statements easier to comprehend.
-
Thomas Egger authored
Completed the feature to push meteo data into the IOManager. Now both levels IOManager::raw and IOManager::filtered are supported permitting the user to push data either in a raw state or in a filtered state into the IOManager. This feature is essential in order to bypass internal reading of meteo data.
-
- 23 Feb, 2011 1 commit
-
-
Thomas Egger authored
Added a possibility to push meteo data into the IOManager in case the user does not wish to read meteo data with MeteoIO but wishes to use other functionality provided by the IOManager (e.g. resampling, interpolation, filtering): iomanager.push_meteo_data(IOManager::filtered, date_start, date_end, vec_meteo);
-
- 22 Feb, 2011 3 commits
-
-
Thomas Egger authored
Bugfix: The function bufferData is not equivalent to iomanager.readMeteoData! bufferData resets the buffer indices, thus a wrong date for buffer_start was present when requesting a big chunk of data (e.g. 1 month).
-
Mathias Bavay authored
-
Mathias Bavay authored
Finally, the Windows packaging works cleanly. The start menu links work, the add/remove software texts and icon work, the components installation works.
-
- 21 Feb, 2011 2 commits
-
-
Mathias Bavay authored
The popc autotools build was not working (I forgot to put the WindAvg filter). This has been fixed alongside some cpack fixes for the Windows packaging.
-
Fierz authored
-
- 18 Feb, 2011 1 commit
-
-
Mathias Bavay authored
An icon has been designed and the CMakeLists.txt improved for building the Windows installer. This is not yet perfect, but we are moving forward!
-
- 17 Feb, 2011 1 commit
-
-
Christine Groot Zwaaftink authored
-
- 16 Feb, 2011 2 commits
-
-
Mathias Bavay authored
Fixed a few compilation warnings found on Illusion. The buffer centering has been introduced in BufferedIOHandler: the user can specify centering as a fraction of the buffer size or as a duration before the requested date (when rebuffering). The documentation has been updated accordingly. Debugging output cleanup in CosmoXML.
-
Marc Diebold authored
Write meteo data: OK Read station data: implemented. In this routine, the user must choose (= comment/uncomment) he we write every station or if we use the given date to filter which station are written Notice: have to check how dateStart and dateEnd are chosen if we provide a single date (eg in meteo_reading.cc)... Now it takes "date - 6 hours" --> "date + 15 days - 6 hours"
-
- 15 Feb, 2011 3 commits
-
-
Mathias Bavay authored
The Date::setFromSys() method should now be portable (it was only BSD/GNU before). A constness issue has been fixed in DynamicLibrary for Windows platforms.
-
Mathias Bavay authored
No commit message
-
Mathias Bavay authored
-
- 14 Feb, 2011 1 commit
-
-
Mathias Bavay authored
The WIND_AVG filter has been ported. The problem is that it is not possible to get at the same time VW and DW. This will have to be fixed later... More documentation has been written.
-
- 11 Feb, 2011 1 commit
-
-
Mathias Bavay authored
Documentation update. A new section "how to build your io.ini configuration file" has been added to the end user section of the documentation.
-
- 10 Feb, 2011 4 commits
-
-
Mathias Bavay authored
-
Mathias Bavay authored
-
Mathias Bavay authored
The autotools' Makefile.in that is necessary for the popc version has been updated. The io.ini and data_converter.cc have been improved (some errors/obsolete keys were in io.ini)
-
Marc Diebold authored
Writes XML-files without the need of an external text-file TO DO Interpolation? Depends on the FieldExtra output format Add variable MaxWindSpeed
-