- 10 Nov, 2014 1 commit
-
-
Mathias Bavay authored
Some fixes to make MeteoIO compile with Visual C++ 2013. The linker still complains about exported symbols (this also generate lots of warnings), but all the other issues have been fixed.
-
- 01 Oct, 2014 1 commit
-
-
Mathias Bavay authored
The grids.isEmpty() method has been renamed as empty() in order to follow the STL convention. The ARC grids written with Alpine3D naming were still not properly named, they should now be directly recognized by the Alpine3D grid viewer.
-
- 25 Aug, 2014 1 commit
-
-
Mathias Bavay authored
The basic operators have been implemented in Grid2DObject and Grid3DObject as well as DEMObject (with the proper update strategy). In order to suppress the risk of out of date "ncols, nrows" and since these were redundant with Array2D<>.nx/ny, they have been suppressed and it is therefore now mandatory to rely on the getNx/getNy/getNz getters. This is much safer but impacted quite a lot of code...
-
- 12 Aug, 2014 1 commit
-
-
Mathias Bavay authored
better file structure: all the classes purely focused on data storage (such as grids, dates, etc) have been moved into a "dataClasses" directory. All subdirectories are nhow named similarly to the classes and methods: the words after the first one are capitalized.
-
- 31 Jul, 2014 1 commit
-
-
Mathias Bavay authored
-
- 27 Jul, 2014 1 commit
-
-
Thomas Egger authored
DEMObject: need to call the << >> operator of the parent class Grid2DObject in own operator<< and operator>>
-
- 17 Jun, 2014 1 commit
-
-
Mathias Bavay authored
Two new methods for data binning have been added to libinterpol1D. The krigging now works properly with either an empirical variogram or a variogram computed on the last 3 days of data (the later being currently enabled). But a proper caching of meteo grids will have to be implemented!
-
- 17 Mar, 2014 1 commit
-
-
Mathias Bavay authored
Added more flexibility for 2D resampling: it is now possible to resample an Array2D with different x and y factors. Improved the hillshade call in DEMObject.
-
- 17 Jan, 2014 1 commit
-
-
Mathias Bavay authored
-
- 28 Oct, 2013 1 commit
-
-
Mathias Bavay authored
The filters have been slightly simplified, some IOUtils functions optimized (after reading an interesting post about the handling of rvalues), a bug fixed in PNGIO on Windows, the macros MAX and MIN are not used anymore (relying on std::max and std::min instead). A new data generator is on its way to generate HNW from HS differences (but this will require architectural changes to the DataGenerator).
-
- 05 Oct, 2013 1 commit
-
-
Mathias Bavay authored
Fixing some warnings for Visual C++ and also using ostringstream instead of stringstream when appropriate
-
- 13 Sep, 2013 2 commits
-
-
Mathias Bavay authored
-
Mathias Bavay authored
-
- 13 May, 2013 1 commit
-
-
Mathias Bavay authored
A typo had slipped through the last commit for Array4D. The Corripio slope computation was till wrong, this has finally been fixed and checked. The slope default algorithm selection was not kept through BufferedIOHandler, this has been fixed. Moreover, unecessary copies of grids were being made in BufferedIOHandler and have been removed. The tests that were not passing anymore because of the slope changes have been updated, including improved error reporting in dem_reading.
-
- 10 May, 2013 1 commit
-
-
Mathias Bavay authored
Removed an unnecessary include and fixed the Corripio slope algorithm that was not properly implemented (following the paper, it was not centered on the cell. It has been rewritten to be centered).
-
- 18 Apr, 2013 1 commit
-
-
Mathias Bavay authored
-
- 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()".
-
- 30 Jan, 2013 1 commit
-
-
Mathias Bavay authored
The estimation of the average sampling rate was quite wrong: it was not correct for multiple stations or for partially empty buffers (ie giving an end date way beyond the real end of the data). It was also claiming to return a value in 1/s but instead it was 1/days. This now only takes into account the time interval when there is some data and properly handles multiple stations and returns a value in Hz (or 1/s). The documentation has been expanded. Also some code cleanup (constification).
-
- 02 Nov, 2012 1 commit
-
-
Mathias Bavay authored
-
- 29 Oct, 2012 1 commit
-
-
Mathias Bavay authored
-
- 20 Jun, 2012 1 commit
-
-
Mathias Bavay authored
The MeteoData == operator now compares with an epsilon. The chekEpsilonEquality function has been rewritten, according to best practise and inlined. The powN functions have been moved to MathOptim and inlined. This makes the benchmarks 2% faster, that's such a victory...
-
- 11 Jun, 2012 1 commit
-
-
Mathias Bavay authored
Since the autotools are obsolete (and unmaintained) in MeteoIO, they have been removed. The popc++ version can be compiled with cmake (with some tricks: disable GSN and force the compiler to popcc). For consistency, the various definitions of ot_deg and to_rad have been suppressed and replaced by Cst::to_deg or Cst::to_rad. Some mentions of the Earth's radius have been replaced by Cst::earth_R0. In Coords, some variables have been declared as const.
-
- 03 May, 2012 1 commit
-
-
Mathias Bavay authored
The Passive_T filter has been reworked and renamed as ProcPassiveT. A proper documentation has been written for it. All the cout have been replaced by cerr in order to avoid messing with the end user's application. Some old commented out code has been removed.
-
- 19 Jan, 2012 1 commit
-
-
Mathias Bavay authored
Since the _USE_MATH_DEFINES for Windows was making trouble (it should have enabled using M_PI), the basic math constants have been added to meteolaws/meteoconst.h. Now, please use things like Cst::PI and include meteoconst.h.
-
- 31 Oct, 2011 1 commit
-
-
Mathias Bavay authored
Because POPC does not properly support std::cout and requires cout instead, this has been fixed in the code, with the necessary "using namespace" added. Only one std::cout remains (in IOUtils) and will be removed if absolutely necessary later.
-
- 04 Jul, 2011 1 commit
-
-
Mathias Bavay authored
The slope calculation in DEMObject was not nodata-compliant because of a bug. This has been fixed. The installation by components (cpack) was not working properly, this has been fixed (capitalization of the components' names). A welcome info has been added (this is a plus for some installer generated by cpack).
-
- 24 Jun, 2011 1 commit
-
-
Mathias Bavay authored
Fixed a doxygen warning on Windows, pushed version number to 2.1.0 (because 2.0.1 would not make any sense anymore). This version should be the 2.1.0 release.
-
- 16 Jun, 2011 1 commit
-
-
Mathias Bavay authored
The nodata handling strategy was not thoroughly implemented: aritmetic operators were not compliant. In order to fix it, a property now records how to handle nodata for each object. A setter method is available. All operations now properly handle it. The Grid2D and Grid3D objects now have a (x,y) and (x,y,z) method for direct access to their gridded values. This should make it easier to switch a Grid object with an Array in a piece of code. With the latest changes in CMakeLists, the examples could not be built anymore. This has been fixed in the examples Makefile (but the io.ini plugin path stil has to be fixed).
-
- 21 Mar, 2011 1 commit
-
-
Mathias Bavay authored
First batch of fixes for issue 68 (variable names starting with "_" invalid for some versions of Visual C++)
-
- 10 Mar, 2011 1 commit
-
-
Mathias Bavay authored
More fixes for Visual C++ (but not all done yet) as well as new assignments operators for 1d, 2d, 3d arrays. It is now possible to do something like my2Dgrid.grid2D = 2.; and every cell will be filled with 2.
-
- 09 Mar, 2011 1 commit
-
-
Mathias Bavay authored
In SNIO, the METAFILE can now be optional (which means that the metadata remain nodata, the user has therefore to fill them himself). This is used by Snowpack. After the Visual C++ compilation log from Raphael, some changes have been implemented: lots of warnigs about signed/unsigned fixed, some unreachable code removed, and some methods reimplemented for Windows. We are not there yet, but moving closer...
-
- 27 Aug, 2010 1 commit
-
-
Mathias Bavay authored
-
- 26 Aug, 2010 1 commit
-
-
Mathias Bavay authored
This is the initial commit of the horizon functionnality for DEMs as coded by Fabienne Lanini. Some cleanup will still be required though...
-
- 23 Aug, 2010 1 commit
-
-
Mathias Bavay authored
The DEM object now calculates slope and azimuth in degrees. This is more consistent with the usage of bearings in degrees and of trigonometric angles in radiants. A missing file has been added to the autotools compilation. A better comparison is performed for Coords objects.
-
- 11 Aug, 2010 1 commit
-
-
Mathias Bavay authored
The array memory alignement has been fixed for Array2D (this was the only that was wrongly aligned). This is a fix to issue 43
-
- 10 Aug, 2010 1 commit
-
-
Mathias Bavay authored
The bufferAlways method of BufferedIOHandler has been renamed as setBufferProperties. The A3DIO, IMISIO, SMETIO and SNIO plugins now correctly support time zones. The plugin howto documentation now warns the developer to take care of time zones issues.
-
- 03 Aug, 2010 1 commit
-
-
Mathias Bavay authored
The DEMObject subset constructor was broken, it has been fixed. It involved creating a subset method in the arrays classes. The Coord class now supports using the given UTM zone when converting from lat/long to UTM. If the computed zone does not match the one requested in the io.ini, it prints a warning but uses the user-supplied zone. A first implementation of readStationData for SMETIO has been done. Some documentation has been added for plugin development
-
- 21 Jul, 2010 1 commit
-
-
Mathias Bavay authored
The DEMObject can now be configured to automatically calculate slope/azimuth and/or normals and/or curvature (or none) by setting a few flags. The installation has been improved (compiling the plugins in their own directory helps)
-
- 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
-
- 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.
-