- 20 Jul, 2010 1 commit
-
-
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)
-
- 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 1 commit
-
-
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&
-
- 26 Jun, 2010 1 commit
-
-
Thomas Egger authored
The new filtering and resampling framework. Filtering/Processing and Resampling have been separated from each other, the Resampling is now done with the class Meteo1DInterpolator which utilizes the static algorithms within ResamplingAlgorithms. The filtering remains a task of class MeteoFilter. The calling of the resampling and filtering as well as the data selection is now based in the facade class MeteoProcessor. MeteoProcessor::processData function calls the filtering algorithms, then passes the filtered data to the resampling algorithms and finally runs a "check only" filtering pass. The filtering system underwent some changes in order to simplify the tasks at hand, the interface has changed. The RateFilter is currently disfunctional, needs to be reimplemented.
-
- 24 Jun, 2010 1 commit
-
-
Thomas Egger authored
Changes to StationData: new string stationID (shortname) to describe a station in short, stationName shall be used for long description of a station. changes required an adaptation within the plugins Changes to ConfigReader: comments may appear anywhere (also after key value pairs or section names), everything after a '#' or ';' is disregarded. PGMIO: small fix: xllcorner mixed up with yllcorner FilterAlgorithms: extrapolate algorithm refined
-
- 21 Jun, 2010 1 commit
-
-
Thomas Egger authored
Overall all include statements within in the library have been replaced by angle brackets, the default install path for the include file is $CMAKE_INSTALL_DIR/include/meteoio, the meteoio libraries (static and shared) will be installed in $CMAKE_INSTALL_DIR/lib per default. The plugins will be installed in the subdirectory $CMAKE_INSTALL_DIR/lib/meteoio/plugins
-
- 17 Jun, 2010 1 commit
-
-
Thomas Egger authored
Added the exponential smoothing filter "exp_smoothing" and rewrote the "mean_avg" and "median_avg" filter to calculate the mean and median for every element within vecFilteredM. Usage of the new filter: HS::filter1 = exp_smoothing HS::arg1 = soft left 1 7200 0.6 The last argument specifies the smoothing factor alpha, the other arguments steer the window calculation (in this case a left leaning window with at least 1 data point spanning 7200 minutes.
-
- 09 Jun, 2010 3 commits
-
-
Thomas Egger authored
-
Thomas Egger authored
-
Thomas Egger authored
New interpolation interface: Now the 1D interpolation can be configured by the user through an own section in io.ini: [Interpolations1D] TA::resample = linear TA::args = extrapolate RH::resample = nearest_neighbour HNW::resample = no P::resample = linear Currently two algorithms are implemented: linear interpolation and nearest_neighbour interpolation. The interpolation can be switched off explicitly by P::resample = no The default remains linear resampling, however the linear resampling may not only resample within bounds (interpolate), but also out of bounds (extrapolate), this needs to be configured with the resampling algorithm argument "extrapolate" as seen in the example above.
-
- 28 May, 2010 1 commit
-
-
Mathias Bavay authored
Then, the remaining namespace issues with doxygen have been fixed, by enclosing the full class implementation in the namespace (as seen for the libstdc++). This removes all these irritating issues. But the popc version has been broken by the change (as seen in LegacyIO).
-
- 06 May, 2010 4 commits
-
-
Mathias Bavay authored
Some uncommitted fixes to the documentation are now committed. Hopefully all the namespace issues (ie: broken links) are now fixed!
-
Thomas Egger authored
-
Thomas Egger authored
Added the DEBUG_ARITHM option to the CMake build system (can be toggled with ON and OFF: default ON). Got rid of some verbose output in the RateFilter.
-
Thomas Egger authored
Changed the filter buffer size from 2 to approx 10 elements, that should allow for the deleting of certain points within vecFilteredM: changes to the resampling process and the accumulation process were necessary Small namespace fix for Coords.cc (for doxygen)
-
- 30 Apr, 2010 1 commit
-
-
Mathias Bavay authored
Most of the doxygen issues have been fixed. A few are still left (and we lost the inheritance structure in doxygen).
-
- 21 Apr, 2010 1 commit
-
-
Thomas Egger authored
Changed the name of the Date_IO class to Date. In case of namespace conflicts, just use mio::Date to reference the MeteoIO Date class.
-
- 20 Apr, 2010 1 commit
-
-
Mathias Bavay authored
The doxygen documentation of the filters has been slightly tweaked and the wind averaging filter has been fixed (it was not modulo 360 and an unnecessary sign change has been removed) and verified (closing issue 51). The offending Undefined in Date_IO has been replaced by undefined (for naming consistency).
-
- 16 Apr, 2010 1 commit
-
-
Mathias Bavay authored
Two public methods have been added to Date_IO (getJulianDayNumber and isLeapYear). The documentation has been slightly improved. A helper function has been added to IOUtils: getTimeZoneParameters. It will be used by the plugins in order to correctly set the timezone of their data. The Median Absolute Deviation filter has been implemented, documented and checked (in FilterAlgorithms).
-
- 15 Apr, 2010 2 commits
-
-
Mathias Bavay authored
A bug has been fixed in the rate filter, a better behavior has been implemented for the Date_IO class (once a timezone has been set, either by the constructor or by an explicit call, all setDate() calls that don't specify a timezone will be considered to be in the pre-set timezone), the class has been documented and the example has been improved.
-
Mathias Bavay authored
The Date_IO class has been deeply rewriten. The conversion methods have been checked (with references added), the class now uses real julian date (internally as a reference) and can generate a variety of outputs (julian, modified julian, truncated julian, unix, excel). It also works properly with time zones and a simplified version of dayligh saving time (it assumes that DST always introduces a +1 hour shift, which should always be true but on one AUstralian Island: Lord Howe Island). Some now invalid calls have been fixed in plugins (the short setDate(yy,mm,dd) call is now longer supported but migth be misinterpreted by the compiler for another call, despite types mismatch). A new example code has been added: time.cc
-
- 14 Apr, 2010 1 commit
-
-
Mathias Bavay authored
-
- 13 Apr, 2010 3 commits
-
-
Mathias Bavay authored
The rate of change filter (rate) has been implemented, the time base for filters has been changed from MINUTES to SECONDS and a few improvements to the filters documentation. This means that the user's io.ini config files might have to be CHANGED (from windows in minutes to windows in seconds)
-
Mathias Bavay authored
A few typos have been fixed in the documentation, the welcome page has been restructured and a naming conflict (GRID_POINT for both 2D and 3D grids) has been temporarily avoided by calling these structures GRID_POINT_2/3D. This still leaves the question of how to handle DEMObject with 3D grid open though...
-
Mathias Bavay authored
-
- 12 Apr, 2010 3 commits
-
-
Mathias Bavay authored
The << operator has been overloaded for a few types (Arrays, Grids, Coords, Dates, Meteo and Station data) and the to_String() methods removed (except for Dates because it might make sense there to get a string) as a way to provide easy debugging output. This makes the meteo_reading example even simpler!
-
Thomas Egger authored
-
Thomas Egger authored
-
- 08 Apr, 2010 1 commit
-
-
Mathias Bavay authored
The physical filter algorithms (as defined in libinterpol2D) have seen their interface modified so they all follow the same logic (for the order and naming of the arguments). The documentation has been cleaned up (the warnings have been fixed, some missing items added).
-
- 16 Mar, 2010 1 commit
-
-
Thomas Egger authored
Altered the function that returns a window of data to filters (getWindowData) to optionally also provide the dates for the elements in the window.
-
- 15 Mar, 2010 1 commit
-
-
Thomas Egger authored
Added Filter to average wind speeds and directions called WindAvgFilter, accessible through the io.ini tags: wind_avg; example: VW::filter1 = wind_avg VW::arg1 = soft center 1 60 The averaging is done vector based by computing the east-west and north-south components of the wind (using cos and sin). The vectors are weighted with the corresponding wind speed.
-
- 16 Feb, 2010 1 commit
-
-
Mathias Bavay authored
The class Stationdata now properly uses the new Coords class. All usual dependencies have been fixed (A3DIO.cc) but not (yet) the optional plugins. The Coords class has been modified so that it computes the matching coordinates as soon as possible instead of the previous implementation that was delaying it as much as possible (thus making "const Coords..." impossible). The includes have been cleaned up (compilation was failing because of multiple "using namespace" in header files) and all "using namespace" have been removed from header files (please don't put any of these back!!). The doxygen comments has been updated.
-
- 28 Jan, 2010 1 commit
-
-
Mathias Bavay authored
The parallelization was lagging behind, so this has been fixed: One internal variable was not serialized in DEMObject, there was no serialization at all in Meteo2DInterpolator and some marshalling methods had to be written (in marshall_meteoio). The serialization of Meteo2DInterpolator should be tested however! The marshalling code has been cleaned up and some missing "std::" added in FilterAlgorithms (doxygen was complaining).
-
- 24 Jan, 2010 1 commit
-
-
Thomas Egger authored
Added the MeanAvgFilter and updated the MedianAvgFilter. Now the position of the filter window can be defined. The keyword soft has the meaning that the configuration of the window position is not strict (it will adapt if there is not enough data available for the user defined window position). If both soft and the position for the window (left, right, center) are missing "center" is assumed. Usage: TA::filter1 = mean_avg TA::arg1 = soft right 10 100 RH::filter1 = median_avg RH::arg1 = 10 200 Meaning: use mean_avg filter on TA, the window shall be right leaning spanning at least 10 points and 100 minutes. Use median_avg filter on RH, the window shall be centered (strictly).
-
- 11 Dec, 2009 1 commit
-
-
Mathias Bavay authored
A new slope computation algorithm has bee added: CARD It computes the slope using Corripio and then discretizes the azimuth along 8 cardinal directions and the slope by degrees. This should be all that GEOtop needs for its drainage direction (then simply calling a dem.update("CARDINAL")). The copyright notices have been put in place in all files (headers and cc) with proper attribution of copyright. The documentation has been improved, specially fixing issue 22. Warning messages of doxygen have been fixed. An example subdirectory has been created in /doc and contains (currently) 2 examples of code using MeteoIO.
-
- 08 Dec, 2009 1 commit
-
-
Thomas Egger authored
Corrected error in the filter called "rate", the accumulation filter - the accumulation loop counted the last element twice.
-
- 22 Nov, 2009 1 commit
-
-
Thomas Egger authored
usage (in io.ini): [Filters] TA::filter1 = median_avg TA::arg1 = 20 100 The first argument specifies the minimal number of points, the second argument the minimal duration that the window for the filter has to have: if these conditions cannot be met (too little data) the filter is not executed.
-
- 19 Nov, 2009 1 commit
-
-
Mathias Bavay authored
More doxygen documentation has been written (Thomas, you're invited to contribute!!)
-
- 11 Nov, 2009 1 commit
-
-
Mathias Bavay authored
The doxygen comments have been fixed and largely expanded: the welcome page is now populated and some general documentation proposed. The prototypes of the filters have been fixed (doxygen was complaining) so that we always use std:: when necessary. The Grid3DObject checkCoordinates has been implemented along the same lines as Grid2DObject. The altitude is still missing though... The check for POPC++ has been added to the autotools configuration. A small improvement to the way the A3DIO plugins handles incoming nodata has been done. A few HACKS have been fixed and removed. Some error messages (in libinterpol2D) have been improved, their printf relpaced by a std::cerr and an extra check (using assert) has been added so that no Td would be computed if Rh<0 (and we would throw an exception).
-