SlideShare una empresa de Scribd logo
1 de 1
Descargar para leer sin conexión
R: A statistical environment for hydrological analysis
                                     R: A statistical environment for hydrological analysis
                                                                                                                Zambrano-Bigiarini, Mauricio and Bellin, Alberto
                                                                                                                Zambrano-Bigiarini, Mauricio and Bellin, Alberto
                                                                                  Dep. of Civil and Environmental Engineering, Faculty of Engineering, Università degli Studi di Trento, Trento, Italy
                                                                                  Dep. of Civil and Environmental Engineering, Faculty of Engineering, Università degli Studi di Trento, Trento, Italy
Abstract:EGU2010-13008
Session: HS4.22/EOS13                                                                                                                                                    e-mail: mauricio.zambrano@ing.unitn.it
                                                                                                                                                                         e-mail: mauricio.zambrano@ing.unitn.it
     May 05th , 2010



   1) Introduction                                                                                                                                                                                                                                                          4) Packages by thematic area:
                                                                                                                                                                                                                                                                            ●
                                                                                                                                                                                                                                                                                Hydrology: RHydro, HydroMe, hydrogeo, hydrosanity,
   The free software environment for statistical computing
                                                                                                                                                                                                                                                                                topmodel, wasim, hydroTSM, hydroGOF
   and graphics “R” has been developed and it is
   maintained by statistical programmers, with the
                                                                                                                                                                                                                                                                            ●
                                                                                                                                                                                                                                                                                Geostatistics: gstat, automap, geoR, fields, RandomFields
   support of an increasing community of users with many
                                                                                                                                                                                                                                                                            ●
                                                                                                                                                                                                                                                                                GIS: spgrass6, RSAGA, rgdal, mapproj, sp, maptools RpyGeo,
   different backgrounds, which allows access to both                                                                                                                                                                                                                           RGoogleMaps, RArcInfo
   well-established and experimental techniques.                                                                                                                                                                                                                            ●
                                                                                                                                                                                                                                                                                Flood frequency: POT, evd, nsRFA, extremes, lmomco
                                                                                                                                                                                                                                                                            ●
                                                                                                                                                                                                                                                                                Programming language interfaces: C, Fortran, Python, Perl,
   Hydrological modelling practitioners spent large                                                                                                                                                                                                                             Java (JRI, JGR,...)
   amount of time in pre- and post-processing data and                                                                                                                                                                                                                      ●
                                                                                                                                                                                                                                                                                Wavelets: wavelets; wavethresh, wmtsa, Rwave
   results with traditional instruments. In this work “R” and                                                                                                                                                                                                               ●
                                                                                                                                                                                                                                                                                High Performance Computing:snowfall, multicore, jit, nws,
   some of its packages are presented as powerful tools
                                                                                                                                                                                                                                                                                Rmpi, snow, taskPR
   to explore and extract patterns from raw information, to
   pre-process input data of hydrological models, and
                                                                                                                                                                                                                                                                            ●
                                                                                                                                                                                                                                                                                Optimization: DEoptim, optim
   post-processing its results. In particular, examples are
                                                                                                                                                                                                                                                                            ●
                                                                                                                                                                                                                                                                                Spreadsheets & DB: RPostgreSQL, RMySQL, RSQLite,
   taken from analyzing 30-years of daily data for a basin                                                                                                                                                                                                                      RNetCDF, RexcelInstaller, xlsReadWrite
   of 85000 km2, saving a large amount of time that could                                                                                # Figure 2: hydroTSM::hydroplot; hydroTSM::sname2plot;               ## Plotting the streamflows at station "Q093"                 ●
                                                                                                                                                                                                                                                                                Other statistical software ( e.g, S, SAS, SPSS, Stata, Systat,
                                                                                                                                         data(EbroQts) # Loading the streamflow dataset                       sname2plot(EbroQts, sname="Q093", dates=1, var.type="Flow")
   be better spent in doing analysis.                                                                                                                                                                                                                                           Minitab): foreign
                                                                 # Figure 1: hydroTSM::matrixplot
                                                                                                                                                                                                                                                                            ●
                                                                                                                                                                                                                                                                                Bayesian statistics: BAS, BLR, ensembleBMA, evdbayes,
                                                                 # Matrix with the days with information per year in selected stations
                                                                                                                                                                                                                                                                                LearnBayes, ramps, spBayes,...
                                                                 info <- dwi(EbroQts[,61:110], out.unit="years", dates=EbroQts[,1])                                                                                                                                         ●
                                                                                                                                                                                                                                                                                Latex: xtable,pgfSweave
                                                                 # Plotting the previous matrix, with custom title
                                                                 matrixplot(info, main="Nº of Days with Information (1961-1990) n in
                                                                                                                                                                                                                                                                            ●
                                                                                                                                                                                                                                                                                Data Mining: Rweka, rattle, party, RandomForest, ...
   2) Why an hydrologist should                                  the Selected Streamgauges")



   invest time in trying R ?                                                                                                                                                                                                                                                5) At the end...              :




     ●
         Many ready-to-use algorithms.                                                                                                                                                                                                                                       "R" is a valuable environment to support undergraduate and
     ●
         Existing functions, graphics and packages can be                                                                                                                                                                                                                   graduate education in hydrology, since it is helpful to capture the
         easily adapted to particular needs.                                                                                                                                                                                                                                main features of large amount of data; it is a flexible and fully
     ●
         Write once, use many times.                                                                                                                                                                                                                                        functional programming language, able to be interfaced to
     ●
         Large and active user community.                                                                                                                                                                                                                                   existing Fortran and C code and well suited to the ever growing
     ●
         Documentation is available in several languages.                                                                                                                                                                                                                   demands of hydrological analysis; and finally because it is a
     ●
         Multi-platform (GNU/Linux, MacOS, Windows).                                                                                                                                                                                                                        promising environment for tackling most of the practical problems
     ●
         Open Source.                                                                                                                                                                                                                                                       that reality poses to the hydrological modeller.
     ●
         Free :)

                                                                                                                                                                                                                                                                                6) Where to Start ?
                                                                                                                                                                                                                                                                            ●
                                                                                                                                                                                                                                                                              Hydrology in R (wiki)
                                                                                                                                                                                                                                                                            ●
                                                                                                                                                                                                                                                                              R reference card
  3) hydroTSM and hydroGOF                                       # Figure 3: hydroTSM::hydropairs
                                                                 hydropairs(EbroQts[,21:24], main="Correlations among Selected
                                                                                                                                                                                                                                                                            ●
                                                                                                                                                                                                                                                                              Graphics: http://addictedtor.free.fr/graphiques/
                                                                 Daily Streamflow Stations")                                             # Figure 4: hydroTSM::hydrokrige and hydroTSM::mspplot
                                                                                                                                                                                                                                                                            ●
                                                                                                                                                                                                                                                                              Quick R: http://www.statmethods.net/index.html
  hydroTSM is an R package with S3 functions devoted
                                                                                                                                                                                                                                                                            ●
                                                                                                                                                                                                                                                                              R-Spatial: http://r-spatial.sourceforge.net/gallery/
  to management, analysis, interpolation and plot of
                                                                                                                                                                                                                                                                            ●
                                                                                                                                                                                                                                                                              CSRL: http://casoilresource.lawr.ucdavis.edu/drupal/node/100
  hydrological time series, mainly oriented to provide
                                                                                                                                                                                                                                                                            ●
                                                                                                                                                                                                                                                                              Manuals: http://cran.r-project.org/manuals.html
  support to hydrological modelling tasks.
                                                                                                                                                                                                                                                                            ●
                                                                                                                                                                                                                                                                              Packages: http://cran.r-project.org/web/packages/
                                                                                                                                                                                                                                                                            ●
                                                                                                                                                                                                                                                                              Search engine: http://www.rseek.org/, R Site search
  hydroGOF is an R package with S3 functions
  providing both, numerical and graphical goodness-of-fit
   measures between observed and simulated time
                                                                                                                                                                                                                                                                            7) References             :




  series.                                                                                                                                                                                                                                                                   ●
                                                                                                                                                                                                                                                                                Jones, O., R. Maillardet, A., Robinson. (2009). Introduction to Scientific
                                                                                                                                                                                                                                                                                Programming and Simulation Using R. 472pp. Chapman & Hall/CRC.
                                                                                                                                                                                                                                                                                Boca Raton, FL.
  Both packages will be soon available on the R website.                                                                                                                                                                                                                    ●
                                                                                                                                                                                                                                                                                Spector, P. 2008. Data Manipulation with R. 154pp. Springer-Verlag,
  Contributions are particularly welcome.                                                                                                                                                                                                                                       Carey, NC. ISBN 978-0-387-74730-9.
                                                                                                                                                                                                                                                                            ●
                                                                                                                                                                                                                                                                                Applied Spatial Data Analysis with R. Series: Use R. Bivand, Roger S.,
                                                                                                                                                                                                                                                                                Pebesma, Edzer J., Gomez-Rubio, Virgilio. 2008. ISBN: 978-0-387-
                                                                # Fig 5: hydroGOF:plotbands                                                                     # Fig 6: hydroGOF:ggof
                                                                                                                                                                                                                                                                                78170-9

