- 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...)
-
- 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).
-
- 07 Jan, 2011 1 commit
-
-
Mathias Bavay authored
The documentation and examples have been updated to reflect the latest changes in MeteoIO (namely: the merging of MeteoData with StationData). A documentation bug has been fixed, that involved deleting the doxygen comments for the commented "clone()" method in IOInterface. Since this is not used anywhere and has been commented out for a while, this method has been fully deleted. Meteo2DInterpolator now has its own << operator for debugging purposes.
-
- 09 Dec, 2010 1 commit
-
-
Thomas Egger authored
The changes to the IOInterface (no more vec<vec<StationData>>) have been propagated into all plugins.
-
- 04 Aug, 2010 1 commit
-
-
Mathias Bavay authored
-
- 26 Jul, 2010 1 commit
-
-
Thomas Egger authored
-
- 19 Jul, 2010 1 commit
-
-
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.
-
- 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
-
- 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 1 commit
-
-
Mathias Bavay authored
Some uncommitted fixes to the documentation are now committed. Hopefully all the namespace issues (ie: broken links) are now fixed!
-
- 26 Apr, 2010 1 commit
-
-
Mathias Bavay authored
Cosmetic changes: documentation in MeteoData, comment in ARCIO. Plus more variables are read by BormaIO.
-
- 22 Apr, 2010 1 commit
-
-
Thomas Egger authored
Changed the interface of MeteoData, the setter function now can be invoked like setData(MeteoData::TA, 280.7); the old setter function and the old constructor have been removed and the changes were propagated into the plugins
-
- 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.
-
- 15 Apr, 2010 1 commit
-
-
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
-
- 13 Apr, 2010 1 commit
-
-
Thomas Egger authored
changed the way we deal with the projection parameters within the io.ini. COORDSYS must be declared in the [Input] section and is optional for the [Output] section (it becomes mandatory if a function is to be used, that creates output) The parsing of the ConfigReader object is done in IOUtils, this is not the final solution on that.
-
- 12 Apr, 2010 2 commits
-
-
Mathias Bavay authored
The long wave radiation parameter is now ILWR instead of LWR (since some might have net long wave and this is also closer to short wave (with ISWR)).
-
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!
-
- 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)
-
- 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).
-
- 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 2 commits
-
-
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!!).
-
Mathias Bavay authored
The write2DGrid members of the plugins now use the features of the Coords object to output the grid in the input coordinate system (as specified in the io.ini file). A copy of the Coords object is made, so that it does not change the given grid. This is fixing issue 3
-
- 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
-
- 18 Feb, 2010 1 commit
-
-
Mathias Bavay authored
The constructor Coords(ConfigReader) was a bad idea... Convenient, but way too specific. It has been removed. The documentation in the Coords class has been updated. A saner handling of nodata values by the plugins has been implemented. Now, each plugin should properly get its own internal definition of nodata and return data using IOUtils::nodata to the caller. A new method has been implemented in IOUtils to help cleaning a parameter for nodata. A check for xmlParseFile (used for compiling the Boschung plugin) was working poorly and has been commented out in configure.ac. Finally, more cleanup in the ph files has been performed.
-
- 17 Feb, 2010 1 commit
-
-
Mathias Bavay authored
The new Coords object is now used by all grids (Grid2DObject, Grid3DObject, DEMObject) as well as by all plugins (but checking proper operation was not possible for GSNIO because of missing libraries on my system...). The documentation has been updated as well as the code examples. A few extra methods have been added when usage has shown the need/convenience of having them (specially for standardazing some processing called by the plugins). A few small bugs have been fixed (possibility of not updating or improperly updating the coordinates in some rare cases). The proper marshalling for Grid3DObject has been implemented (it was more or less a dummy method until now). One bug has been fixed for Proj4 support. The code of most of the plugins has been cleaned up in order to get rid of the few remaining "using namespace" in header files.
-
- 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).
-
- 19 Jan, 2010 1 commit
-
-
Mathias Bavay authored
A mistake has been found in BoschungIO: the key for precipitation was wrong (we were reading the precipitation type as a precipitation amount, which was quite bad for the simulation!). A few missing cases of nodata have been identified (thanks Cyril!) and fixed in libinterpol2D
-
- 13 Jan, 2010 1 commit
-
-
Mathias Bavay authored
The successfull call of MeteoIO from Java has been implemented by Cyril Perot but needed a few adjustments in MeteoIO. This commit makes the said adjustments: a few more "#ifdef _POPC_", a missing ConfgReader.addKey(key, section, value) and some previously private members of Meteo2DInterpolator now exposed. The plugin unloading sections have been protected by ifndef _METEOIO_JNI because the current implementation of such Java integration uses JNI and does its own plugin loading/unloading.
-
- 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).
-
- 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.
-
- 07 Aug, 2009 2 commits
-
-
Thomas Egger authored
* Complete rewrite of IOHandler: Now it is very easy to add new plugins (adding one line), all the internals (allocation, loading, deleting, loading the right plugin for each IOInterface function) are transparently done. * changed one parameter in readMeteoData to const unsigned int& from unsigned int. Therefore all children of IOInterface needed to undergo that change
-
Thomas Egger authored
Date(const time_t&); setDate(const time_t&); and a getter function: time_t getEpochTime() returning a time_t type date. time_t is defined in the <ctime> and holds the seconds, that have passed since 00:00 Jan 1 1970 (UTC) Example usage: Date_IO mydate(time(NULL)); //create Date_IO object for current time.
-
- 28 Jul, 2009 2 commits
-
-
Thomas Egger authored
* had to propagate changes into all children of IOInterface
-
Thomas Egger authored
* Moved BoschungIO into the plugins folder and adapted it to work with the new IOInterface
-
- 23 Jul, 2009 1 commit
-
-
Mathias Bavay authored
Ok, this is the correct implementation of what I tried to do in the previous commit... Now, the Meteo2DInterpolator can take either Array2D<double> or Grid2DObjects as tables to fill. The overloading of the Write2DGrid has therefore been suppressed: since Grid2DObjects are geography-friendly, they should be used in our applications instead of Array2D (that should be reserved for internal implementation of objects). So, this is mostly reverting to the code before the last commit, with a few extra lines of code to do the magic...
-