SlideShare a Scribd company logo
1 of 6
Download to read offline
Bancheri and Formetta
LINKERS
JGrass-NewAGE: RainSnowSeparation
component
Marialaura Bancheri*†
and Giuseppe Formetta†
*
Correspondence:
marialaura.bancheri@unitn.it
Dipartimento di Ingegneria Civile
Ambientale e Meccanica, Trento,
Mesiano di Povo, Trento, IT
Full list of author information is
available at the end of the article
†
Code Author
Abstract
These pages teach how to run the rain-snow separation component inside the OMS 3
console. Some preliminary knowledge and installation of OMS is mandatory (see @Also
useful). This component deals with the detection of the rainfall and snowfall in the
total precipitation. It uses the approach proposed by Kavetski et al. (2006), based on a
smoother filter for thresholds on temperature. The component can be used with both
raster inputs and punctual inputs. It is perfectly integrated in the system and its
outputs can be the inputs of different components, e.g. the snow component (1)
@Version:
0.1
@License:
GPL v. 3
@Inputs:
• Total precipitation (mm);
• Air temperature (◦
C);
• αr (−);
• αs (−);
• m1 (−);
@Outputs:
• Rainfall (mm);
• Snowfall (mm).
@Doc Author: Marialaura Bancheri
@References:
• See References section below
Keywords: OMS; JGrass-NewAGE Component Description; rain-snow separation
Bancheri and Formetta Page 2 of 6
Code Information
Executables
This link points to the jar file that, once downloaded can be used in the OMS console:
https://github.com/GEOframeOMSProjects/OMS_Project_RainSnowSep/tree/master/
lib
Developer Info
This link points to useful information for the developers, i.e. information about the code
internals, algorithms and the source code
https://github.com/geoframecomponents
Also useful
To run JGrass-NewAGE it is necessary to know how to use the OMS console. Information
at: ”How to install and run the OMS console”,
https://alm.engr.colostate.edu/cb/project/oms).
JGrasstools are required for preparing some input data (information at:
http://abouthydrology.blogspot.it/2012/11/udig-jgrasstools-resources-in-italian.
html
To visualize results you need a GIS. Use your preferred GIS, following its installation
instructions. To make statistics on the results, you can probably get benefits from R:
http://www.r-project.org/ and follow its installation instruction.
To whom address questions
marialaura.bancheri@unitn.it
Authors of documentation
Marialaura Bancheri (marialaura.bancheri@unitn.it)
This documentation is released under Creative Commons 4.0 Attribution International
Bancheri and Formetta Page 3 of 6
Component Description
Usually only precipitation totals and air temperature are available from meteorological
stations. A common procedure for separating rain and snow is to use a threshold air
temperature Ts: all the precipitation is considered snow if the air temperature for the
time interval is less than or equal to Ts; all the precipitation is considered to be rain if air
temperature is greater than Ts. As proposed in Kavetski et al. (2006), to avoid problems
for parameter calibration, a smoother filter for thresholds is applied, and the algorithm
to discriminate between rainfall and snowfall can be described as follows:
Pr = αr ·
P
π
· arctan
T − Ts
m1
+
P
2
(1)
Ps = αs(P − Pr) (2)
where P (mm) is measured precipitation,Pr (mm) is the rainfall,Ps (mm) is the snow-
fall,Ts (C) (C stands for Celsius degree) is the threshold temperature, and m1 (–) is the
parameter controlling the degree of smoothing (if m1=0 threshold behavior is simulated).
The two coefficients αr and αs adjust for measurement errors for rain and snow. Because
different values for different climate regions have been found in prior studies the two
coefficients are considered parameters in the model and are therefore calibrated.
Detailed Inputs description
General description
The input file is a .csv file containing a header and one or more time series of input data,
depending on the number of stations involved. Each column of the file is associated to a
different station.
The file must have the following header:
• The first 3 rows with general information such as the date of the creation of the file
and the author;
• the fourth and fifth rows contain the IDs of the stations (e.g. station number 8:
value 8, ID, ,8);
• the sixth row contains the information about the type of the input data (in this
case, one column with the date and one column with double values);
• the seventh row specifies the date format (YYYY-MM-dd HH:mm).
All this information shown in the figure 1.
Bancheri and Formetta Page 4 of 6
Figure 1 Heading of the .csv input file
Total precipitation
The total precipitation is given in time series or raster maps of (mm) values.
Air temperature
The air temperature is given in time series or raster maps of (◦
C).The conversion in (◦
K) is directly done by the component.
αr
αr is the adjustment parameter for the rainfall measurements errors in eq. 1.
αs
αs is the adjustment parameter for the snow measurements errors eq. 2.
m1
m1 is the parameter controling the degree of smoothing in eq. 1.
Detailed Outputs description
Rainfall and snowfall
The detected rainfall and snowfall are given as time series at a given point as raster maps.
Their units are (mm). Figure 2 shows the results of a rain-snow separation simulation.
Bancheri and Formetta Page 5 of 6
0 5000 10000 15000
0510152025
Rain-snow separation
Time [h]
Totalprecipitation[mm]
Rain [mm]
Snow [mm]
Figure 2 Time series of clearness index
Examples
The following .sim file is customized for the use of the rain-snow separation component.
The .sim file can be downloaded from here:
https://github.com/GEOframeOMSProjects/OMS_Project_RainSnowSep/tree/master/
simulation
import static oms3.SimBuilder.instance as OMS3
def home = oms_prj
// start and end date of the simulation
def startDate= "1994 -01 -01 00:00"
def endDate="1996 -01 -01 00:00"
OMS3.sim {
resource "$oms_prj/lib"
model(while: " reader_data_precip .doProcess" ) {
components {
// components to be called : reader input data , lwrb and writer
output data
" reader_data_precip " "org.jgrasstools .gears.io.
timedependent . OmsTimeSeriesIteratorReader "
" reader_data_temp " "org.jgrasstools.gears.io.
timedependent . OmsTimeSeriesIteratorReader "
" rainSnowSep " " rainSnowSperataion .
RainSnowSeparationPointCase "
" writer_snow " "org. jgrasstools .gears.io
. timedependent . OmsTimeSeriesIteratorWriter "
" writer_rain " "org. jgrasstools .gears.io
. timedependent . OmsTimeSeriesIteratorWriter "
}
parameter{
// parameter of the reader components
" reader_data_precip .file" "${home }/ data/
interpolated_rainfall .csv"
" reader_data_precip .idfield" "ID"
" reader_data_precip .tStart" "${startDate}"
" reader_data_precip .tEnd" "${endDate}"
Bancheri and Formetta Page 6 of 6
" reader_data_precip .tTimestep" 60
" reader_data_precip . fileNovalue " " -9999"
" reader_data_temp .file" "${home }/ data/ Temperature.csv"
" reader_data_temp .idfield" "ID"
" reader_data_temp .tStart" "${startDate}"
" reader_data_temp .tEnd" "${endDate}"
" reader_data_temp .tTimestep" 60
" reader_data_temp .fileNovalue" " -9999"
" rainSnowSep .alfa_r" 1.08
" rainSnowSep .alfa_s" 1.05
" rainSnowSep . meltingTemperature " 1.94
// parameter of the writing component
" writer_snow .file" "${home }/ output/snow.csv"
" writer_snow .tStart" "${startDate}"
" writer_snow .tTimestep" 60
" writer_rain .file" "${home }/ output/rain.csv"
" writer_rain .tStart" "${startDate}"
" writer_rain .tTimestep" 60
}
connect {
" reader_data_precip .outData" "rainSnowSep.
inPrecipitationValues "
" reader_data_temp .outData" "rainSnowSep.
inTemperatureValues "
" rainSnowSep . outRainfallHM " "writer_rain.inData"
" rainSnowSep . outSnowfallHM " "writer_snow.inData"
}
}
}
Data and Project
The following link is for the download of the input data necessaries to execute the CI
component (as shown in the .sim file in the previous section ) :
https://github.com/GEOframeOMSProjects/OMS_Project_RainSnowSep/tree/master/
data
The following link is for the download of the OMS project for the component:
https://github.com/GEOframeOMSProjects/OMS_Project_RainSnowSep
%
References
1. Formetta, G., Kampf, S.K., David, O., Rigon, R.: Snow water equivalent modeling components in newage-jgrass.
Geoscientific Model Development 7(3), 725–736 (2014)

More Related Content

What's hot

JGrass-NewAge probabilities backward component
JGrass-NewAge probabilities backward component JGrass-NewAge probabilities backward component
JGrass-NewAge probabilities backward component Marialaura Bancheri
 
Jgrass-NewAge: Kriging component
Jgrass-NewAge: Kriging componentJgrass-NewAge: Kriging component
Jgrass-NewAge: Kriging componentNiccolò Tubini
 
Multivariable Parametric Modeling of a Greenhouse by Minimizing the Quadratic...
Multivariable Parametric Modeling of a Greenhouse by Minimizing the Quadratic...Multivariable Parametric Modeling of a Greenhouse by Minimizing the Quadratic...
Multivariable Parametric Modeling of a Greenhouse by Minimizing the Quadratic...TELKOMNIKA JOURNAL
 
Real-time or full-precision CRS imaging using a cloud computing portal: multi...
Real-time or full-precision CRS imaging using a cloud computing portal: multi...Real-time or full-precision CRS imaging using a cloud computing portal: multi...
Real-time or full-precision CRS imaging using a cloud computing portal: multi...CRS4 Research Center in Sardinia
 
Near Surface Geoscience Conference 2014, Athens - Real-­time or full­‐precisi...
Near Surface Geoscience Conference 2014, Athens - Real-­time or full­‐precisi...Near Surface Geoscience Conference 2014, Athens - Real-­time or full­‐precisi...
Near Surface Geoscience Conference 2014, Athens - Real-­time or full­‐precisi...CRS4 Research Center in Sardinia
 
Near Surface Geoscience Conference 2015, Turin - A Spatial Velocity Analysis ...
Near Surface Geoscience Conference 2015, Turin - A Spatial Velocity Analysis ...Near Surface Geoscience Conference 2015, Turin - A Spatial Velocity Analysis ...
Near Surface Geoscience Conference 2015, Turin - A Spatial Velocity Analysis ...CRS4 Research Center in Sardinia
 
Concurrent Ternary Galois-based Computation using Nano-apex Multiplexing Nibs...
Concurrent Ternary Galois-based Computation using Nano-apex Multiplexing Nibs...Concurrent Ternary Galois-based Computation using Nano-apex Multiplexing Nibs...
Concurrent Ternary Galois-based Computation using Nano-apex Multiplexing Nibs...VLSICS Design
 
Exploring Raster with FME
Exploring Raster with FMEExploring Raster with FME
Exploring Raster with FMESafe Software
 
Point Clouds: What's New
Point Clouds: What's NewPoint Clouds: What's New
Point Clouds: What's NewSafe Software
 
Egg deposition for Bloaters, aged 3, in Lake Huron and predicting next five y...
Egg deposition for Bloaters, aged 3, in Lake Huron and predicting next five y...Egg deposition for Bloaters, aged 3, in Lake Huron and predicting next five y...
Egg deposition for Bloaters, aged 3, in Lake Huron and predicting next five y...Arpan Kumar
 
Ill-posedness formulation of the emission source localization in the radio- d...
Ill-posedness formulation of the emission source localization in the radio- d...Ill-posedness formulation of the emission source localization in the radio- d...
Ill-posedness formulation of the emission source localization in the radio- d...Ahmed Ammar Rebai PhD
 
BREEZE 3D Analyst for the Advanced AERMOD Modeler
BREEZE 3D Analyst for the Advanced AERMOD ModelerBREEZE 3D Analyst for the Advanced AERMOD Modeler
BREEZE 3D Analyst for the Advanced AERMOD ModelerBREEZE Software
 
UrbaWind, a Computational Fluid Dynamics tool to predict wind resource in urb...
UrbaWind, a Computational Fluid Dynamics tool to predict wind resource in urb...UrbaWind, a Computational Fluid Dynamics tool to predict wind resource in urb...
UrbaWind, a Computational Fluid Dynamics tool to predict wind resource in urb...Stephane Meteodyn
 
Model predictive-fuzzy-control-of-air-ratio-for-automotive-engines
Model predictive-fuzzy-control-of-air-ratio-for-automotive-enginesModel predictive-fuzzy-control-of-air-ratio-for-automotive-engines
Model predictive-fuzzy-control-of-air-ratio-for-automotive-enginespace130557
 
meteodynWT meso coupling downscaling regional planing
meteodynWT meso coupling downscaling regional planingmeteodynWT meso coupling downscaling regional planing
meteodynWT meso coupling downscaling regional planingJean-Claude Meteodyn
 
Infocom 2013-2-state-markov
Infocom 2013-2-state-markovInfocom 2013-2-state-markov
Infocom 2013-2-state-markovSmartenIT
 
Helicopter rotor tip vortex diffusion
Helicopter rotor tip vortex diffusionHelicopter rotor tip vortex diffusion
Helicopter rotor tip vortex diffusionMichael Patterson
 

What's hot (20)

JGrass-NewAge probabilities backward component
JGrass-NewAge probabilities backward component JGrass-NewAge probabilities backward component
JGrass-NewAge probabilities backward component
 
Jgrass-NewAge: Kriging component
Jgrass-NewAge: Kriging componentJgrass-NewAge: Kriging component
Jgrass-NewAge: Kriging component
 
Lwrb ms
Lwrb msLwrb ms
Lwrb ms
 
Multivariable Parametric Modeling of a Greenhouse by Minimizing the Quadratic...
Multivariable Parametric Modeling of a Greenhouse by Minimizing the Quadratic...Multivariable Parametric Modeling of a Greenhouse by Minimizing the Quadratic...
Multivariable Parametric Modeling of a Greenhouse by Minimizing the Quadratic...
 
Real-time or full-precision CRS imaging using a cloud computing portal: multi...
Real-time or full-precision CRS imaging using a cloud computing portal: multi...Real-time or full-precision CRS imaging using a cloud computing portal: multi...
Real-time or full-precision CRS imaging using a cloud computing portal: multi...
 
Near Surface Geoscience Conference 2014, Athens - Real-­time or full­‐precisi...
Near Surface Geoscience Conference 2014, Athens - Real-­time or full­‐precisi...Near Surface Geoscience Conference 2014, Athens - Real-­time or full­‐precisi...
Near Surface Geoscience Conference 2014, Athens - Real-­time or full­‐precisi...
 
Near Surface Geoscience Conference 2015, Turin - A Spatial Velocity Analysis ...
Near Surface Geoscience Conference 2015, Turin - A Spatial Velocity Analysis ...Near Surface Geoscience Conference 2015, Turin - A Spatial Velocity Analysis ...
Near Surface Geoscience Conference 2015, Turin - A Spatial Velocity Analysis ...
 
Decline curve
Decline curveDecline curve
Decline curve
 
Presentation
PresentationPresentation
Presentation
 
Concurrent Ternary Galois-based Computation using Nano-apex Multiplexing Nibs...
Concurrent Ternary Galois-based Computation using Nano-apex Multiplexing Nibs...Concurrent Ternary Galois-based Computation using Nano-apex Multiplexing Nibs...
Concurrent Ternary Galois-based Computation using Nano-apex Multiplexing Nibs...
 
Exploring Raster with FME
Exploring Raster with FMEExploring Raster with FME
Exploring Raster with FME
 
Point Clouds: What's New
Point Clouds: What's NewPoint Clouds: What's New
Point Clouds: What's New
 
Egg deposition for Bloaters, aged 3, in Lake Huron and predicting next five y...
Egg deposition for Bloaters, aged 3, in Lake Huron and predicting next five y...Egg deposition for Bloaters, aged 3, in Lake Huron and predicting next five y...
Egg deposition for Bloaters, aged 3, in Lake Huron and predicting next five y...
 
Ill-posedness formulation of the emission source localization in the radio- d...
Ill-posedness formulation of the emission source localization in the radio- d...Ill-posedness formulation of the emission source localization in the radio- d...
Ill-posedness formulation of the emission source localization in the radio- d...
 
BREEZE 3D Analyst for the Advanced AERMOD Modeler
BREEZE 3D Analyst for the Advanced AERMOD ModelerBREEZE 3D Analyst for the Advanced AERMOD Modeler
BREEZE 3D Analyst for the Advanced AERMOD Modeler
 
UrbaWind, a Computational Fluid Dynamics tool to predict wind resource in urb...
UrbaWind, a Computational Fluid Dynamics tool to predict wind resource in urb...UrbaWind, a Computational Fluid Dynamics tool to predict wind resource in urb...
UrbaWind, a Computational Fluid Dynamics tool to predict wind resource in urb...
 
Model predictive-fuzzy-control-of-air-ratio-for-automotive-engines
Model predictive-fuzzy-control-of-air-ratio-for-automotive-enginesModel predictive-fuzzy-control-of-air-ratio-for-automotive-engines
Model predictive-fuzzy-control-of-air-ratio-for-automotive-engines
 
meteodynWT meso coupling downscaling regional planing
meteodynWT meso coupling downscaling regional planingmeteodynWT meso coupling downscaling regional planing
meteodynWT meso coupling downscaling regional planing
 
Infocom 2013-2-state-markov
Infocom 2013-2-state-markovInfocom 2013-2-state-markov
Infocom 2013-2-state-markov
 
Helicopter rotor tip vortex diffusion
Helicopter rotor tip vortex diffusionHelicopter rotor tip vortex diffusion
Helicopter rotor tip vortex diffusion
 

Similar to JGrass-NewAge rain-snow separation

GEOframe-NewAge: documentation for probabilitiesbackward component
GEOframe-NewAge: documentation for probabilitiesbackward componentGEOframe-NewAge: documentation for probabilitiesbackward component
GEOframe-NewAge: documentation for probabilitiesbackward componentMarialaura Bancheri
 
Oms richards-1 d-integrator
Oms richards-1 d-integratorOms richards-1 d-integrator
Oms richards-1 d-integratorNiccolò Tubini
 
Pumps, Compressors and Turbine Fault Frequency Analysis
Pumps, Compressors and Turbine Fault Frequency AnalysisPumps, Compressors and Turbine Fault Frequency Analysis
Pumps, Compressors and Turbine Fault Frequency AnalysisUniversity of Illinois,Chicago
 
Pumps, Compressors and Turbine Fault Frequency Analysis
Pumps, Compressors and Turbine Fault Frequency AnalysisPumps, Compressors and Turbine Fault Frequency Analysis
Pumps, Compressors and Turbine Fault Frequency AnalysisUniversity of Illinois,Chicago
 
Flow Modification over Rotor Blade with Suction Boundary Layer Control Technique
Flow Modification over Rotor Blade with Suction Boundary Layer Control TechniqueFlow Modification over Rotor Blade with Suction Boundary Layer Control Technique
Flow Modification over Rotor Blade with Suction Boundary Layer Control TechniqueIJERA Editor
 
Talha Javed Presentation01.pptx
Talha Javed Presentation01.pptxTalha Javed Presentation01.pptx
Talha Javed Presentation01.pptxshafiqueahmad52
 
Assignment Details There is a .h file on Moodle that provides a defi.pdf
Assignment Details There is a .h file on Moodle that provides a defi.pdfAssignment Details There is a .h file on Moodle that provides a defi.pdf
Assignment Details There is a .h file on Moodle that provides a defi.pdfjyothimuppasani1
 
References1. HCS 2010 online manuals.2. Data Data provi.docx
References1. HCS 2010 online manuals.2. Data  Data provi.docxReferences1. HCS 2010 online manuals.2. Data  Data provi.docx
References1. HCS 2010 online manuals.2. Data Data provi.docxdebishakespeare
 
Numerical tools dedicated to wind engineering Meteodyn
Numerical tools dedicated to wind engineering MeteodynNumerical tools dedicated to wind engineering Meteodyn
Numerical tools dedicated to wind engineering MeteodynStephane Meteodyn
 
Samantha Wang [InfluxData] | Best Practices on How to Transform Your Data Usi...
Samantha Wang [InfluxData] | Best Practices on How to Transform Your Data Usi...Samantha Wang [InfluxData] | Best Practices on How to Transform Your Data Usi...
Samantha Wang [InfluxData] | Best Practices on How to Transform Your Data Usi...InfluxData
 
A Novel Technique in Software Engineering for Building Scalable Large Paralle...
A Novel Technique in Software Engineering for Building Scalable Large Paralle...A Novel Technique in Software Engineering for Building Scalable Large Paralle...
A Novel Technique in Software Engineering for Building Scalable Large Paralle...Eswar Publications
 
A practical approach to design and optimization of single phase liquid to liq...
A practical approach to design and optimization of single phase liquid to liq...A practical approach to design and optimization of single phase liquid to liq...
A practical approach to design and optimization of single phase liquid to liq...iaemedu
 
Automated Fault Location Analysis – Analytics Update
Automated Fault Location Analysis – Analytics UpdateAutomated Fault Location Analysis – Analytics Update
Automated Fault Location Analysis – Analytics UpdatePower System Operation
 
Comparison_of_rain_attenuation_models_of_satellite.pdf
Comparison_of_rain_attenuation_models_of_satellite.pdfComparison_of_rain_attenuation_models_of_satellite.pdf
Comparison_of_rain_attenuation_models_of_satellite.pdfDeepakSinghNagarkoti
 
New features in the version 4.6 of the CFD meteodyn WT dedicated to wind reso...
New features in the version 4.6 of the CFD meteodyn WT dedicated to wind reso...New features in the version 4.6 of the CFD meteodyn WT dedicated to wind reso...
New features in the version 4.6 of the CFD meteodyn WT dedicated to wind reso...Jean-Claude Meteodyn
 

Similar to JGrass-NewAge rain-snow separation (20)

Adige modelling
Adige modellingAdige modelling
Adige modelling
 
Jgrass newage-waterbudget
Jgrass newage-waterbudgetJgrass newage-waterbudget
Jgrass newage-waterbudget
 
Lwrb linkers
Lwrb linkersLwrb linkers
Lwrb linkers
 
GEOframe-NewAge: documentation for probabilitiesbackward component
GEOframe-NewAge: documentation for probabilitiesbackward componentGEOframe-NewAge: documentation for probabilitiesbackward component
GEOframe-NewAge: documentation for probabilitiesbackward component
 
Oms richards-1 d-integrator
Oms richards-1 d-integratorOms richards-1 d-integrator
Oms richards-1 d-integrator
 
Pumps, Compressors and Turbine Fault Frequency Analysis
Pumps, Compressors and Turbine Fault Frequency AnalysisPumps, Compressors and Turbine Fault Frequency Analysis
Pumps, Compressors and Turbine Fault Frequency Analysis
 
Pumps, Compressors and Turbine Fault Frequency Analysis
Pumps, Compressors and Turbine Fault Frequency AnalysisPumps, Compressors and Turbine Fault Frequency Analysis
Pumps, Compressors and Turbine Fault Frequency Analysis
 
Flow Modification over Rotor Blade with Suction Boundary Layer Control Technique
Flow Modification over Rotor Blade with Suction Boundary Layer Control TechniqueFlow Modification over Rotor Blade with Suction Boundary Layer Control Technique
Flow Modification over Rotor Blade with Suction Boundary Layer Control Technique
 
Talha Javed Presentation01.pptx
Talha Javed Presentation01.pptxTalha Javed Presentation01.pptx
Talha Javed Presentation01.pptx
 
Assignment Details There is a .h file on Moodle that provides a defi.pdf
Assignment Details There is a .h file on Moodle that provides a defi.pdfAssignment Details There is a .h file on Moodle that provides a defi.pdf
Assignment Details There is a .h file on Moodle that provides a defi.pdf
 
References1. HCS 2010 online manuals.2. Data Data provi.docx
References1. HCS 2010 online manuals.2. Data  Data provi.docxReferences1. HCS 2010 online manuals.2. Data  Data provi.docx
References1. HCS 2010 online manuals.2. Data Data provi.docx
 
Numerical tools dedicated to wind engineering Meteodyn
Numerical tools dedicated to wind engineering MeteodynNumerical tools dedicated to wind engineering Meteodyn
Numerical tools dedicated to wind engineering Meteodyn
 
Marvuglia
MarvugliaMarvuglia
Marvuglia
 
Samantha Wang [InfluxData] | Best Practices on How to Transform Your Data Usi...
Samantha Wang [InfluxData] | Best Practices on How to Transform Your Data Usi...Samantha Wang [InfluxData] | Best Practices on How to Transform Your Data Usi...
Samantha Wang [InfluxData] | Best Practices on How to Transform Your Data Usi...
 
A Novel Technique in Software Engineering for Building Scalable Large Paralle...
A Novel Technique in Software Engineering for Building Scalable Large Paralle...A Novel Technique in Software Engineering for Building Scalable Large Paralle...
A Novel Technique in Software Engineering for Building Scalable Large Paralle...
 
A practical approach to design and optimization of single phase liquid to liq...
A practical approach to design and optimization of single phase liquid to liq...A practical approach to design and optimization of single phase liquid to liq...
A practical approach to design and optimization of single phase liquid to liq...
 
Automated Fault Location Analysis – Analytics Update
Automated Fault Location Analysis – Analytics UpdateAutomated Fault Location Analysis – Analytics Update
Automated Fault Location Analysis – Analytics Update
 
Comparison_of_rain_attenuation_models_of_satellite.pdf
Comparison_of_rain_attenuation_models_of_satellite.pdfComparison_of_rain_attenuation_models_of_satellite.pdf
Comparison_of_rain_attenuation_models_of_satellite.pdf
 
Rosetta
RosettaRosetta
Rosetta
 
New features in the version 4.6 of the CFD meteodyn WT dedicated to wind reso...
New features in the version 4.6 of the CFD meteodyn WT dedicated to wind reso...New features in the version 4.6 of the CFD meteodyn WT dedicated to wind reso...
New features in the version 4.6 of the CFD meteodyn WT dedicated to wind reso...
 

Recently uploaded

Site specific recombination and transposition.........pdf
Site specific recombination and transposition.........pdfSite specific recombination and transposition.........pdf
Site specific recombination and transposition.........pdfCherry
 
Use of mutants in understanding seedling development.pptx
Use of mutants in understanding seedling development.pptxUse of mutants in understanding seedling development.pptx
Use of mutants in understanding seedling development.pptxRenuJangid3
 
Genome sequencing,shotgun sequencing.pptx
Genome sequencing,shotgun sequencing.pptxGenome sequencing,shotgun sequencing.pptx
Genome sequencing,shotgun sequencing.pptxCherry
 
Genetics and epigenetics of ADHD and comorbid conditions
Genetics and epigenetics of ADHD and comorbid conditionsGenetics and epigenetics of ADHD and comorbid conditions
Genetics and epigenetics of ADHD and comorbid conditionsbassianu17
 
THE ROLE OF BIOTECHNOLOGY IN THE ECONOMIC UPLIFT.pptx
THE ROLE OF BIOTECHNOLOGY IN THE ECONOMIC UPLIFT.pptxTHE ROLE OF BIOTECHNOLOGY IN THE ECONOMIC UPLIFT.pptx
THE ROLE OF BIOTECHNOLOGY IN THE ECONOMIC UPLIFT.pptxANSARKHAN96
 
POGONATUM : morphology, anatomy, reproduction etc.
POGONATUM : morphology, anatomy, reproduction etc.POGONATUM : morphology, anatomy, reproduction etc.
POGONATUM : morphology, anatomy, reproduction etc.Cherry
 
Concept of gene and Complementation test.pdf
Concept of gene and Complementation test.pdfConcept of gene and Complementation test.pdf
Concept of gene and Complementation test.pdfCherry
 
Role of AI in seed science Predictive modelling and Beyond.pptx
Role of AI in seed science  Predictive modelling and  Beyond.pptxRole of AI in seed science  Predictive modelling and  Beyond.pptx
Role of AI in seed science Predictive modelling and Beyond.pptxArvind Kumar
 
LUNULARIA -features, morphology, anatomy ,reproduction etc.
LUNULARIA -features, morphology, anatomy ,reproduction etc.LUNULARIA -features, morphology, anatomy ,reproduction etc.
LUNULARIA -features, morphology, anatomy ,reproduction etc.Cherry
 
Module for Grade 9 for Asynchronous/Distance learning
Module for Grade 9 for Asynchronous/Distance learningModule for Grade 9 for Asynchronous/Distance learning
Module for Grade 9 for Asynchronous/Distance learninglevieagacer
 
Porella : features, morphology, anatomy, reproduction etc.
Porella : features, morphology, anatomy, reproduction etc.Porella : features, morphology, anatomy, reproduction etc.
Porella : features, morphology, anatomy, reproduction etc.Cherry
 
PODOCARPUS...........................pptx
PODOCARPUS...........................pptxPODOCARPUS...........................pptx
PODOCARPUS...........................pptxCherry
 
Reboulia: features, anatomy, morphology etc.
Reboulia: features, anatomy, morphology etc.Reboulia: features, anatomy, morphology etc.
Reboulia: features, anatomy, morphology etc.Cherry
 
TransientOffsetin14CAftertheCarringtonEventRecordedbyPolarTreeRings
TransientOffsetin14CAftertheCarringtonEventRecordedbyPolarTreeRingsTransientOffsetin14CAftertheCarringtonEventRecordedbyPolarTreeRings
TransientOffsetin14CAftertheCarringtonEventRecordedbyPolarTreeRingsSérgio Sacani
 
Phenolics: types, biosynthesis and functions.
Phenolics: types, biosynthesis and functions.Phenolics: types, biosynthesis and functions.
Phenolics: types, biosynthesis and functions.Cherry
 
Genome organization in virus,bacteria and eukaryotes.pptx
Genome organization in virus,bacteria and eukaryotes.pptxGenome organization in virus,bacteria and eukaryotes.pptx
Genome organization in virus,bacteria and eukaryotes.pptxCherry
 

Recently uploaded (20)

Site specific recombination and transposition.........pdf
Site specific recombination and transposition.........pdfSite specific recombination and transposition.........pdf
Site specific recombination and transposition.........pdf
 
Use of mutants in understanding seedling development.pptx
Use of mutants in understanding seedling development.pptxUse of mutants in understanding seedling development.pptx
Use of mutants in understanding seedling development.pptx
 
Genome sequencing,shotgun sequencing.pptx
Genome sequencing,shotgun sequencing.pptxGenome sequencing,shotgun sequencing.pptx
Genome sequencing,shotgun sequencing.pptx
 
Genetics and epigenetics of ADHD and comorbid conditions
Genetics and epigenetics of ADHD and comorbid conditionsGenetics and epigenetics of ADHD and comorbid conditions
Genetics and epigenetics of ADHD and comorbid conditions
 
THE ROLE OF BIOTECHNOLOGY IN THE ECONOMIC UPLIFT.pptx
THE ROLE OF BIOTECHNOLOGY IN THE ECONOMIC UPLIFT.pptxTHE ROLE OF BIOTECHNOLOGY IN THE ECONOMIC UPLIFT.pptx
THE ROLE OF BIOTECHNOLOGY IN THE ECONOMIC UPLIFT.pptx
 
Early Development of Mammals (Mouse and Human).pdf
Early Development of Mammals (Mouse and Human).pdfEarly Development of Mammals (Mouse and Human).pdf
Early Development of Mammals (Mouse and Human).pdf
 
POGONATUM : morphology, anatomy, reproduction etc.
POGONATUM : morphology, anatomy, reproduction etc.POGONATUM : morphology, anatomy, reproduction etc.
POGONATUM : morphology, anatomy, reproduction etc.
 
Concept of gene and Complementation test.pdf
Concept of gene and Complementation test.pdfConcept of gene and Complementation test.pdf
Concept of gene and Complementation test.pdf
 
PATNA CALL GIRLS 8617370543 LOW PRICE ESCORT SERVICE
PATNA CALL GIRLS 8617370543 LOW PRICE ESCORT SERVICEPATNA CALL GIRLS 8617370543 LOW PRICE ESCORT SERVICE
PATNA CALL GIRLS 8617370543 LOW PRICE ESCORT SERVICE
 
Role of AI in seed science Predictive modelling and Beyond.pptx
Role of AI in seed science  Predictive modelling and  Beyond.pptxRole of AI in seed science  Predictive modelling and  Beyond.pptx
Role of AI in seed science Predictive modelling and Beyond.pptx
 
LUNULARIA -features, morphology, anatomy ,reproduction etc.
LUNULARIA -features, morphology, anatomy ,reproduction etc.LUNULARIA -features, morphology, anatomy ,reproduction etc.
LUNULARIA -features, morphology, anatomy ,reproduction etc.
 
Module for Grade 9 for Asynchronous/Distance learning
Module for Grade 9 for Asynchronous/Distance learningModule for Grade 9 for Asynchronous/Distance learning
Module for Grade 9 for Asynchronous/Distance learning
 
Site Acceptance Test .
Site Acceptance Test                    .Site Acceptance Test                    .
Site Acceptance Test .
 
Clean In Place(CIP).pptx .
Clean In Place(CIP).pptx                 .Clean In Place(CIP).pptx                 .
Clean In Place(CIP).pptx .
 
Porella : features, morphology, anatomy, reproduction etc.
Porella : features, morphology, anatomy, reproduction etc.Porella : features, morphology, anatomy, reproduction etc.
Porella : features, morphology, anatomy, reproduction etc.
 
PODOCARPUS...........................pptx
PODOCARPUS...........................pptxPODOCARPUS...........................pptx
PODOCARPUS...........................pptx
 
Reboulia: features, anatomy, morphology etc.
Reboulia: features, anatomy, morphology etc.Reboulia: features, anatomy, morphology etc.
Reboulia: features, anatomy, morphology etc.
 
TransientOffsetin14CAftertheCarringtonEventRecordedbyPolarTreeRings
TransientOffsetin14CAftertheCarringtonEventRecordedbyPolarTreeRingsTransientOffsetin14CAftertheCarringtonEventRecordedbyPolarTreeRings
TransientOffsetin14CAftertheCarringtonEventRecordedbyPolarTreeRings
 
Phenolics: types, biosynthesis and functions.
Phenolics: types, biosynthesis and functions.Phenolics: types, biosynthesis and functions.
Phenolics: types, biosynthesis and functions.
 
Genome organization in virus,bacteria and eukaryotes.pptx
Genome organization in virus,bacteria and eukaryotes.pptxGenome organization in virus,bacteria and eukaryotes.pptx
Genome organization in virus,bacteria and eukaryotes.pptx
 

JGrass-NewAge rain-snow separation

  • 1. Bancheri and Formetta LINKERS JGrass-NewAGE: RainSnowSeparation component Marialaura Bancheri*† and Giuseppe Formetta† * Correspondence: marialaura.bancheri@unitn.it Dipartimento di Ingegneria Civile Ambientale e Meccanica, Trento, Mesiano di Povo, Trento, IT Full list of author information is available at the end of the article † Code Author Abstract These pages teach how to run the rain-snow separation component inside the OMS 3 console. Some preliminary knowledge and installation of OMS is mandatory (see @Also useful). This component deals with the detection of the rainfall and snowfall in the total precipitation. It uses the approach proposed by Kavetski et al. (2006), based on a smoother filter for thresholds on temperature. The component can be used with both raster inputs and punctual inputs. It is perfectly integrated in the system and its outputs can be the inputs of different components, e.g. the snow component (1) @Version: 0.1 @License: GPL v. 3 @Inputs: • Total precipitation (mm); • Air temperature (◦ C); • αr (−); • αs (−); • m1 (−); @Outputs: • Rainfall (mm); • Snowfall (mm). @Doc Author: Marialaura Bancheri @References: • See References section below Keywords: OMS; JGrass-NewAGE Component Description; rain-snow separation
  • 2. Bancheri and Formetta Page 2 of 6 Code Information Executables This link points to the jar file that, once downloaded can be used in the OMS console: https://github.com/GEOframeOMSProjects/OMS_Project_RainSnowSep/tree/master/ lib Developer Info This link points to useful information for the developers, i.e. information about the code internals, algorithms and the source code https://github.com/geoframecomponents Also useful To run JGrass-NewAGE it is necessary to know how to use the OMS console. Information at: ”How to install and run the OMS console”, https://alm.engr.colostate.edu/cb/project/oms). JGrasstools are required for preparing some input data (information at: http://abouthydrology.blogspot.it/2012/11/udig-jgrasstools-resources-in-italian. html To visualize results you need a GIS. Use your preferred GIS, following its installation instructions. To make statistics on the results, you can probably get benefits from R: http://www.r-project.org/ and follow its installation instruction. To whom address questions marialaura.bancheri@unitn.it Authors of documentation Marialaura Bancheri (marialaura.bancheri@unitn.it) This documentation is released under Creative Commons 4.0 Attribution International
  • 3. Bancheri and Formetta Page 3 of 6 Component Description Usually only precipitation totals and air temperature are available from meteorological stations. A common procedure for separating rain and snow is to use a threshold air temperature Ts: all the precipitation is considered snow if the air temperature for the time interval is less than or equal to Ts; all the precipitation is considered to be rain if air temperature is greater than Ts. As proposed in Kavetski et al. (2006), to avoid problems for parameter calibration, a smoother filter for thresholds is applied, and the algorithm to discriminate between rainfall and snowfall can be described as follows: Pr = αr · P π · arctan T − Ts m1 + P 2 (1) Ps = αs(P − Pr) (2) where P (mm) is measured precipitation,Pr (mm) is the rainfall,Ps (mm) is the snow- fall,Ts (C) (C stands for Celsius degree) is the threshold temperature, and m1 (–) is the parameter controlling the degree of smoothing (if m1=0 threshold behavior is simulated). The two coefficients αr and αs adjust for measurement errors for rain and snow. Because different values for different climate regions have been found in prior studies the two coefficients are considered parameters in the model and are therefore calibrated. Detailed Inputs description General description The input file is a .csv file containing a header and one or more time series of input data, depending on the number of stations involved. Each column of the file is associated to a different station. The file must have the following header: • The first 3 rows with general information such as the date of the creation of the file and the author; • the fourth and fifth rows contain the IDs of the stations (e.g. station number 8: value 8, ID, ,8); • the sixth row contains the information about the type of the input data (in this case, one column with the date and one column with double values); • the seventh row specifies the date format (YYYY-MM-dd HH:mm). All this information shown in the figure 1.
  • 4. Bancheri and Formetta Page 4 of 6 Figure 1 Heading of the .csv input file Total precipitation The total precipitation is given in time series or raster maps of (mm) values. Air temperature The air temperature is given in time series or raster maps of (◦ C).The conversion in (◦ K) is directly done by the component. αr αr is the adjustment parameter for the rainfall measurements errors in eq. 1. αs αs is the adjustment parameter for the snow measurements errors eq. 2. m1 m1 is the parameter controling the degree of smoothing in eq. 1. Detailed Outputs description Rainfall and snowfall The detected rainfall and snowfall are given as time series at a given point as raster maps. Their units are (mm). Figure 2 shows the results of a rain-snow separation simulation.
  • 5. Bancheri and Formetta Page 5 of 6 0 5000 10000 15000 0510152025 Rain-snow separation Time [h] Totalprecipitation[mm] Rain [mm] Snow [mm] Figure 2 Time series of clearness index Examples The following .sim file is customized for the use of the rain-snow separation component. The .sim file can be downloaded from here: https://github.com/GEOframeOMSProjects/OMS_Project_RainSnowSep/tree/master/ simulation import static oms3.SimBuilder.instance as OMS3 def home = oms_prj // start and end date of the simulation def startDate= "1994 -01 -01 00:00" def endDate="1996 -01 -01 00:00" OMS3.sim { resource "$oms_prj/lib" model(while: " reader_data_precip .doProcess" ) { components { // components to be called : reader input data , lwrb and writer output data " reader_data_precip " "org.jgrasstools .gears.io. timedependent . OmsTimeSeriesIteratorReader " " reader_data_temp " "org.jgrasstools.gears.io. timedependent . OmsTimeSeriesIteratorReader " " rainSnowSep " " rainSnowSperataion . RainSnowSeparationPointCase " " writer_snow " "org. jgrasstools .gears.io . timedependent . OmsTimeSeriesIteratorWriter " " writer_rain " "org. jgrasstools .gears.io . timedependent . OmsTimeSeriesIteratorWriter " } parameter{ // parameter of the reader components " reader_data_precip .file" "${home }/ data/ interpolated_rainfall .csv" " reader_data_precip .idfield" "ID" " reader_data_precip .tStart" "${startDate}" " reader_data_precip .tEnd" "${endDate}"
  • 6. Bancheri and Formetta Page 6 of 6 " reader_data_precip .tTimestep" 60 " reader_data_precip . fileNovalue " " -9999" " reader_data_temp .file" "${home }/ data/ Temperature.csv" " reader_data_temp .idfield" "ID" " reader_data_temp .tStart" "${startDate}" " reader_data_temp .tEnd" "${endDate}" " reader_data_temp .tTimestep" 60 " reader_data_temp .fileNovalue" " -9999" " rainSnowSep .alfa_r" 1.08 " rainSnowSep .alfa_s" 1.05 " rainSnowSep . meltingTemperature " 1.94 // parameter of the writing component " writer_snow .file" "${home }/ output/snow.csv" " writer_snow .tStart" "${startDate}" " writer_snow .tTimestep" 60 " writer_rain .file" "${home }/ output/rain.csv" " writer_rain .tStart" "${startDate}" " writer_rain .tTimestep" 60 } connect { " reader_data_precip .outData" "rainSnowSep. inPrecipitationValues " " reader_data_temp .outData" "rainSnowSep. inTemperatureValues " " rainSnowSep . outRainfallHM " "writer_rain.inData" " rainSnowSep . outSnowfallHM " "writer_snow.inData" } } } Data and Project The following link is for the download of the input data necessaries to execute the CI component (as shown in the .sim file in the previous section ) : https://github.com/GEOframeOMSProjects/OMS_Project_RainSnowSep/tree/master/ data The following link is for the download of the OMS project for the component: https://github.com/GEOframeOMSProjects/OMS_Project_RainSnowSep % References 1. Formetta, G., Kampf, S.K., David, O., Rigon, R.: Snow water equivalent modeling components in newage-jgrass. Geoscientific Model Development 7(3), 725–736 (2014)