Más contenido relacionado

Último

Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxcallscotland1987
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 

Último (20)

Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 

Destacado

PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationErica Santiago
 

Destacado (20)

PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 

R: A Statistical Environment for doing Hydrological Analysis and Modelling (EGU 2010)

  • 1. R: A statistical environment for hydrological analysis R: A statistical environment for hydrological analysis Zambrano-Bigiarini, Mauricio and Bellin, Alberto Zambrano-Bigiarini, Mauricio and Bellin, Alberto Dep. of Civil and Environmental Engineering, Faculty of Engineering, Università degli Studi di Trento, Trento, Italy Dep. of Civil and Environmental Engineering, Faculty of Engineering, Università degli Studi di Trento, Trento, Italy Abstract:EGU2010-13008 Session: HS4.22/EOS13 e-mail: mauricio.zambrano@ing.unitn.it e-mail: mauricio.zambrano@ing.unitn.it May 05th , 2010 1) Introduction 4) Packages by thematic area: ● Hydrology: RHydro, HydroMe, hydrogeo, hydrosanity, The free software environment for statistical computing topmodel, wasim, hydroTSM, hydroGOF and graphics “R” has been developed and it is maintained by statistical programmers, with the ● Geostatistics: gstat, automap, geoR, fields, RandomFields support of an increasing community of users with many ● GIS: spgrass6, RSAGA, rgdal, mapproj, sp, maptools RpyGeo, different backgrounds, which allows access to both RGoogleMaps, RArcInfo well-established and experimental techniques. ● Flood frequency: POT, evd, nsRFA, extremes, lmomco ● Programming language interfaces: C, Fortran, Python, Perl, Hydrological modelling practitioners spent large Java (JRI, JGR,...) amount of time in pre- and post-processing data and ● Wavelets: wavelets; wavethresh, wmtsa, Rwave results with traditional instruments. In this work “R” and ● High Performance Computing:snowfall, multicore, jit, nws, some of its packages are presented as powerful tools Rmpi, snow, taskPR to explore and extract patterns from raw information, to pre-process input data of hydrological models, and ● Optimization: DEoptim, optim post-processing its results. In particular, examples are ● Spreadsheets & DB: RPostgreSQL, RMySQL, RSQLite, taken from analyzing 30-years of daily data for a basin RNetCDF, RexcelInstaller, xlsReadWrite of 85000 km2, saving a large amount of time that could # Figure 2: hydroTSM::hydroplot; hydroTSM::sname2plot; ## Plotting the streamflows at station "Q093" ● Other statistical software ( e.g, S, SAS, SPSS, Stata, Systat, data(EbroQts) # Loading the streamflow dataset sname2plot(EbroQts, sname="Q093", dates=1, var.type="Flow") be better spent in doing analysis. Minitab): foreign # Figure 1: hydroTSM::matrixplot ● Bayesian statistics: BAS, BLR, ensembleBMA, evdbayes, # Matrix with the days with information per year in selected stations LearnBayes, ramps, spBayes,... info <- dwi(EbroQts[,61:110], out.unit="years", dates=EbroQts[,1]) ● Latex: xtable,pgfSweave # Plotting the previous matrix, with custom title matrixplot(info, main="Nº of Days with Information (1961-1990) n in ● Data Mining: Rweka, rattle, party, RandomForest, ... 2) Why an hydrologist should the Selected Streamgauges") invest time in trying R ? 5) At the end... : ● Many ready-to-use algorithms. "R" is a valuable environment to support undergraduate and ● Existing functions, graphics and packages can be graduate education in hydrology, since it is helpful to capture the easily adapted to particular needs. main features of large amount of data; it is a flexible and fully ● Write once, use many times. functional programming language, able to be interfaced to ● Large and active user community. existing Fortran and C code and well suited to the ever growing ● Documentation is available in several languages. demands of hydrological analysis; and finally because it is a ● Multi-platform (GNU/Linux, MacOS, Windows). promising environment for tackling most of the practical problems ● Open Source. that reality poses to the hydrological modeller. ● Free :) 6) Where to Start ? ● Hydrology in R (wiki) ● R reference card 3) hydroTSM and hydroGOF # Figure 3: hydroTSM::hydropairs hydropairs(EbroQts[,21:24], main="Correlations among Selected ● Graphics: http://addictedtor.free.fr/graphiques/ Daily Streamflow Stations") # Figure 4: hydroTSM::hydrokrige and hydroTSM::mspplot ● Quick R: http://www.statmethods.net/index.html hydroTSM is an R package with S3 functions devoted ● R-Spatial: http://r-spatial.sourceforge.net/gallery/ to management, analysis, interpolation and plot of ● CSRL: http://casoilresource.lawr.ucdavis.edu/drupal/node/100 hydrological time series, mainly oriented to provide ● Manuals: http://cran.r-project.org/manuals.html support to hydrological modelling tasks. ● Packages: http://cran.r-project.org/web/packages/ ● Search engine: http://www.rseek.org/, R Site search hydroGOF is an R package with S3 functions providing both, numerical and graphical goodness-of-fit measures between observed and simulated time 7) References : series. ● Jones, O., R. Maillardet, A., Robinson. (2009). Introduction to Scientific Programming and Simulation Using R. 472pp. Chapman & Hall/CRC. Boca Raton, FL. Both packages will be soon available on the R website. ● Spector, P. 2008. Data Manipulation with R. 154pp. Springer-Verlag, Contributions are particularly welcome. Carey, NC. ISBN 978-0-387-74730-9. ● Applied Spatial Data Analysis with R. Series: Use R. Bivand, Roger S., Pebesma, Edzer J., Gomez-Rubio, Virgilio. 2008. ISBN: 978-0-387- # Fig 5: hydroGOF:plotbands # Fig 6: hydroGOF:ggof 78170-9