CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008




                      GEOFRAME
   a system for doing hydrolog...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008



       GEOtop




                                            ...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008


    JGrass/uDig




               http://www.jgrass.org, http:...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008




                          MODELS




                        ...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008




    Models we are talking about are computer applications


 ...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008


 I - Once a model, design and implemented as a monolithic
softw...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008



II - Independent revisions                  and third-party
co...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008




Q: HOW CAN WE BE MORE “GALILEIAN” ?

A: YES, PRODUCING AND PR...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008


MODELLING, FOR WHO ?
Which end user do you have in mind ?




 ...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008


                   • Prime users: take or prepare decisions at ...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008

            • Coders: implement models, applications and
       ...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008




                Hard   Soft              Linkers   Runners Pl...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008



Thus there exists a “zoo” of users, each one with different ab...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008


 NEW (well relatively) MODELING PARADIGMS
Object-oriented softw...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008




MODELLING BY COMPONENTS
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008


  BENEFITS
   Discrete units of software which are re-usable
  ...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008


 BENEFITS FOR SCIENTISTS

 Tools for studying feedbacks among d...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008


THERE EXIST SUCH MODELING
INFRASTRUCTURE ?
Economic modelling f...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008


THERE EXIST SUCH MODELING
INFRASTRUCTURE ?
Environmental modell...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008


THERE EXIST SUCH MODELING
INFRASTRUCTURE ?

Other modelling sof...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008


THERE EXIST SUCH MODELING
INFRASTRUCTURE ?

Atmospheric Science...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008



AN EXAMPLE OF FURTHER NEEDS




                              ...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008




    GEOtop Equations             Surface Runoff




      Rig...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008




    GEOtop Equations
                Turbulent Sensible and L...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008




          GEOtop Equations             Subsurface Flow




Ri...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008




    GEOtop Equations           Soil Temperature




      Rig...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008



                  Required Data
                              ...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008



Requires Boundary Conditions




AWARE OF HYDROLOGICAL PROCESS...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008


REQUIRES ALSO:

BOUNDARY
CONDITIONS

METEO FORCINGS

PARAMETERS...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008


                       Forcings
                               ...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008


                   Parameters
                                 ...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008



 Required Initial Conditions
                                 ...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008

                            To Sum up
 Equations            Para...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008


                         Besides
    input                   to...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008


                          Models as components
Monitored       ...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008


              Models as components


                          ...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008


                             Decision making


                ...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008


 GEOFRAME
                                                     ...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008



PREREQUISITES
OPEN SOURCE

Programming LANGUAGE          NEUTR...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008



PREREQUISITES
BUILT BY OPEN SOURCE TOOLS

DEPLOYABLE THROUGH T...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008

The complete framework
                                         ...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008


  Java
                                          Eclipse RCP
  ...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008

 Connectivity and web standards
                       DATABASE:...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008

The analysis engine       THE CONSOLE ENGINE: the console engine...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008

The relationship to OpenMI
                            THE OPENM...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008


Strategic calls for cooperation
Statet: it is a small RCP plug-...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008



