- 23 Mar, 2011 1 commit
-
-
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++.
-
- 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.
-
- 16 Mar, 2011 1 commit
-
-
Mathias Bavay authored
The example data snow heights were given in cm instead of m. Using the "units_multiplier" of SMET, this has been fixed. The plugin_nodata of SMET was not remapped to IOUtils::nodata. This is now done (both for header fields, ascii data and binary data).
-
- 15 Mar, 2011 1 commit
-
-
Mathias Bavay authored
The arrays are now using the vector filling methods when possible. A specialized template for convertString(unsigned int) has been written. A two segments linear fit (for elevation detrending) has been implemented with a fixed inflection point. This is quite primitive but allows the LLIDW spatial interpolation to use it and therefore to behave like the traditional SLF SnowFit program. More work will be needed for fully configurable regression algorithm choice though... Some namming issues have been fixed in COSMOXML. A better emissivity handling has been implemented in SNIO to be closer to the original Snowpack (ie: compute clear sky ILWR when no cloudiness/emissivity is given).
-
- 11 Mar, 2011 1 commit
-
-
Mathias Bavay authored
The TIME_ZONE keys are now used by ALL plugins (I thought I already did it...)
-
- 10 Mar, 2011 1 commit
-
-
Thomas Egger authored
SMETIO bug: parseInputOutputSection() assumed that there has to be a INPUT::METEO key in the io.ini. It is optional though, the plugin might be only used for writing meteo data.
-
- 09 Mar, 2011 1 commit
-
-
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 2 commits
-
-
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
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
-
- 04 Feb, 2011 1 commit
-
-
Mathias Bavay authored
The full support for timezones has been brought back. This fixes issue 71. The SMET, SMET, IMIS, BORMA plugins have been validated. Geotop should be validtaed if an input data set is available. A new class will have to be implemented to represent time periods. This is currently only a typedef pointing to the Date class, but a specific class would be welcomed. GSN has been fixed for some changes on the web service, but does not retrieve the correct timestamps (is this a GSN issue?). The GSN compilation has been improved: the warnings related to GSOAP have been removed. A new long wave radiaiton model using cloudiness as input has been added (Omstedt, 1990).
-
- 09 Dec, 2010 1 commit
-
-
Thomas Egger authored
The changes to the IOInterface (no more vec<vec<StationData>>) have been propagated into all plugins.
-
- 03 Nov, 2010 1 commit
-
-
Mathias Bavay authored
The SMETIO plugin now supports the "units_multiplier" field. The SMET specification has been brought to 1.0. A forgotten debugging output has been removed in InterpolationAlgorithms
-
- 29 Oct, 2010 1 commit
-
-
Mathias Bavay authored
The SMET plugin was the only plugin not to use "STATION#" for specifying its input files/stations (besides plugin reading a path). It has been modified for consistency. This WILL break older io.ini files... A new projection method has been added in lib2Dinterpol: fracProject that projects a value according to the elevation based on a fractional (or relative) change of the value with the elevation. This can be enabled in CST_LAPSE by adding the "frac" keyword as the second argument (after the rate value). The documentation "how to write a spatial interpolation algorithm" has been updated to reflect recent changes in the code. The FindMeteoIO and FindOCCI files for cmake were not compatible with cmake<2.6.1. They have been rewriten to be compatible with older versions (specially like the 2.6.0 deployed on Debian). A bug in CMakeList for the IMIS plugin has been fixed (wrong cmake variable name used).
-
- 08 Sep, 2010 1 commit
-
-
Mathias Bavay authored
Fixed a compiler warning in Matrix ("warning: type qualifiers ignored on function return type" , cf http://stackoverflow.com/questions/1607188/why-is-type-qualifier-on-return-type-is-meaningless for full explanations). Small hack/bug fix in SMETIO 8related to issue 87)
-
- 03 Sep, 2010 1 commit
-
-
Mathias Bavay authored
The embryo of a matrix class has been implemented. It is still based on Array2D and therefore the indexing is still 0 to n-1 instead of being 1 to n and the coordinates are swapped compared to normal matrices. New regression models have been added, all based on the linear regression code but using variable transforms to achieve their goal. The global header file (MeteoIO.h) was incomplete. It has therefore been reorganized and now contains everything that it should...
-
- 11 Aug, 2010 1 commit
-
-
Mathias Bavay authored
The array memory alignement has been fixed for Array2D (this was the only that was wrongly aligned). This is a fix to issue 43
-
- 10 Aug, 2010 1 commit
-
-
Mathias Bavay authored
The bufferAlways method of BufferedIOHandler has been renamed as setBufferProperties. The A3DIO, IMISIO, SMETIO and SNIO plugins now correctly support time zones. The plugin howto documentation now warns the developer to take care of time zones issues.
-
- 06 Aug, 2010 1 commit
-
-
Mathias Bavay authored
The DEMObject was not properly buffered (the update flag was not honored), this has been fixed. The A3DIO plugin now implements readStationData. A few speed improvements have been brought to A3DIO and SMETIO by using the "reserve" method of the vectors (so that the vectors don't have to reallocate memory constantly).
-
- 04 Aug, 2010 1 commit
-
-
Mathias Bavay authored
-
- 03 Aug, 2010 1 commit
-
-
Mathias Bavay authored
The DEMObject subset constructor was broken, it has been fixed. It involved creating a subset method in the arrays classes. The Coord class now supports using the given UTM zone when converting from lat/long to UTM. If the computed zone does not match the one requested in the io.ini, it prints a warning but uses the user-supplied zone. A first implementation of readStationData for SMETIO has been done. Some documentation has been added for plugin development
-
- 02 Aug, 2010 2 commits
-
-
Thomas Egger authored
Bugfix: The buffer was filled with all data before the date requested, it should only fill the buffer with data between dateStart and dateEnd
-
Mathias Bavay authored
The WIND_CURV spatial interpolations algorithm now intelligently checks if the curvatures are available or not and gives a warning if not (and also take a 0 grade so that it would not be used). The SMET plugin now uses the user provided coordinate system (as a default value for input and as a target coordinate system for output).
-
- 01 Aug, 2010 1 commit
-
-
Thomas Egger authored
-
- 26 Jul, 2010 1 commit
-
-
Thomas Egger authored
-
- 20 Jul, 2010 4 commits
-
-
Mathias Bavay authored
Another bug in the parameter name mapping in SMETIO has been found and some error messages made clearer (with more information). A bug in convertString<Date> has been found that was preventing it from corretly processing dates containing seconds. A quick fix has been implemented that reads seconds (even if they are later ignored because the Date class would need to support seconds)
-
Mathias Bavay authored
Several bugs have been fixed in Coords: the setEPSG was not working, the altitude was not displayed with the << operator and the formatting of decimal_to_dms was broken in its handling of seconds... The documentation for the resampling has been expanded and several other modules' documentation have been updated so their structure is built along the same lines. An error message in IOHandler (when failing to load a plugin) was not clear and has been changed. Several bugs in SMEIO have been fixed (improper column names mapping, improper handling of easting/northing, unclear error message). The example data set has been tagged as GMT+1 and the meteo_reading and 2D_interpolations modified accordingly (so the argument read on the command line is assumed to be in GMT+1 too)
-
Thomas Egger authored
BUGFIX: A boolean signature check had a boolean evaluation for the version string check that was not performing as intended.
-
Thomas Egger authored
BUGFIX: A boolean signature check had a boolean evaluation for the version string check that was not performing as intended.
-
- 19 Jul, 2010 2 commits
-
-
Thomas Egger authored
BUGFIX: When adding a key on the fly to the ConfigReader object it disappeared when accessing it in a plugin. Reason: The dynamic instantiation used the filename parameter in the constructor of the plugins instead of the ConfigReader object itself. Architectural change inside DynamicLibrary was necessary.
-
Mathias Bavay authored
The EPSG get and set methods have been added to Coords. The "<<" operator has been redefined for ConfigReader (this is convenient for debugging). The SMETIO plugin has been updated (so that it supports EPSG codes and also to change some column names and improve the foutput formatting). Some documentation has been added and the example data set has been replaced by a data set suitable for the whole Switzerland and in SMET format.
-
- 16 Jul, 2010 1 commit
-
-
Mathias Bavay authored
The missing License file has been added. A little bit of cleanup in CMakeLists (removing some code that is anyway not helping for hera). ImisIO and SmetIO have been slightly improved (retrieving full names if available in Imis, supporting several versions of the smet specification in SmetIO). The SMET specification should now be pretty much ready. Please provide your last comments before version 1.0!!
-
- 07 Jul, 2010 1 commit
-
-
Mathias Bavay authored
The WSMDF format has been renamed into SMET. Therefore, the plugin has been renamed in SMETIO. Compilation and documentation have been updated accordingly.
-
- 30 Jun, 2010 1 commit
-
-
Thomas Egger authored
The WSMDF plugin now sports a nicer formatting of columns in ASCII mode. TODO: unit_multiplier, unit_offset and GZIP
-
- 29 Jun, 2010 1 commit
-
-
Mathias Bavay authored
Fixed the behavior of ConfigReader when throwing exceptions: it rethrows so that the error message can be turned off by the receiver of the exception (if simply not printing e.what() when catching the exception). The warnings in FilterAlgorithms have been turned off cast to void) since this is an algorithm that has to be re-written anyway. The documentation has been fixed (missing documentation, broken link, etc)
-
- 28 Jun, 2010 2 commits
-
-
Thomas Egger authored
The WSMDF binary data format now saves the julian date as a double (64bit) all other parameters are stored as floats (32-bit) and a dataset is terminated by a char '\n'. Binary version of WSMDF working. TODO: change timestamp to julian and GZIP features
-
Thomas Egger authored
Added new plugin for WSMDF format. gzipped version of format currently not supported. binary version works, but since the julian date does not fit into a 4 byte (32bit) float, it is unusable. ASCII format works, although unit_multiplier and unit_offset are currently not supported. For location information the easting, northing version is not yet supported. Added function IOUtils::stripComments(string&) it, deletes everything after # or ; from the string&
-