- 20 Nov, 2015 2 commits
-
-
Mathias Bavay authored
A few extra comments have been added to better understand the flow of data. The "merge" feature was not properly handling all situations, this should now be fixed.
-
Mathias Bavay authored
The EXCLUDE/KEEP/MERGE keys (as well as the associated stationIDs) were case sensitive and this was making trouble. This is now case-insensitive. A warning flag has been changed for Clang to prevent reporting fake warnings (the flag does not make sense at all and only exists for compatibility reasons).
-
- 18 Nov, 2015 1 commit
-
-
Mathias Bavay authored
The MERGE feature has been much improved: the syntax now follows the (more logical) EXCLUDE/KEEP syntax: *WFJ::MERGE = WFJ2 WFJ1 The documentation and debug toString() have been updated.
-
- 17 Nov, 2015 1 commit
-
-
Mathias Bavay authored
A new "raw data editing" method has been implemented: merge_by_name. Stations sharing a common name can be merged together with the MERGE_BY_NAME key in the [Input] section. The documentation has been edited to bring visibility to the "raw data editing" features.
-
- 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.
-
- 31 Aug, 2015 1 commit
-
-
Mathias Bavay authored
Finally, a long awaited (and MAJOR) change: HNW is gone, it is now PSUM. This name should be clearer and every occurences of "HNW" (even in temporary variables or algorithms) have been replaced by psum. A check is performed on keys containing "hnw" and an exception is thrown if some are found, urging the user to update the ini file. Please keep in mind that the calling codes have to now refer to MeteoData::PSUM and that some algorithms are now named differently!
-
- 07 Aug, 2015 1 commit
-
-
Mathias Bavay authored
Trying to close some potential security flaws (using FlawFinder). All files opened for reading are now checked and special files (devices, etc) are refused.
-
- 09 Jul, 2015 1 commit
-
-
Mathias Bavay authored
The CNRM plugin can now be enabled and properly works. Its documentation has been updated and improved. The NetCDF plugin can now read DEMs using various schema/conventions and its documentation now matches the code. A few more MeteoGrids have been defined that are required for meteorological model outputs and for some future spatial interpolations (ISW_DIR, ISW_DIFF for example). The PNG plugin creates a few more EXIF fields in order to make it very easy to integrate in google earth (but it seems that google earth does not like indexed pngs). A bug computing the geolocalization of grids coming from NetCDF has been fixed (all grids were slightly off).
-
- 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...
-
- 10 Feb, 2015 1 commit
-
-
Mathias Bavay authored
Similarly to the "::EXCLUDE" statement, it is now possible to use a "::KEEP" statement. This makes it possible to keep only a few parameters from given stations.
-
- 20 Jan, 2015 1 commit
-
-
Mathias Bavay authored
A new plugin has been contributed to acces the SASE Mysql database (obviously, this only makes sense from within SASE).
-
- 18 Nov, 2014 1 commit
-
-
Mathias Bavay authored
Slightly improved toString() output as well as first version of a proper Buffer class (not used yet)
-
- 30 Oct, 2014 1 commit
-
-
Mathias Bavay authored
In order to make it more modular and allow more advanced processing (virtual stations, downscaling, multiple io sources) the IOManager is now a proper wrapper: the processing is fully delegated to either a GridsManager or a TimeSeriesManager. These can in turn be reused at some other places (like in the Meteo2DInterpolator) to offer full buffering and processing of "local" time series. The buffering is now done by these two new classes (therefore the BufferedIOHandler class has been removed) and it is planned that dataClasses will be implemented for proper ringbuffers (one for time series, one for grids and one for isolated points) and receive the generic buffering code later on. A new fastPow(double, int) has been implemented for positive exponents. The begining of a generic handling of units also appeared in IOUtils. Finally, the ProcessingLevels are now defined in IOUtils instead of IOManager.
-
- 28 Oct, 2014 1 commit
-
-
Mathias Bavay authored
When a plugin was throwing an exception, the mapPlugins could get corrupted in the (rare) case of the caller catching and moving forward (uncaught NULL pointer). This is now not anymore possible, by design.
-
- 09 Oct, 2014 1 commit
-
-
Mathias Bavay authored
-
- 15 Aug, 2014 3 commits
-
-
Mathias Bavay authored
-
Mathias Bavay authored
Some documentation bugs have been fixed (multiple links definitions for doxygen). The config.dox file has been updated (in order to remove the warnings for obsolete keys). The parameter exclusion feature has been documented and now supports both a space delimited external file or by keys such as WFJ2::exclude = TA RH HS
-
Mathias Bavay authored
A new IOUtils::getCWD() method has been created, a new Config::getConfigRootDir() has been created (to help resolve relative paths) and is now used for the ADD and MULT filters as well as for the EXCLUDE feature of PSQLIO and IOHandler.
-
- 14 Aug, 2014 3 commits
-
-
Mathias Bavay authored
The same exclude file as used for the PSQLIO plugin is now implemented in IOHandler: it is possible to provide a CSV file containing a list of station IDs (one per line) with a list of which parameters (MeteoData naming) to exclude for this station ID (comma separated). The file can be provided with a relative path.
-
Mathias Bavay authored
-
Mathias Bavay authored
The plugins are now handled by an object factory, removing the need for the IOPlugin class. Otherwise, small documentation update in GeneratorAlgorithms.
-
- 31 Jul, 2014 1 commit
-
-
Mathias Bavay authored
-
- 26 May, 2014 1 commit
-
-
Mathias Bavay authored
-
- 11 May, 2014 1 commit
-
-
Mathias Bavay authored
A few extra checks have been added for grid rescaling. Some indentation has been fixed and lots of variables made const. The documentation is now linked to the general plugins documentation.
-
- 22 Apr, 2014 2 commits
-
-
Mathias Bavay authored
The Idso clear sky ILWR has been added (and also added to the clear sky generator). Some (dead) code that was committed by mistake has been removed and the very begining of what will be needed for data creators put in place (still some way to go!).
-
Mathias Bavay authored
The ClearSky and AllSky generators have been renamed as ClearSky_LW and AllSky_LW for clarity. The debug outputs (.toString()) have been improved. The Config::findKey method is now able to do pattern matching anywhere in the string (if "anywhere=true"). This makes some code simpler (for generators). The parameter copy feature has a new syntax: TA2::COPY = TA will copy TA into TA2 (clearer and more consistent). Please update your ini files if necessary!
-
- 13 Mar, 2014 1 commit
-
-
Thomas Egger authored
-
- 28 Feb, 2014 1 commit
-
-
Mathias Bavay authored
First version of the new COSMO (in fact, FieldExtract) plugin. It currently only reads data from one single file that is provided as argument, but this file can contain all the stations and all the time steps. This plugin only relies on libxml2.
-
- 06 Feb, 2014 1 commit
-
-
Mathias Bavay authored
Removing an external include out of the PSQLIO header (just in case), updating/fixing some plugin documentation (PSQLIO and GSNIO).
-
- 05 Feb, 2014 1 commit
-
-
Thomas Egger authored
-
- 02 Nov, 2013 1 commit
-
-
Mathias Bavay authored
Replacing "special points" by "Points Of Interest" in the documentation and the examples. Fixing warnings for BormaIO.
-
- 31 Oct, 2013 1 commit
-
-
Mathias Bavay authored
The cmake files for compiling with LibXML++ have been updated since they would not work with more recent Linux (but we should consider dropping LibXML++ and only rely on LibXML2 in order to reduce the dependencies and package finding mess). The special points are now called POI (Points of Interest, like for a gps device) in order to make them more familiar.
-
- 05 Oct, 2013 1 commit
-
-
Mathias Bavay authored
Fixing some warnings for Visual C++ and also using ostringstream instead of stringstream when appropriate
-
- 01 Sep, 2013 1 commit
-
-
Mathias Bavay authored
One more step closer to the goal: the dem is now only passed when calling calculate() and the simpleDEMWindInterpolate now computes the curvatures if necessary. Small optimizations in IOHandler.
-
- 31 Jul, 2013 1 commit
-
-
Mathias Bavay authored
The method to clear the buffers in BufferedIOHandler was not doing everything it should. Some methods in BufferedIOHandler and IOManager have been made const. The issues 117 and 272 have been adressed: the IOHandler now checks that timestamps are unique and in increasing order. This check has therefore been removed from SMETIO.
-
- 17 Apr, 2013 1 commit
-
-
Mathias Bavay authored
In order to implement an efficient and portable object serialization, it has been decided that all serializable objects would be manually serialized to an std::iostream. Then, the parallelization framework (mpi, popc, etc) can take over this stream and move it to another node. Therefore, the operators "<<" and ">>" are now reserved for serialization (as seems to be standard) and the debug outputs are obtained by printing "object.toString()". This means that all debug code has potentially to be fixed, by replacing "std::cout << object" by "std::cout << object.toString()".
-
- 21 Mar, 2013 1 commit
-
-
Mathias Bavay authored
The METEO_TIMSERIES and STATION_TIMESERIES have been renamed in METEO_SET and STATIONS_SET in order to better reflect their content. The concept of data generators is introduced. A new section has been created [Generators] to define how to generate data for each parameter when everything else failed. Soon, you will be able to generate ILWR directly by declaring it in your io.ini!
-
- 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.
-
- 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).
-
- 10 Jan, 2013 1 commit
-
-
Mathias Bavay authored
A new example has been added, to show what can be done with grids. The popc version was broken, this has been fixed.
-