- 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.
-
- 22 Oct, 2010 1 commit
-
-
Cyril Perot authored
Add operator()(const int&) to Array2D, to have a more direct access to the vector of values (skips i*j operation)
-
- 16 Aug, 2010 1 commit
-
-
Mathias Bavay authored
-
- 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
-
- 03 Aug, 2010 2 commits
-
-
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
-
Thomas Egger authored
-
- 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
-
- 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
-
- 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).
-
- 26 Mar, 2010 2 commits
-
-
Thomas Egger authored
-
Thomas Egger authored
-
- 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)
-
- 30 Oct, 2009 1 commit
-
-
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).
-
- 18 Sep, 2009 1 commit
-
-
Mathias Bavay authored
The IOHandler.h and .ph have been made more similar (like using the same typedef in the .h even if not fully needed, etc). The isSameGeolocalization method has been improved (comparing with an epsilon on lat/long) and added also to Grid3DObjects. A few minor fixes: comments and white spaces.
-
- 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 3 commits
-
-
Thomas Egger authored
* Changed nomenclature in CArray2D<T> to reflect STL conventions: GetSize() renamed to size() Create() renamed to resize() Destroy() renamed to clear()
-
Thomas Egger authored
Propagating the subset (subplane) constructor of Array2D into Grid2DObject and DEMObject. Small bugfix in Grid3DObject regarding the calculation of xllcorner and yllcorner.
-
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
-
- 20 Jul, 2009 2 commits
-
-
Thomas Egger authored
Grid2DObject and DEMObject: small fix of constructors and member function parameters.
-
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.
-
- 16 Jul, 2009 1 commit
-
-
Mathias Bavay authored
A small warning has been fixed in the Inverse Vincenty calculation (possibly uninitialized value, but extremely remote possibility). The warnings for the marshalling functions have been fixed. Please check that it makes sense!
-
- 10 Jul, 2009 1 commit
-
-
Laurent Winkler authored
-
- 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 2 commits
-
-
Moustafa Mbengue authored
The whole library has been given its new name and several classes have been renamed in order to better match their purpose. The Makefile has been modified accordingly.
-
Mathias Bavay authored
-