- 09 Dec, 2009 1 commit
-
-
Mathias Bavay authored
The license information has been added: LPGLv3 headers in all header files, license texts as well as a Linux Software Map entry file. The installation procedure has been added to cmake configuration files (similar to the autotools)
-
- 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.
-
- 07 Dec, 2009 1 commit
-
-
Thomas Egger authored
GeotopIO had to be adapted to a new range of parameters that come with the new version of GEOtop.
-
- 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.
-
- 02 Dec, 2009 1 commit
-
-
Mathias Bavay authored
This version has been (a little bit) tested with popc. The code that needed validation (MeteoData information necessary for filtering) seems to work, so some code tagging has been removed and some commented out methods deleted. Fixed the install bug that was preventing the installation if the parallel version was not compiled. Following the latest evolution of Pop-C++, an inheritance for the popc exceptions had to be removed.
-
- 01 Dec, 2009 1 commit
-
-
Mathias Bavay authored
-
- 22 Nov, 2009 2 commits
-
-
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.
-
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 4 commits
-
-
Mathias Bavay authored
-
Mathias Bavay authored
More doxygen documentation has been written (Thomas, you're invited to contribute!!)
-
Mathias Bavay authored
Oups... I forgot to add the MainPage.h file that contains the main documentation page (and no active code)
-
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).
-
- 17 Nov, 2009 1 commit
-
-
Mathias Bavay authored
Major improvement in the autotools: now the DEST option is gone, all is done automatically. Please do ./configure --help in order to see the new options (mostly installation directory and cpu flag if you need to specify it manually). Please notice that the configure script is now versionned. This is not 100% needed, but it should make life easier for normal users checking out from svn. So, please make sure that for every commit of configure.ac or Makefile.in you also update and commit configure!
-
- 12 Nov, 2009 2 commits
-
-
Mathias Bavay authored
The doxygen documentation has been updated: a few bugs were fixed (mismatch between prototype and method's header, mostly between std::XXX and XXX) and the main page has been created as well as several general pages.
-
Thomas Egger authored
-
- 11 Nov, 2009 3 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).
-
Thomas Egger authored
The MeteoFilter class instance is a private member of BufferedIOHandler - that way it only needs to be created once - the ConfigReader object is only parsed once ...
-
- 10 Nov, 2009 1 commit
-
-
Mathias Bavay authored
-
- 09 Nov, 2009 1 commit
-
-
Thomas Egger authored
A3DIO wasn't dealing with the specific nodata value coming from the meteo2D and 1D files properly. Now it converts -9999 correctly to IOUtils::nodata. CMake: problems with specifying colorgcc as default, commented the troublesome section, needs to be fixed
-
- 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
-
- 05 Nov, 2009 4 commits
-
-
Thomas Egger authored
-
Thomas Egger authored
MeteoFilter operates on static filter algorithms which are defined in FilterAlgorithms.* FilterProperties is a small helper class to declare properties of an Algorithm (e.g. how many data points it requires, ...) The new MeteoFilter system is utilized by class BufferedIOHandler. The old filter system is removed from Makefiles/CMake and the SVN directory. Legacy MeteoIO classes Meteo1DResampler and MeteoBuffer, which were solely required by the old filter system are also removed.
-
Laurent Winkler authored
-
Laurent Winkler authored
-
- 04 Nov, 2009 1 commit
-
-
Mathias Bavay authored
The file format supported by LegacyIO has been changed in order to match the one currently created by the version of ARPS in use at SLF. The code has been partially rewritten in a more C++ way (but still some work left to do in this area: specially the parsing)
-
- 03 Nov, 2009 2 commits
-
-
Mathias Bavay authored
The constructor for local grid in MapProj has been changed and its prototype modified. It should now make more sense and allow using LOCAL in io.ini like any other projection keyword. The code that was doing IO buffering in LegacyIO when POPC was used has been deleted (this is not the right place to do caching). A method prototype has been slightly tweaked (using const string instead of char*). Since Laws.c/h is already a file that is part of Snowpack and since making it a separate library does not make so much sense (it is quite small and only 3 short functions from it are used in MeteoIO), the necessary code has been transfered to libinterpol2D and these two files have been deleted. A warning in IOUtils has been silenced.
-
Mathias Bavay authored
The MapProj class has been improved: instead of selecting fast (or not) for distances calculations (as well as local grids), the user can directly select the algorithm (with keywords form an enum). A new constructor has been created specifically for local grid projections (taking "LOCAL" as well as lat and long for reference point). The MeteoData class has been fixed for popc (at least, I hope!)
-
- 02 Nov, 2009 3 commits
-
-
Mathias Bavay authored
All the code that has to do with geographic calculations (projections, conversions to/from swiss coordinates, geodesic distances, etc) has been moved to the MapProj class. An elegant solution for checking the Grid2DObject coordinates (lat/long against xcoord/ycoord) in underway... (almost there!) Includes issues have been found and fixed (IOInterface and Grid2DObjet.h)
-
Mathias Bavay authored
The geodesic angles have been changed so that we always use compass bearing (much more logical and consistent)
-
Mathias Bavay authored
The error handling of WGS84_to_grid has been improved: the grid coordinates (i,j) will always be set to safe values (ie: within the grid), but the return value is EXIT_FAILURE if it had to be truncated.
-
- 30 Oct, 2009 2 commits
-
-
Mathias Bavay authored
A new method has been added to IUtils: cosineInverse, that computes the position of a point (lat, long) given a starting point and an angle using the spherical law of cosine. This is used by the WGS84_to_local and local_to_WGS84 methods that now accept an optional argument, bool fast. If fast is enable, the spherical law of cosine is used, otherwise Vincenty. Two new method have been added to Grid2DObject: WGS84_to_grid and grid_to_WGS84 that allow getting the cell's coordinates (i,j) of a geographical position given by its (lat, long) (back and forth). This is specially useful in order to extract a sub-dem from: (lat, long) and (dist_x, dist_y) or (lat1, long1) (lat2, long2). Using the first method, the grid's coordinates can be computed (nx) and ceil(dist_x/cellsize_x) gives the ncols, thus providing the parameters for the sub-set constructor. Code tagging (HACK and TODO).
-
Thomas Egger authored
MeteoData enhancement: Two std::map objects associating a number and a string to each meteo parameter (ta, rh, iswr, hnw, ...) make it easy to simply loop over all parameters. A static const MeteoData::nrOfParameters holds the number of meteo parameters and an enum called 'Parameters' within MeteoData lists all implemented meteo parameters. This list will have to be updated when meteo parameters are added.
-
- 29 Oct, 2009 1 commit
-
-
Mathias Bavay authored
An error message that was tagged [I] has been retagged as [E] so the user might be a little more scared (in A3DIO.cc) A new constructor has been added to Date_IO (copy constructor). The necessary changes have been done to the autoconf files so that an new option has come: --with-proj4 (turned off by default). But the user of the library still has to add -lproj to his compiler command line (after the -lmeteoio).
-
- 28 Oct, 2009 2 commits
-
-
Thomas Egger authored
fixed the convertString function for strings - there was a special treatment of strings required by the old filter system, that is not required anymore and lead to problems parsing strings with the ConfigReader class.
-
Mathias Bavay authored
The Makefile.in has been modified so that a new keyword has been added for proj4. This is not yet user-friendly (and it might never be so, since we are moving to CMake instead) but at least it prepares a full, convenient integration. Mostly code clean up: removed some unnecessary comments.
-
- 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.
-
- 21 Oct, 2009 1 commit
-
-
Thomas Egger authored
Added another function to ConfigReader: findKeys. This function enables to search for certain keys in the key value map stored inside a ConfigReader object. e.g. findKeys(vecString, "TA::", "Filters"); //will return all keys starting with "TA::" in section [Filters]
-