The script Filtering_precipitation_readings.R in folder inst classify every precipitation measurement of tipping rain gauge in different class using additional parameters measured on the station. The script would like improve precipitation data quality based on paper ESOLIP, Mair et al.[1].
Section 1: in this section you can select inputs, for example the name of the station to process, the elevation, and the file of Climareport. See the example: /data/Climareport/Climareport.csv. Climareport is a csv who we can find information about weather in Vinschgau valley, derived from textual Climareport published by Province of South Tyrol. The file Climareport.csv distinguishes 4 possible events during a day (put the flag 1 to the events):
In this section the script require the information of variable names. Assign to precipitation, air_temperature , relative_humidity and radiatio string of names of corresponding variable measured in input file. This variables are required for an evaluation of precipitation
Section 2: here the script run the function ESOLIP_QC (in the file esqc_ESOLIP_quality_check.R in folder R) that classify the data measured by Tipping Rain Gauges using additional informations: wheather station parameters (e.g. as Air Temperature, Solar Radiation, ...), Climareport, and other experimental knowledge (e.g. improbable snow melting during summer, ...).
Section 3: in the previous section the algorithm generate an output that in this section are saved. There are two possibilities:
INPUT:
INPUT DATA FORMAT:
The files in folder /data/Input_data/ should be hourly aggregatedor hourly sampled and have:
OUTPUT:
ESQC_file.RData: in folder data/Output/Precipitation_metadata_RData/ an .RData file which contains:
Prec_Metadata_file.csv: in folder data/Output/Precipitation_metadata/Prec_Metadata/ a.csv file which contains a time series of ESOLIP metadata (See above esolip_data)
ESQC_Steps_file.csv: in folder data/Output/Precipitation_metadata/ESOLIP_QC_Steps/ a.csv file which contains a time series of steps results of ESOLIP alghorithm (See above esolip_events) More details about algorithm
Note: in the output names above the algorithm substitute automatically "file" with the name of station, setting in file <- "..." (INPUT 3)
Description of Precip_T_Int15_Metadata:
This new column is the result of ESOLIP_QC function. It could contain 7 value :
Open script Filtering_precipitation_readings.R and:
[1] Mair, E., Bertoldi, G., Leitinger, G., Della Chiesa, S., Niedrist, G., and Tappeiner, U.: ESOLIP - estimate of solid and liquid precipitation at sub-daily time resolution by combining snow height and rain gauge measurements, Hydrol. Earth Syst. Sci. Discuss., 10, 8683-8714, doi:10.5194/hessd-10-8683-2013, 2013.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.