- 23 Mar, 2011 1 commit
-
-
Mathias Bavay authored
The Array::getAbs() and abs() methods were not offering nodata handling, this has been fixed. A new getSum() method has been implemented for arrays (with proper choice of nodata handling)
-
- 21 Mar, 2011 2 commits
-
-
Mathias Bavay authored
First batch of fixes for issue 68 (variable names starting with "_" invalid for some versions of Visual C++)
-
Mathias Bavay authored
The Arrays now skip some unecessary tests in resize(). Since the arguments are unsigned, there can not be any negative size! This also now allows setting size to 0. A new "operator" has been added to get the absolute value of an array. This unfortunatelly generate a warning for unsigned arrays despite that the necessary signedness test is performed. This warning will have to be disabled one way or another. The example data set has been brought back to SMET version 1.1
-
- 18 Mar, 2011 1 commit
-
-
Christine Groot Zwaaftink authored
The getMin(), getMax() and getMean() Array3D methods were not working. This has been fixed. The Array2D::getMean() method has been slightly simplified
-
- 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).
-
- 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.
-
- 26 Jan, 2011 1 commit
-
-
Mathias Bavay authored
A new group of classes has been created, under the meteolaws subdirectory. This contains various general meteorological laws, such as a sun radiation model, standard atmosphere, etc The first implementation (not tested yet) of a non-linear least square fit algorithm has been implemented in the libfit1D. Several documentation issues have been fixed (obsolete code examples, etc) and classes grouped by modules. This should help the user to quickly locate the classes of interest.
-
- 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 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
-
- 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.
-
- 12 Apr, 2010 1 commit
-
-
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!
-
- 07 Apr, 2010 1 commit
-
-
Mathias Bavay authored
The arrays and grids now have a "print" method that prints their content to screen (usefull for debugging). The Coords class also has this method (as required to print the grid objects). A "using namespace std" was found in ImisIO.h and has been removed. A few comments/indentation/clean up have been done (including in the doc/examples) The quality rating sorting was broken and has been fixed. The RH interpolation method was not properly working and has been fixed (using the wrong vector for input data). The naming of the number of stations to be used has been made more consistent between the various algorithms and an improved information output has been added.
-
- 01 Apr, 2010 1 commit
-
-
Mathias Bavay authored
The array operators have been added to Array, Array2D and Array3D. Grid2/3DObject also have their assignment operator. The IOHandler headers (.h and .ph) have been slightly reorganized so that they look as similar as possible (makes toubleshooting easier) The ARCIO plugin has been slightly reverted so that it outputs float grids (even if some tools require INT, we NEED floats in our outputs).
-
- 10 Feb, 2010 1 commit
-
-
Mathias Bavay authored
New methods have been added/updated in the Arrays (1D, 2D, 3D): getMin, getMax and getMean. They accept an optional argument (either RAW_NODATA or PARSE_NODATA) that tells how to interpret nodata values (as normal values or really as nodata). The dem usage example code has been improved in order to show more capabilities.
-
- 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)
-
- 10 Sep, 2009 1 commit
-
-
Mathias Bavay authored
Tow methods for getting the min and the max value out of a matrix have been added to Array, Array2D and Array3D. The updateAllMinMax of DEMBoject has been updated to rely on that instead of doing it by itself. The doxygen comments of DEMObject have been fixed and the config.dox (doxygen configuration file) has been fixed (it was not processing .cc files). A new (private) methods has been added to DEMObject: safeGet(i,j) that returns a grid value for any (i,j) (so nodata if outside of the grid). This could be the right strategy for correctly computing slope/curvature on the dem even in the case of "holes" in the dem... (to be continued...)
-
- 22 Jul, 2009 2 commits
-
-
Thomas Egger authored
* Changed all function arguments from int to "unsigned int" in CArray2D<T> * Had to change Grid2DObject and Meteo2DInterpolator to reflect the changes
-
Thomas Egger authored
Grid3DObject is an object that encapsulates an Array3D<double> object much like Grid2DObject for CArray2D<double> objects. Changes to Array3D<T>: * new constructor that copies a subspace of a given Array3D<T> object into the newly created one
-
- 20 Jul, 2009 3 commits
-
-
Thomas Egger authored
Grid2DObject and DEMObject: small fix of constructors and member function parameters.
-
Thomas Egger authored
-
Thomas Egger authored
1) Array3D implemented on basis of std::vector<T> with two Proxy classes in order to allow T[x][y][z]-like element access; the preferred way though is per T(x,y,z). 2) Removed the "operator=" in Array.h, Array2D.h and Array3D.h: it was rendered unnecessary due to the internal data members. the generic copy constructor and operator= implementations are sufficient. 3) Remove all deconstructors in Array.h, Array2D.h and Array3D.h: default deconstructors are sufficient.
-
- 28 May, 2009 1 commit
-
-
Moustafa Mbengue authored
Nothing special, just some re-indentation in order to make the code lines clear and easy to run and understand.
-
- 26 May, 2009 1 commit
-
-
Mathias Bavay authored
-