- 28 Jun, 2010 1 commit
-
-
Thomas Egger authored
Added new plugin for WSMDF format. gzipped version of format currently not supported. binary version works, but since the julian date does not fit into a 4 byte (32bit) float, it is unusable. ASCII format works, although unit_multiplier and unit_offset are currently not supported. For location information the easting, northing version is not yet supported. Added function IOUtils::stripComments(string&) it, deletes everything after # or ; from the string&
-
- 26 Jun, 2010 2 commits
-
-
Thomas Egger authored
Implementation of binary search in IOUtils::seek(date, vecMeteo) - therefore the implementation of seek in BufferedIOHandler became obsolete. BufferedIOHandler now fully relies on IOUtils::seek and IOUtils::npos.
-
Thomas Egger authored
The new filtering and resampling framework. Filtering/Processing and Resampling have been separated from each other, the Resampling is now done with the class Meteo1DInterpolator which utilizes the static algorithms within ResamplingAlgorithms. The filtering remains a task of class MeteoFilter. The calling of the resampling and filtering as well as the data selection is now based in the facade class MeteoProcessor. MeteoProcessor::processData function calls the filtering algorithms, then passes the filtered data to the resampling algorithms and finally runs a "check only" filtering pass. The filtering system underwent some changes in order to simplify the tasks at hand, the interface has changed. The RateFilter is currently disfunctional, needs to be reimplemented.
-
- 25 Jun, 2010 3 commits
-
-
Mathias Bavay authored
-
Mathias Bavay authored
The bug that was preventing the POPC version to build has been fixed (an unecessary space was present between the "-I" and the include path). The obsolete createA3DFiles has been deleted.
-
Thomas Egger authored
ImisIO ran into troubles with oracle when requesting a date with the hour set to 24 (ORACLE only accepts values from 0 to 23), thus a small fix needed to be applied.
-
- 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
-
- 22 Jun, 2010 1 commit
-
-
Mathias Bavay authored
-
- 21 Jun, 2010 5 commits
-
-
Thomas Egger authored
Update to process LWR and Cloudiness within SNIO correctly. If Cloudiness is set, the ILWR will be calculated by using claudiness, relative humidity and air temperature.
-
Thomas Egger authored
-
Thomas Egger authored
-
Thomas Egger authored
-
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
-
- 17 Jun, 2010 2 commits
-
-
Thomas Egger authored
Added the exponential smoothing filter "exp_smoothing" and rewrote the "mean_avg" and "median_avg" filter to calculate the mean and median for every element within vecFilteredM. Usage of the new filter: HS::filter1 = exp_smoothing HS::arg1 = soft left 1 7200 0.6 The last argument specifies the smoothing factor alpha, the other arguments steer the window calculation (in this case a left leaning window with at least 1 data point spanning 7200 minutes.
-
Mathias Bavay authored
A new plugin has been introduced: PGMIO that reads/writes PGM graphic files as 2D grids. (using the template plugin, it took less than 30 minutes for implementing the write2Dgrid!!) More documentation has been updated/added, the template plugin has been fixed for some issues, the example io.ini shows more plugins usage.
-
- 16 Jun, 2010 2 commits
-
-
Thomas Egger authored
-
Thomas Egger authored
Added a function that seeks for a given date within a vector of MeteoData. There are two modes of operation, depending on a boolean argument (true per default value): 1) the date must exactly match one within the vector 2) the date doesn't have to exactly match up, in that case the vector must "contain" the date given an the index returned is for the first element of the vector with the a date greater than the one sought for. In case of failure, the function returns IOUtils::npos Added a missing include in ARPSIO.h
-
- 15 Jun, 2010 2 commits
-
-
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.
-
Mathias Bavay authored
LegacyIO has now finally been removed!! (Hurrah! Freedom!). This version has also a few hacks so that it successfully compiles with POPC (there were still issues with the namespaces)
-
- 14 Jun, 2010 1 commit
-
-
Mathias Bavay authored
General cleanup: the time.cc example sets a timezone variable, an unnecessary "mio::" has been removed in Coords, and two template files have been added to help plugin development (and mentionned in the documentation). The cmake targets have been changed into "safe", "optimized", "par" and "hera". (the later being specific for the hera cluster).
-
- 09 Jun, 2010 7 commits
-
-
Thomas Egger authored
-
Thomas Egger authored
-
Thomas Egger authored
-
Thomas Egger authored
Small improvement for class Coords: the std::map objects to_wgs84 and from_wgs84 are static from now on.
-
Thomas Egger authored
-
Thomas Egger authored
New interpolation interface: Now the 1D interpolation can be configured by the user through an own section in io.ini: [Interpolations1D] TA::resample = linear TA::args = extrapolate RH::resample = nearest_neighbour HNW::resample = no P::resample = linear Currently two algorithms are implemented: linear interpolation and nearest_neighbour interpolation. The interpolation can be switched off explicitly by P::resample = no The default remains linear resampling, however the linear resampling may not only resample within bounds (interpolate), but also out of bounds (extrapolate), this needs to be configured with the resampling algorithm argument "extrapolate" as seen in the example above.
-
Thomas Egger authored
-
- 08 Jun, 2010 1 commit
-
-
Mathias Bavay authored
The support for true ARPS ascii grids (as coming out of ARPS) has been implemented. Now the plugin can transparently identify if the grid has been modified by ARPSGRID or not and curreclty load it is any case.
-
- 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
-
- 03 Jun, 2010 1 commit
-
-
Mathias Bavay authored
The first version of an ARPSIO plugin has been written, largely based on the code of LegacyIO. This plugin is mostly non-fonctional (besides reading DEM) because most of the concepts of ARPS files are foreign to MeteoIO... Finishing it will require carreful thinking and brilliant ideas! (the biggest issues have to do with the irregular grids that are a usual feature of ARPS files). A warning has been silenced until we finish the implementation of the USER interpolation algorithm (reading user provided grids).
-
- 02 Jun, 2010 1 commit
-
-
Mathias Bavay authored
Some commented out code has been removed. The check for the projection of the stations compared to the projection used for the DEM has been re-activated (it MUST be active!). The first implementation of a custom grid "interpolation" method has been done (issue 50) but can not be used: we need access to an IOHandler in order to properly read grids provided by the user. Otherwise, the rest of the code for it has been written and tested.
-
- 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).
-
- 27 May, 2010 2 commits
-
-
Mathias Bavay authored
When using A3DIO for writing, the files are now correctly split by years. The OUTPATH user parameter was previously not used, this has been fixed. In IMISIO, the query size limitation has been removed. A data format converter using MeteoIO has been added to the examples.
-
Mathias Bavay authored
-
- 26 May, 2010 3 commits
-
-
Thomas Egger authored
-
Thomas Egger authored
METEO = SNOWPACK NROFSTATIONS = 1 METAFILE = input/IMIS_Extracted_Info.txt STATION1 = DAV1 METEOFILE1 = /home/thoems/Desktop/snowpack_ref/validation/trunk/snowpack/mst2006/MST06_RR.inp The parameters NROFSTATIONS, METAFILE, STATION# and METEOFILE# are obligatory. A little bug in GEOtopIO lead to the copying of the tss value to tsg. The MeteoData::HS snow height is internally represented in meters.
-
Mathias Bavay authored
The A3DIO plugin now has a writeMeteo() method. It writes all timesteps, even if truncating the timestamp to the hour. It also assumes that all stations have synchronized timesteps (ie: reading the timesteps for the first station is enough). It can also not handle metadata that change over time and it does not split 2D files per years...
-
- 06 May, 2010 3 commits
-
-
Mathias Bavay authored
-
Mathias Bavay authored
Some uncommitted fixes to the documentation are now committed. Hopefully all the namespace issues (ie: broken links) are now fixed!
-
Thomas Egger authored
Removed the STATION key from the io.ini. the readStationData function of the plugins relies on the METEO key for choosing the data source.
-