WSL/SLF GitLab Repository

Skip to content
Snippets Groups Projects
Commit 4468ef25 authored by Mathias Bavay's avatar Mathias Bavay
Browse files

A new processing element has been added: HNW_DISTRIBUTE. This distributes...

A new processing element has been added: HNW_DISTRIBUTE. This distributes accumulated precipitation over a number of preceeding time steps. This is useful, for example, when one has an hourly file that contains 24 hours sums of precipitation, written as nodata for all time steps and the accumulation on the last time step of the 24 hours period. Since this is implemented as a filter, it is then possible to also add an undercatch correction (and don't forget to re-accumulate anyway in the resampling methods!).
parent be65a6c4
No related branches found
No related tags found
No related merge requests found
......@@ -16,6 +16,7 @@ SET(meteofilters_sources
meteofilters/ProcButterworth.cc
meteofilters/ProcUnventilatedT.cc
meteofilters/ProcUnshade.cc
meteofilters/ProcHNWDistribute.cc
meteofilters/ProcUndercatch_WMO.cc
meteofilters/ProcUndercatch_Hamon.cc
meteofilters/ProcUndercatch_Forland.cc
......
......@@ -32,6 +32,7 @@
#include <meteoio/meteofilters/ProcUndercatch_WMO.h>
#include <meteoio/meteofilters/ProcUndercatch_Forland.h>
#include <meteoio/meteofilters/ProcUndercatch_Hamon.h>
#include <meteoio/meteofilters/ProcHNWDistribute.h>
#include <meteoio/meteofilters/ProcUnventilatedT.h>
#include <meteoio/meteofilters/ProcUnshade.h>
#include <meteoio/meteofilters/ProcAdd.h>
......@@ -101,6 +102,7 @@ namespace mio {
* - UNDERCATCH_FORLAND: Forland1996 rain gauge correction for solid and liquid undercatch, using various correction models, see ProcUndercatch_Forland
* - UNDERCATCH_HAMON: Hamon1973 rain gauge correction for undercatch, see ProcUndercatch_Hamon
* - UNVENTILATED_T: unventilated temperature sensor correction, see ProcUnventilatedT
* - HNW_DISTRIBUTE: distribute accumulated precipitation over preceeding timesteps, see ProcHNWDistribute
*
*/
......@@ -138,6 +140,8 @@ ProcessingBlock* BlockFactory::getBlock(const std::string& blockname, const std:
return new ProcUndercatch_Forland(vec_args, blockname);
} else if (blockname == "UNDERCATCH_HAMON"){
return new ProcUndercatch_Hamon(vec_args, blockname);
} else if (blockname == "HNW_DISTRIBUTE"){
return new ProcHNWDistribute(vec_args, blockname);
} else if (blockname == "UNVENTILATED_T"){
return new ProcUnventilatedT(vec_args, blockname);
} else if (blockname == "UNSHADE"){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment