- 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
-
-
Mathias Bavay authored
A new plugin has been introduced: PGMIO that reads/writes PGM graphic files as 2D grids. (using the template plugin, it took less than 30 minutes for implementing the write2Dgrid!!) More documentation has been updated/added, the template plugin has been fixed for some issues, the example io.ini shows more plugins usage.
-
- 15 Jun, 2010 1 commit
-
-
Mathias Bavay authored
The types TYPE_DOUBLE2D, TYPE_DOUBLE3D and TYPE_INT2D have been removed (and replaced by another, internal name because POPC does not accept templates and needs an alias for them). A variable that was used only within two private methods with a local scope in IOHandler has been removed from the class scope and is now a local variable.
-
- 07 Jun, 2010 1 commit
-
-
Mathias Bavay authored
The ARPSIO plugin's documentation is now correclty linked to the rest of the documentation. The reading of DEMs has been validated (with some bug fixes). It currently only works for APRSGRID modified data files (but supporting original ARPS ascii files should be easier). More explicit error messages have been added to Array2D
-
- 03 Jun, 2010 1 commit
-
-
Mathias Bavay authored
The first version of an ARPSIO plugin has been written, largely based on the code of LegacyIO. This plugin is mostly non-fonctional (besides reading DEM) because most of the concepts of ARPS files are foreign to MeteoIO... Finishing it will require carreful thinking and brilliant ideas! (the biggest issues have to do with the irregular grids that are a usual feature of ARPS files). A warning has been silenced until we finish the implementation of the USER interpolation algorithm (reading user provided grids).
-
- 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 2 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
Removed the STATION key from the io.ini. the readStationData function of the plugins relies on the METEO key for choosing the data source.
-
- 29 Apr, 2010 1 commit
-
-
Mathias Bavay authored
The IMISIO plugin now reads the database's name, user, password from the configuration file. The SNOWPACK plugin has seen some improvements in the formatting of its output file. The code exaples have been simplified.
-
- 26 Apr, 2010 1 commit
-
-
Mathias Bavay authored
-
- 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.
-
- 06 Apr, 2010 1 commit
-
-
Mathias Bavay authored
The input and output parameters were looked for in the [INPUT] and [OUTPUT] sections. This naming was not consistent with the rest of io.ini, they have been renamed in [Input] and [Output]. Some documentation was missing and has been added (plugin documentation)
-
- 01 Apr, 2010 1 commit
-
-
Mathias Bavay authored
The minimum required CMake has been changed to an earlier version (it seems to work fine).
-
- 31 Mar, 2010 1 commit
-
-
Thomas Egger authored
a new function called: readStationData has been added. It expects a date and a vector<StationData> as parameters and returns the meta data for the required date (often this date is irrelevant, because stations are fixed, then just pass any date).
-
- 30 Mar, 2010 1 commit
-
-
Thomas Egger authored
A first workaround to make compilation with POPC possible, by adding the writeMeteoData function to IOHandler.ph. The problem persists on how to deal with const references and POPC.
-
- 29 Mar, 2010 1 commit
-
-
Mathias Bavay authored
A plugin (BoschungIO) has been renammed as BormaIO and the LPGL notices have been added to it (upon agreement).
-
- 25 Mar, 2010 1 commit
-
-
Thomas Egger authored
The new structure of the io.ini shall have an [Input], [Output], [General], [Interpolations2D] and [Filters] section. Some of the keys have changed names: COORDIN is COORDSYS, instead of DEMSRC it's just DEM in the [Input] section and so on.
-
- 15 Mar, 2010 1 commit
-
-
Thomas Egger authored
A new function is introduced into the IOInterface: writeMeteoData. It expects one vector<vector<MeteoData>> and one vector<vector<StationData>> as well as an optional string (for database info, file name, etc). The relevant io.ini tag is: METEODEST = GEOTOP Only GeotopIO has this method fully implemented thus enabling to convert all meteo data captured from any other source to a GEOtop compliant meteo files. The relevant tags are: METEODESTPATH = /tmp METEODESTSEQ = WindS WindDir RelHum AirT SWglobal Iprec METEODESTPATH determines where the files will be written to and METEODESTSEQ determines the order in which the meteo parameters will be written into the CSV file
-
- 23 Feb, 2010 1 commit
-
-
Mathias Bavay authored
A problem was found during the intialization of the plugins (as well as A3DIO): the parameters that were passed to initialize the local copies were not always initialized with the raw parameters passed to the constructor but usually with the copy of the previous element. This lead to some copies not to be up to date when calling their constructor (see A3DIO.cc for a clearer view!!).
-
- 22 Feb, 2010 1 commit
-
-
Mathias Bavay authored
The plugin's interface (IOInterface) has been slightly modified: readSpecialPoints now returns a vector of Coords. This means that a plugin can provide coordinates as (lat,long) or (easting, northing) or (grid_i, grid_j). All the plugins have been modified accordingly and POINTS and POINTSArray have been removed from Array.h
-
- 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.
-
- 03 Feb, 2010 1 commit
-
-
Mathias Bavay authored
The Special_PTS and CSpecialPointsArray structures have been renamed in "POINT" and "POINTSArray" (there was no reason to call them "special points"). A few new methods have been added to DEMObject: getPointsBetween that returns a vector containing the indices of all points located on the line between two points (given by their real world (x,y) coordinates), horizontalDistance that returns the horizontal distance between two points and terrainDistance that returns the distance between two point accros the terrain as described by the DEM (ie: going up and down the terrain).
-
- 13 Jan, 2010 1 commit
-
-
Mathias Bavay authored
In an effort to make ConfigReader more flexible, its interface has been expanded: it is now possible to read several files into one ConfigReader, or to manually add key/value pairs and it is planned that a string containing command line arguments could be given to populate the internal map of ConfigReader.
-
- 12 Jan, 2010 1 commit
-
-
Thomas Egger authored
-
- 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.
-
- 03 Dec, 2009 2 commits
-
-
Mathias Bavay authored
Some unnecessarily duplicated code has been removed in IOHandler.cc. The warnings "warning: base class ‘class paroc_base’ should be explicitly initialized in the copy constructor" have been fixed for Date_IO and MeteoData. The IOHandler popc behavior has been changed: it now forces the creation of the IOHander object on the local host. The Makefile has been slightly improved (end of compilation message)
-
Mathias Bavay authored
A few fixes for Popc from Laurent Winkler... fixed some code that was segfaulting with popc, made MeteoIO objects remain on localhost instead of being moved to another node.
-
- 22 Nov, 2009 1 commit
-
-
Thomas Egger authored
CMake changes: possibility of including/linking proj4, creating shared and static version of libmeteoio, install script for installing all the plugins to /usr/local and a change to IOHandler.cc: if no PLUGINPATH is specified in the io.ini file all paths defined for ldconfig and LD_LIBRARY_PATH are searched for the plugins. Furthermore a versioning system for the plugins and meteoio has been introduced.
-
- 19 Nov, 2009 1 commit
-
-
Mathias Bavay authored
A small but irrtating bug in the Makefile has been fixed (failure to install when the parallel version had not yet been compiled). The doxygen documentation has been updated with the documentation of the plugins (from a user point of view). The data assimilation reading methods have been slightly tweaked (so that they read a time stamp containing minutes and not only hours).
-
- 11 Nov, 2009 2 commits
-
-
Laurent Winkler authored
Fix a segfault in the parallel version of the code in deletePlugin by suppressing a call to delete. This modif is not very clean so it would be good to fix it properly. (But I cannot figure were the error comes from ...)
-
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).
-
- 07 Nov, 2009 1 commit
-
-
Thomas Egger authored
1. The CMake system now works under MSWindows and MACOSX (meteoio can deal with *.dynlib, *.so and *.dll extensions for dynamic libraries) 2. Added comments to the MeteoFilter.* files
-
- 27 Oct, 2009 1 commit
-
-
Mathias Bavay authored
DEMObject and IOHandler have been modified so that the DEMObject is more or less intelligently updated while retaining the possibility to provide an optional argument turning it off (constructors which fill the DEMObject with real data by default now update the slope/curvatures/normals except if giving as a last argument *false*). The first code for using the proj4 library for coordinates conversion has been writen in MapProj. It is still disabled by default since it suffers (at least) from a parsing bug: the coordinates argument is truncated when going through cfg.getValue() and therefore not valid (at least my checks work!). A missplaced define (for PI) has been moved in IOUtils. LegacyIO popc code has been cleaned up, removing the timers (that are not portable and thus a problem for WIN32 systems). A typo in an error message has been fixed in Grid2DObject. A few unnecessary (ie: ugly) white spaces removed at some places (A3DIO.cc, etc)
-
- 22 Oct, 2009 1 commit
-
-
Mathias Bavay authored
A new define (DEBUG_ARITHM) has been added that activates the non-catching of arithmetic exceptions. This is specially required for parallel execution when the code from the library might execute in a process different from the caller (thus not having the required flag set on the cpu for its process). This is enabled/disabled in the Makefile.in (or the Makefile for the end user). The std:: namespace declaration has been added to a lots of places, making the "use namespace std" usage irrelevant (and thus suppressed). Other namespaces that were called with a "use" have been found not to be used anymore and therefore also removed. Several bugs in the doxygen comments have been fixed: typo (misplaced space), comments not matching the declaration anymore, etc Doxygen now executes without warnings.
-
- 13 Oct, 2009 1 commit
-
-
Mathias Bavay authored
Updated MeteoIO to use HNW for new precipitations instead of NSWC. All mentions of nswc have been removed, including in funciton names and comments. Indentation fixed in IOHandler.cc
-
- 05 Sep, 2009 1 commit
-
-
Laurent Winkler authored
* Changed method call to readDEM so that polymorphism is not used anymore.
-
- 04 Sep, 2009 2 commits
-
-
Mathias Bavay authored
An annoying information message has been removed from BufferedIOHandler. The readMeteoData(date, vecMeteo, vecStation) method of IOHandler (ie: unbuffered) is now correctly implemented. The local grid reprojection of the meteoio_demo has now been commented out since its correct operation has been verified. The ImisIO plugin has been reorganized in order to get more similar to the other plugins. It still does not work with the new BufferedIOHandler, but work on that will follow...
-
Laurent Winkler authored
Modif for parallel version. Dynamic libraries are now compiled separately to avoid a huge bug due to differences in some headers files.
-
- 02 Sep, 2009 1 commit
-
-
Mathias Bavay authored
Added the begining of an implementation of readMeteoData(data, vecMeteo, vecStation) to IOHandler. This should be mostly used for teaching purpose or for benchmarking. An error message was added when A3DIO fails to get the COORDIN/COORDPARAM parameter (makes it much easier to track down). The reading of ARPS files implemented in LegacyIO was not matching the files that are in used, it has been fixed (slightly different format).
-
- 17 Aug, 2009 1 commit
-
-
Thomas Egger authored
* this functionality has previously subsided in A3DIO, where it has been deleted and moved to ARCIO * to reference this plugin in io.ini use "ARC" * to reference A3DIO in io.ini use "A3D" instead of "FILE" e.g. METEOSRC = A3D * edited Makefile.in and configure.ac to deal with the new plugin
-