SNAPSHOTS OF THE SYSTEM ...
It really exists (yes in a pre-alp...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008


GEOcuencas               (modified from Mantilla and Gupta,
200...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008


Snapshot of a DEM of river Adige with subbasin partition




DE...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008


Snapshot of a DEM of river Adige with subbasin partition




  ...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008
                      AdB Adige – CUDAM - Bilancio idrico di supe...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008
                         AdB Adige – CUDAM - Bilancio idrico di s...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008
                         AdB Adige – CUDAM - Bilancio idrico di s...
CUAHSI BIANNUAL– MEETING - BOULDER (CO)nel JULYdell’Adige 2008
              AdB Adige CUDAM - Difesa idrogeologica e bila...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008

Using a modified Pfafstetter enumeration (Verdin and
Verdin, 1999...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008



J-HYDRO: STRUTTURA DELLA RETE
Livello rete 5
Livello rete 4
Li...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008



J-HYDRO: The network structure

Livello rete 4
Livello rete 3
...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008



J-HYDRO: The network structure


Livello rete 3
Livello rete 2...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008



J-HYDRO: The network structure



Livello rete 2
Livello rete ...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008



J-HYDRO: The network structure




Livello rete 1




 JHYDRO
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008


  JGRASS: visualization of the DB



       LAYERS VIEW




DAT...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008

JGRASS: visualization of other data




 JGRASS
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008


Models’ runs




OPENMI MODELS
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008



Models’ runs: monitoring stations




OPENMI MODELS
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008



Rainfall Forcings




OPENMI MODELS
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008



Models’ runs




OPENMI MODELS
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008


Models’ runs: parameters




OPENMI MODELS
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008



Summary of results




OPENMI MODELS
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008



JGRASS: visualization of results




OPENMI MODELS
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008
http://jgrasstechtips.blogspot.com/




            WEB DEPLOYEME...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008



PERSPECTIVES AND CONVERGENCES
    SMF
  E




             rth...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008



PERSPECTIVES AND CONVERGENCES

These above systems are not mut...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008



PERSPECTIVES AND CONVERGENCES
For instance future components c...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008



PERSPECTIVES AND CONVERGENCES
  OMS already provides:

  - Com...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008



PERSPECTIVES AND CONVERGENCES


  At the same time GEOFRAME ca...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008



PERSPECTIVES AND CONVERGENCES



  Unfortunately OMS provides ...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008



PERSPECTIVES AND CONVERGENCES


  Not     OMS (which uses JNat...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008


EPILOGUE

OUR AIM IS NOT TO MODEL
E V E RY T H I N G * O R D O ...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008



Direct Contributors:
Andrea Antonello      JGRASS, JHydro, JCo...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008



     THANKS FOR YOUR ATTENTION

                              ...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008

 http://jgrasstechtips.blogspot.com/
                           ...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008
http://jgrasstechtips.blogspot.com/




Where does the console li...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008

  http://jgrasstechtips.blogspot.com/




Issuing JGRASS commands
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008

  http://jgrasstechtips.blogspot.com/




Issuing GRASS commands
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008

  http://jgrasstechtips.blogspot.com/




Issuing BEANSHELL comm...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008

http://jgrasstechtips.blogspot.com/




                        ...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008

http://jgrasstechtips.blogspot.com/



                         ...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008




 Write your OpenMI code like the one you can find on:
 http://...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008




CREATING A ModelAlgorithmCommandDosomething (MACAD): The abov...
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008




CREATING THE XML FOR THE GUI BUILDER
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008




CREATING AN RCP ACTION TO LAUNCH THE PROGRAM
CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008

  http://jgrasstechtips.blogspot.com/




TRYING IT
Upcoming SlideShare
Loading in …5
×

GEOFRAME: a system for doing hydrology by computer

3,240 views

Published on

GEOFRAME is the infrastructure built around JGrass, J-Hydro and the models GEOtop and NewAge which would allows to perform modern hydrology by computer

Published in: Education, Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
3,240
On SlideShare
0
From Embeds
0
Number of Embeds
51
Actions
Shares
0
Downloads
178
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

GEOFRAME: a system for doing hydrology by computer

  1. 1. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 GEOFRAME a system for doing hydrology by computer R. Rigon, A. Antonello, S. Franceschi, D. Giacomelli, E. Cordano, S. Endrizzi, S. Simoni, M., Dall’Amico, C. Tiso, F. Zanotti University of Trento (IT) - HYDROLOGIS
  2. 2. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 GEOtop Figure modified after Liang et al, 1994 Rigon et al., JHM, 2006, Bertoldi et al., JHM, 2006, Simoni, 2007, Endrizzi, 2007 www.geotop.org University of Trento (IT) - HYDROLOGIS
  3. 3. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 JGrass/uDig http://www.jgrass.org, http://jgrasstechtips.blogspot.com/ University of Trento (IT) - HYDROLOGIS
  4. 4. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 MODELS Mademoiselle Rose, ca. 1820. Eugène Delacroix. IS MODELING SCIENCE ?
  5. 5. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 Models we are talking about are computer applications Equations Parameters Data Mass, momentum and Equation’s constant. In energy conservation. Forcings and time! Chemical observables In space they are transformations usually heterogeneous In the past they were built as monolithic programs IS MODELING SCIENCE ?
  6. 6. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 I - Once a model, design and implemented as a monolithic software entity, has been deployed, its evolution is totally in the hands of the original developers. While this is a good thing for intellectual property rights and in a commercial environment, this is absolutely a bad thing for science and the way it is supposed to progress. Robbed from a CCA presentation IS MODELING SCIENCE ?
  7. 7. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 II - Independent revisions and third-party contributions are nearly impossible and especially when the code is not available. Models falsification (in Popper sense) is usually impossible by other scientists than the original authors. III- Thus, model inter-comparison projects give usually unsatisfying results. Once complex models do not reproduce data it is usually very difficult to determine which process or parameterization was incorrectly implemented. IS MODELING SCIENCE ?
  8. 8. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 Q: HOW CAN WE BE MORE “GALILEIAN” ? A: YES, PRODUCING AND PROMOTING OPEN SOURCE MODELS. THIS HOWEVER IS NOT ENOUGH SINCE MODELS SHOULD B E S T R U C T U R A L LY E A S Y T O UNDERSTAND, DOCUMENT, MODIFY, M A I N TA I N , A N D FAVO R P RO C E S S E S ANALYSIS.
  9. 9. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 MODELLING, FOR WHO ? Which end user do you have in mind ? Baboon, Papius Anubis SCIENTIST ARE NOT THE ONLY MODELS USERS
  10. 10. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 • Prime users: take or prepare decisions at a political level • Technical users: prepare projects or maps Users/Actors for the primary users Modified from Rizzoli et al., 2005 • Other end-users: national agencies, representative groups, etc. They may take or prepare decisions at national or regional level, or represent stakeholder groups. • Model and application developers/ modellers: build models and targeted applications SCIENTIST ARE NOT THE ONLY MODELS USERS
  11. 11. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 • Coders: implement models, applications and tools. • Linkers: link existing models and applications. Modified from Rizzoli et al., 2005 • Runners: execute existing models, but they create and define scenarios. • Players: play simulations and experiments Roles comparing scenarios and making analyses. • Viewers: view the players’ results, have a low level of interaction with the framework. • Providers: provide inputs and data to all other user roles. SCIENTIST ARE NOT THE ONLY MODELS USERS
  12. 12. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 Hard Soft Linkers Runners Player Viewers Providers Roles Coders Coders Users Prime Other End Users Technical Researchers Modified from Rizzoli et al., ,2005 SCIENTIST ARE NOT THE ONLY MODELS USERS
  13. 13. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 Thus there exists a “zoo” of users, each one with different abilities. Bundling data, algorithms and the graphical user interface of a model in an application with the old techniques makes the models very hard to re-use out of its original context. AN ECOLOGY OF MODELS
  14. 14. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 NEW (well relatively) MODELING PARADIGMS Object-oriented software development. O-O programming is nothing new, but it has proven to be a successful key to the design and implementation of modelling frameworks. Modified from Rizzoli et al., 2005 Models and data can be seen as objects and therefore they can exploit properties such as encapsulation, polymorphism, data abstraction and inheritance. Component-oriented software development. Objects (models and data) should be packaged in components, exposing for re-use only their most important functions. Libraries of components can then be re-used and efficiently integrated across modelling frameworks.Yet, a certain degree of dependency of the model component from the framework can actually hinder reuse. MODELLING BY COMPONENTS
  15. 15. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 MODELLING BY COMPONENTS
  16. 16. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 BENEFITS Discrete units of software which are re-usable even outside the framework, both for model components and for tools components. Seamless and transparent access to data, which are made independent of the database layer. A number of tools (simulation, calibration, etc.) that the modeller will be free to use (including a visual modelling environment). A model repository to store your model (and simulations) and to share it with others. MODELLING BY COMPONENTS
  17. 17. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 BENEFITS FOR SCIENTISTS Tools for studying feedbacks among different processes. Encapsulation of single processes or submodels New educational tools and a “storage” of hydrological knowledge using appropriate onthologies MUCH MORE in the field of possibilities MODELLING BY COMPONENTS
  18. 18. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 THERE EXIST SUCH MODELING INFRASTRUCTURE ? Economic modelling frameworks^. GAMS (general algebraic modelling system, http://www.gams.com) and GTAP (global trade analysis program, http:// www.gtap.agecon.purdue.edu ) are some of the most used modelling systems in the agro-economic domain. They can also account for social variables, such as unemployment. ^from Rizzoli et al., (Modeling Framework (SeamFrame) Requirements 2005 MODELLING BY COMPONENTS
  19. 19. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 THERE EXIST SUCH MODELING INFRASTRUCTURE ? Environmental modelling frameworks. If we limit to the agricultural domain, the list is quite limited. There is no ‘real’ framework according to the definition, but APSIM, STICS and CropSyst provide some of the functionalities. In this area SEAMFRAME is an emerging technology. When we consider the water management sector, we find many examples, such as TIME (the invisible modelling environment), IMT, OpenMI, and OMS, and, to a certain respect, JUPITER-API. ^ extended from Rizzoli et al., (Modeling Framework (SeamFrame) Requirements 2005 MODELLING BY COMPONENTS
  20. 20. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 THERE EXIST SUCH MODELING INFRASTRUCTURE ? Other modelling software environments of notable interest are SME, MMS, ICMS, Tarsier, Modcom, Simile, but they are integrated modelling environments, not frameworks. This means that they can be used to perform assessments, analyses, decision support, but they do not provide programming structures such as classes, components, objects, design patterns to be used to create end-user applications. ^from Rizzoli et al., Modeling Framework (SeamFrame) Requirements, 2005 MODELLING BY COMPONENTS
  21. 21. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 THERE EXIST SUCH MODELING INFRASTRUCTURE ? Atmospheric Sciences: Earth Sciences Modeling Framework (ESMF) (including Earth System Curator) High Performance Computing: Common Component Architecture (CCA) MODELLING BY COMPONENTS
  22. 22. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 AN EXAMPLE OF FURTHER NEEDS Figure modified after Liang et al, 1994 Rigon et al., JHM, 2006, Bertoldi et al., JHM, 2006, Simoni, 2007, Endrizzi, 2007 www.geotop.org AWARE OF HYDROLOGICAL PROCESSES
  23. 23. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 GEOtop Equations Surface Runoff Rigon et al., JHM, 2006, Bertoldi et al., JHM, 2006, Simoni, 2007, Endrizzi, 2007 AWARE OF HYDROLOGICAL PROCESSES
  24. 24. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 GEOtop Equations Turbulent Sensible and Latent Heat Exchanges Rigon et al., JHM, 2006, Bertoldi et al., JHM, 2006, Simoni, 2007, Endrizzi, 2007 AWARE OF HYDROLOGICAL PROCESSES
  25. 25. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 GEOtop Equations Subsurface Flow Rigon et al., JHM, 2006, Bertoldi et al., JHM, 2006, Simoni, 2007, Endrizzi, 2007 AWARE OF HYDROLOGICAL PROCESSES
  26. 26. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 GEOtop Equations Soil Temperature Rigon et al., JHM, 2006, Bertoldi et al., JHM, 2006, Simoni, 2007, Endrizzi, 2007 AWARE OF HYDROLOGICAL PROCESSES
  27. 27. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 Required Data - Digital Elevation Model (and derived geomorphic information - as lakes, river networks, hillslopes - and geomorphometric information - like contributing areas, slopes, curvatures) - Sky View Factor - Vegetation and Land Use (for interception, ET, surface roughness) - Soil Depth, Texture and Type (for hydraulic and thermal properties) Rigon et al., JHM, 2006, Bertoldi et al., JHM, 2006, Simoni, 2007, Endrizzi, 2007 AWARE OF HYDROLOGICAL PROCESSES
  28. 28. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 Requires Boundary Conditions AWARE OF HYDROLOGICAL PROCESSES
  29. 29. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 REQUIRES ALSO: BOUNDARY CONDITIONS METEO FORCINGS PARAMETERS INITIAL CONDITIONS METHODS OF INITIALIZATION
  30. 30. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 Forcings - Precipitation (quantity and type, spatially distributed) - Relative humidity (spatially distributed) - Wind Speed and direction (spatially distributed) - Solar Radiation (spatially distributed) AWARE OF HYDROLOGICAL PROCESSES
  31. 31. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 Parameters - Soil Parameters (e.g. van Genuchten) - Surface roughness (for water celerity) - Bulk aerodynamic properties - Ice and snow properties - Atmosphere radiative properties AWARE OF HYDROLOGICAL PROCESSES
  32. 32. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 Required Initial Conditions - Soil moisture (profile, in terms of matric potential, spatially distributed) - Soil temperature (profile, spatially distributed) - Surface water (if present) - Snow cover (if present)
  33. 33. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 To Sum up Equations Parameters Data Mass, momentum Equation’s and energy constant. In time! Forcings and conservation. observables In space they are Chemical heteorgeneous transformations Data Assimilation. Calibration, Numerics, Data Models. derivation from boundary and Tools for Analysis. proxies initial conditions AWARE OF HYDROLOGICAL PROCESSES
  34. 34. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 Besides input tools output CLIMATE forecast models scenarios expert human systems expertise forecasting StAtistics field observations MODELLING BY COMPONENTS REPRISE
  35. 35. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 Models as components Monitored Evapotranspiration data Weather Surfaces Surfaces Interception Runoff Generator Weather Subsurface Flow Forecast http://www.openmi.org, http://www.openmi-life.org/, http://public.wldelft.nl/display/OPENMI/Home MODELLING BY COMPONENTS REPRISE
  36. 36. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 Models as components Channel Routing Evapotranspiration 1 Surfaces Channel Routing Runoff II Channel Routing Subsurface Flow III http://www.openmi.org, http://www.openmi-life.org/, http://public.wldelft.nl/display/OPENMI/Home MODELLING BY COMPONENTS REPRISE
  37. 37. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 Decision making EVALUATION OF STRATEGIES EVALUATION OF STRATEGIES THROUGH EVALUATION OF STRATEGIES THROUGH MODELS THROUGH MODELS MODELS DATA INTERPRETATION STRATEGIES FOR POLICY MAKERS DATA INTERPRETATION STRATEGIES FOR POLICY MAKERS DATA INTERPRETATION STRATEGIES FOR POLICY MAKERS MODELLING BY COMPONENTS REPRISE
  38. 38. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 GEOFRAME external users web database Interfaces (Java/udig/JGrass/BeeGIS) Analysis Models Tools (UNITN/R) (UNITN/OpenMI) Database (PostgresSQL/PostGIS/HSQL/H2/CUAHSI) DEPLOYEMENT
  39. 39. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 PREREQUISITES OPEN SOURCE Programming LANGUAGE NEUTRAL PLATFORM NEUTRAL: Windows, Linus and Mac BUSINNES NEUTRAL: GPL would be fine, LGPL better TARGETED AT PERSONAL PRODUCTIVITY OF DIFFERENT USERS People come before program efficiency. DEPLOYEMENT
  40. 40. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 PREREQUISITES BUILT BY OPEN SOURCE TOOLS DEPLOYABLE THROUGH THE WEB ALLOWS WRAPPING OF EXISTING CODES BUT PROMOTES BETTER PROGRAMMING STRATEGIES DATA BASE PROVIDED CUAHSI SPECIFICATIONS AWARE OGC COMPLIANT CAN BE ENDOWED WITH ONTOLOGIES DEPLOYEMENT
  41. 41. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 The complete framework Eclipse RCP uDig JGrass PostGIS Postgres GIS engine J-Console Engine OpenMI Web The Horton UIBuilder services Machine WMS Models WFS-T H2 spatial WPS GRASS BeeGIS DEPLOYEMENT
  42. 42. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 Java Eclipse RCP uDig JGrass BeeGIS SOLIDITY: The framework bases on the solid fundaments of the Eclipse RCP framework first created by IBM. CONNECTIVITY and USERFRIENDLYNESS: The GIS framework is based on the uDig GIS framework, specialized in accessibility and remote connections ANALYSIS: The JGrass extentions define a layer of powerful GIS analysis tools and a straight connection to the GRASS GIS MOBILITY: The BeeGIS extentions supply tools for digital field surveying DEPLOYEMENT
  43. 43. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 Connectivity and web standards DATABASE: The GIS framework is ready to connect to Database: external relational databases as postgres, mysql or PostGIS-Postgres oracle. To spatial data servers like postgis, Oracle H2 spatial spatial and Arcsde. It also comes with an internal spatial database based on H2 (no indexing yet)‫.‏‏‬ It would be fairly easy to create connections to RESTful? RESTful services to acquire data. Web services W E B S E R V I C E S A N D S TA N D A R D W E B PROTOCOLS: The framework supports OGC WMS web standards like the web mapping service WFS-T (WMS), the web feature service, also in transactional format (WFS-T). An efforth for soon WPS the web processing service is ongoing. DEPLOYEMENT
  44. 44. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 The analysis engine THE CONSOLE ENGINE: the console engine supplies a framework for modeling J-Console Engine development and scripting environment for fast methodology testing.The engine OpenMI contains already masses of modules called The Horton Horton Machine for various terrain Machine analyses as well as a stability model and hydrologic models. Also the engine gives access to the GRASS Models analysis modules. THE STANDALONE MODE: The need for GRASS usage of the modelling environment on supercomputer defined a heavily decoupled design for the console engine. The framework defines a strict interface between GUI and analysis engine, which makes it easy to exploit the console engine in standalone mode on server-side. DEPLOYEMENT
  45. 45. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 The relationship to OpenMI THE OPENMI ENGINE: the console engine exposes  a compiler for an OpenMI based modeling OpenMI language.This gives a way to write scripts to execute openmi chained models. The Horton THE OGC STANDARDS EXTENTION: The need  Machine for big vector and raster data forced the team to extend the OpenMI standard interfaces with two GIS Models OGC standards: the OGC feature model the OGC grid coverage service (in prototype mode)‫‏‬ OGC IN JGRASS: the OGC feature and grid coverage models are served by the geotools libraries. The coverage model is based on the Java Advanced Imaging library and supports tilecaching for processing of large dataset. Coverage data are passed to native languages as C, C++ and Fortran through the easy adoptable JNA libraries. DEPLOYEMENT
  46. 46. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 Strategic calls for cooperation Statet: it is a small RCP plug-in coordinated by Stephan Wahlbrink for working with R scripts and documentations. R is quot;a language and environment for statistical computing and graphicsquot;. The autor has already been contacted. Talend – Spatial data integrator: CampToCamp develops a psatial data integrator based on Talend. A first meeting was made to discuss architectural issues. By end of the year the developers of JGrass and SDI will meet to prototype connectivities between the the softwares. AND TO EVERYBODY OF GOOD WILL OBVIOUSLY! DEPLOYEMENT
  47. 47. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 SNAPSHOTS OF THE SYSTEM ... It really exists (yes in a pre-alpha version)! DEPLOYEMENT
  48. 48. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 GEOcuencas (modified from Mantilla and Gupta, 2005) Meteo ET Forcings Reservoirs Snow and intakes Runoff and Routing modeling DEPLOYEMENT
  49. 49. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 Snapshot of a DEM of river Adige with subbasin partition DEPLOYEMENT
  50. 50. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 Snapshot of a DEM of river Adige with subbasin partition active nodes DEPLOYEMENT
  51. 51. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 AdB Adige – CUDAM - Bilancio idrico di superficie di primo livello Active means that they are connected to db information hydrometers reservoirs returns meteo stations JHYDRO
  52. 52. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 AdB Adige – CUDAM - Bilancio idrico di superficie di primo livello Active means that they are connected to db information • Monitoring stations: hydrometers reservoirs returns meteo stations JHYDRO
  53. 53. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 AdB Adige – CUDAM - Bilancio idrico di superficie di primo livello Active means that they are connected to db information • Monitoring stations: hydrometers reservoirs returns withdraws meteo stations JHYDRO
  54. 54. CUAHSI BIANNUAL– MEETING - BOULDER (CO)nel JULYdell’Adige 2008 AdB Adige CUDAM - Difesa idrogeologica e bilancio idrico - bacino 14-16 The database is based upon ArcHydro (Maidment, 2002) DEPLOYEMENT
  55. 55. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 Using a modified Pfafstetter enumeration (Verdin and Verdin, 1999) First Level third level second level JHYDRO
  56. 56. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 J-HYDRO: STRUTTURA DELLA RETE Livello rete 5 Livello rete 4 Livello rete 3 Livello rete 2 Livello rete 1 JHYDRO
  57. 57. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 J-HYDRO: The network structure Livello rete 4 Livello rete 3 Livello rete 2 Livello rete 1 JHYDRO
  58. 58. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 J-HYDRO: The network structure Livello rete 3 Livello rete 2 Livello rete 1 JHYDRO
  59. 59. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 J-HYDRO: The network structure Livello rete 2 Livello rete 1 JHYDRO
  60. 60. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 J-HYDRO: The network structure Livello rete 1 JHYDRO
  61. 61. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 JGRASS: visualization of the DB LAYERS VIEW DATABASE CONNECTION JGRASS
  62. 62. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 JGRASS: visualization of other data JGRASS
  63. 63. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 Models’ runs OPENMI MODELS
  64. 64. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 Models’ runs: monitoring stations OPENMI MODELS
  65. 65. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 Rainfall Forcings OPENMI MODELS
  66. 66. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 Models’ runs OPENMI MODELS
  67. 67. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 Models’ runs: parameters OPENMI MODELS
  68. 68. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 Summary of results OPENMI MODELS
  69. 69. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 JGRASS: visualization of results OPENMI MODELS
  70. 70. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 http://jgrasstechtips.blogspot.com/ WEB DEPLOYEMENT OF THE DEVELOPERS SETUP
  71. 71. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 PERSPECTIVES AND CONVERGENCES SMF E rth System CURATOR Ea OM S
  72. 72. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 PERSPECTIVES AND CONVERGENCES These above systems are not mutually exclusive they have many features that can be integrated in each of the systems, for sure in GEOFRAME. It is to suppor t cooperation and reinforce interoperability among these characteristics. And we, GEOframers offer our unselfish collaboration.
  73. 73. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 PERSPECTIVES AND CONVERGENCES For instance future components could adopt the ESMF as modeling infrastructure. Strength: This would allow interoperability with the Atmospheric Science work. Weaknesses: At the moment using the infrastructure is not as easy as it could be. Documentation is very FORTRANISH and more examples should be added for C/C++ programmers. An effort should me made to compile the whole thing using Eclipse, besides than using makefiles.
  74. 74. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 PERSPECTIVES AND CONVERGENCES OMS already provides: - Components descriptions -Tools for adding a component - Model Wizard - Descriptions of Model Attribute Connectivity - Connection to COLAB which could be added to GEOFRAME probably almost “as is”
  75. 75. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 PERSPECTIVES AND CONVERGENCES At the same time GEOFRAME can provide to OMS: - a Java interconnected GIS system - a Java database for storing data information - The J-console for scripting and dealing also with OpenMI compliant models
  76. 76. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 PERSPECTIVES AND CONVERGENCES Unfortunately OMS provides mechanism for component linking different from OpenMI. However OpenMI is a set of interfaces which is pretty much evolving and this is the right time to make efforts for interoperability.
  77. 77. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 PERSPECTIVES AND CONVERGENCES Not OMS (which uses JNative) nor GEOFRAME* (which uses JNA) have a system for binding different languages codes. Thus there is room to adopt CCA (or other) solutions, if they result feasible. *Nor OpenMI on which GEOFRAME is based
  78. 78. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 EPILOGUE OUR AIM IS NOT TO MODEL E V E RY T H I N G * O R D O A M O D E L O F EVERYTHING BUT GIVE A SPACE WERE DIFFERENT, EVEN CONTRADICTORY, IDEAS, AND DATA CAN BE EXPLOITED IN A WAY WHICH PROPELS COLLABORATIVE EFFORTS BY SCIENTISTS AND USERS. *“Correctly interpreted, you know, pi contains the entire history of the human race.” -Dr. Irving Joshua Matrix, from M. Gardner, “The magic numbers of dr. Matrix”
  79. 79. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 Direct Contributors: Andrea Antonello JGRASS, JHydro, JConsole, core developer and architect Giacomo Bertoldi GEOtop developer (energy budgets, vegetation) Emanuele Cordano GEOtop developer (Richards equation, I/O) Matteo Dall’Amico GEOtop developer (permafrost, GEOtop-mono) Stefano Endrizzi GEOtop developer (energy budgets, snow, permafrost) Silvia Franceschi JGRASS models developer and architect Davide Giacomelli JHydro developer Andreas Hamm JConsole developer Marco Pegoretti GEOtop developer (surface runoff and routing) John Preston JGrass ver. 1 and 2 core developer Riccardo Rigon GEOFRAME architect Silvia Simoni GEOtop developer (Richards equation), GEOtop-FS developer Christian Tiso GEOtop power user, apostle and Horton Machine developer Paolo Verardo GEOtop developer (Radiation budgets) Fabrizio Zanotti GEOtop-FS developer, GEOtop power user and apostle Erica Ghesla, Andrea Cozzini, Silvano Pisoni and others contributed to the Horton Machine
  80. 80. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 THANKS FOR YOUR ATTENTION Numerics Statistics Dance, Henry Matisse, Hotel Biron early 1909 Hydrology Geography Analytics
  81. 81. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 http://jgrasstechtips.blogspot.com/ J-Console is the core to open OpenMI to modellers University of Trento (IT) - HYDROLOGIS
  82. 82. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 http://jgrasstechtips.blogspot.com/ Where does the console live ?
  83. 83. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 http://jgrasstechtips.blogspot.com/ Issuing JGRASS commands
  84. 84. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 http://jgrasstechtips.blogspot.com/ Issuing GRASS commands
  85. 85. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 http://jgrasstechtips.blogspot.com/ Issuing BEANSHELL commands
  86. 86. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 http://jgrasstechtips.blogspot.com/ BTW YOU CAN USE THE CONSOLE WITHOUT JGRASS
  87. 87. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 http://jgrasstechtips.blogspot.com/ IT IS EASY TO CREATE YOUR COMMAND
  88. 88. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 Write your OpenMI code like the one you can find on: http://jgrasstechtips.blogspot.com/search/label/console
  89. 89. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 CREATING A ModelAlgorithmCommandDosomething (MACAD): The above is the list of the available MACADs ... add your own
  90. 90. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 CREATING THE XML FOR THE GUI BUILDER
  91. 91. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 CREATING AN RCP ACTION TO LAUNCH THE PROGRAM
  92. 92. CUAHSI BIANNUAL MEETING - BOULDER (CO) - JULY 14-16 2008 http://jgrasstechtips.blogspot.com/ TRYING IT

×