WSL/SLF GitLab Repository

Commit 3451fd19 authored by Mathias Bavay's avatar Mathias Bavay
Browse files

Documentation fixes

parent 5cf5f9ad
......@@ -32,9 +32,9 @@ namespace mio {
* @author Mathias Bavay
* @date 2011-02-07
* @brief Tukey 53H method
* A smooth time sequence is generated from the median, substracted from the original signal and compared with the standard deviation.
* A smooth time sequence is generated from the median, substracted from the original signal and compared with the standard deviation.
* see <i>"Despiking Acoustic Doppler Velocimeter Data"</i>, Derek G. Goring and Vladimir L. Nikora, Journal of Hydraulic Engineering, <b>128</b>, 1, 2002
* THIS CODE IS NOT ACTIVE YET
* The deviation factor coeffecient is currently hard-coded as k=1.5
* @code
* Valid examples for the io.ini file:
* TA::filter1 = Tukey
......
......@@ -42,12 +42,12 @@ namespace mio {
* [Filters]
* TA::filter1 = min_max
* TA::arg1 = 230 330
*
*
* RH::filter1 = min_max
* RH::arg1 = -0.2 1.2
* RH::filter2 = min_max
* RH::arg2 = soft 0.0 1.0
*
*
* HNW::filter1 = min
* HNW::arg1 = -0.1
* HNW::filter2 = min
......@@ -62,7 +62,7 @@ namespace mio {
* - MIN_MAX: range check filter, see FilterMinMax
* - MIN: minimum check filter, see FilterMin
* - MAX: maximum check filter, see FilterMax
* - STD_DEV: reject data outside mean +/- k*stddev, see FilterAlgorithms::StandardDeviationFilter
* - STD_DEV: reject data outside mean +/- k*stddev, see FilterStdDev
* - mad: median absolute deviation, see FilterAlgorithms::MedianAbsoluteDeviationFilter
* - TUKEY: Tukey53H spike detection, based on median, see FilterTukey
*
......@@ -99,7 +99,7 @@ ProcessingBlock* BlockFactory::getBlock(const std::string& blockname, const std:
if (availableBlocks.find(blockname) == availableBlocks.end())
throw UnknownValueException("The processing block '"+blockname+"' does not exist" , AT);
if (blockname == "MIN"){
return new FilterMin(vec_args);
} else if (blockname == "MAX"){
......@@ -119,7 +119,7 @@ ProcessingBlock* BlockFactory::getBlock(const std::string& blockname, const std:
} else if (blockname == "TUKEY"){
return new FilterTukey(vec_args);
} else {
throw IOException("The processing block '"+blockname+"' has not been declared! " , AT);
throw IOException("The processing block '"+blockname+"' has not been declared! " , AT);
}
//return NULL; //unreachable code
......
......@@ -71,10 +71,10 @@ class SNIO : public IOInterface {
void convertUnits(MeteoData& meteo);
void convertUnitsBack(MeteoData& meteo);
double cloudiness_to_ilwr (const double& RH, const double& TA, const double& cloudiness );
void parseMeteoLine(const std::vector<std::string>& vecLine, const std::string& filepos,
void parseMeteoLine(const std::vector<std::string>& vecLine, const std::string& filepos,
const Date& dateStart, const Date& dateEnd, MeteoData& md);
bool readStationMetaData(const std::string& metafile, const std::string& stationname, StationData& sd);
void readMetaData(unsigned int& nrOfStations);
void readMetaData(size_t& nrOfStations);
void parseMetaDataLine(const std::vector<std::string>& vecLine, StationData& sd);
void cleanup() throw();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment