ENVIMODEL - FOSS4G2010.foss4g.org/presentations/3699.pdf · ENVIMODEL scientific workflow and...

29
ENVIMODEL scientific workflow and geoprocessing for climate change FBK-MPBA Predictive Models for Biomedicine and Environment Team: Riccardo De Filippi, Claudia Dolci, Shamar Droghetti, Vanni Tomasi, Calogero Zarbo, Cesare Furlanello

Transcript of ENVIMODEL - FOSS4G2010.foss4g.org/presentations/3699.pdf · ENVIMODEL scientific workflow and...

Page 1: ENVIMODEL - FOSS4G2010.foss4g.org/presentations/3699.pdf · ENVIMODEL scientific workflow and geoprocessing for climate change FBK-MPBA Predictive Models for Biomedicine and Environment

ENVIMODEL scientific workflow and

geoprocessing for climate change

FBK-MPBAPredictive Models for Biomedicine and Environment

Team: Riccardo De Filippi, Claudia Dolci, Shamar Droghetti, Vanni Tomasi, Calogero Zarbo, Cesare Furlanello

Page 2: ENVIMODEL - FOSS4G2010.foss4g.org/presentations/3699.pdf · ENVIMODEL scientific workflow and geoprocessing for climate change FBK-MPBA Predictive Models for Biomedicine and Environment

Presentation Roadmap

Concept and architectureENVIRO

The spatial temporal database EnviDB

To map vulnerability to climate change EnviMapper

A framework to integrate and share data, analysis tools and modelsEnviModel

Results summary and future tasksOutlook

A quick tour (Sept 2010)Demo

Page 3: ENVIMODEL - FOSS4G2010.foss4g.org/presentations/3699.pdf · ENVIMODEL scientific workflow and geoprocessing for climate change FBK-MPBA Predictive Models for Biomedicine and Environment

• New-generation WebGIS that interfaces agricultural plant-pathogen research models with rich catalogues of geographical resourcesand experimental data

• Both viable for research and decision-making, with a strong support of reproducibility

• Structure: hub platform for climate change and environmental risk studies

ENVIRO concept

Page 4: ENVIMODEL - FOSS4G2010.foss4g.org/presentations/3699.pdf · ENVIMODEL scientific workflow and geoprocessing for climate change FBK-MPBA Predictive Models for Biomedicine and Environment

ENVIRO concept

• Research• Decision making• Reproducibility• Meta information• Collaboration &

interaction

• Cluster• GPGPU• Cloud

computing

• Climate change hub• Regional scale • Plant and pathogen

Experimental data

• OGC• Interoperability• Accessibility

WEBSpatial temporal data

Model

HP computing

Page 5: ENVIMODEL - FOSS4G2010.foss4g.org/presentations/3699.pdf · ENVIMODEL scientific workflow and geoprocessing for climate change FBK-MPBA Predictive Models for Biomedicine and Environment

OGC WebServicesfor geodata

OGC WebServicesfor geoprocesses

EnviDB

ENVIRO essentials

1

2 3

Page 6: ENVIMODEL - FOSS4G2010.foss4g.org/presentations/3699.pdf · ENVIMODEL scientific workflow and geoprocessing for climate change FBK-MPBA Predictive Models for Biomedicine and Environment

SOSReal time observation

CC scenarios

PrudenceWORLDCLIM

Vector dataStatistical data

Raster maps

Interpolationalgorithms

Temp

EnviDB

1

Geoserver

WMS WCS WFS-T

PN

G /

JP

G

XM

L /

UR

L

Geo

TIFF

XM

L /

UR

L

XM

L (G

ML)

XM

L /

UR

L

Mapgeneration

ReadRaster

Read/EditVector

OpenLayer

GeoExt ExtJS

Apache / Tomcat

Nasa World Wind

2Info

Charts

Data

Model Workflow

Orchestration Engine

Moograph

Meta Information

Webworkflowinterface

Sample data

pyWPS 52n WPS

WPSgetData

vector/raster

3Risk models

Page 7: ENVIMODEL - FOSS4G2010.foss4g.org/presentations/3699.pdf · ENVIMODEL scientific workflow and geoprocessing for climate change FBK-MPBA Predictive Models for Biomedicine and Environment

More then 1,5 TB spatial temporal data– Meteotrentino 600 GB, future climate projections 300 GB

• Context map– Aerial photo, hillshade, Open Street Map (OSM)

• Static spatial data– Cadastral vineyards, municipalities, places names

• Variable spatial data– Climate data, plants and pathogens models

1. EnviDB

EnviDB

Page 8: ENVIMODEL - FOSS4G2010.foss4g.org/presentations/3699.pdf · ENVIMODEL scientific workflow and geoprocessing for climate change FBK-MPBA Predictive Models for Biomedicine and Environment

– Cadastral vineyards: “potenziale viticolo”

Catasto1.621.280 parcels

Potenzialeviticolo

Catasto Viticolo46.781 parcels• Number of tree stumps• Irrigation• Cultivation form• Plan spacing• Variety• ……….

Data (year 2)

Catasto viticolo

Page 9: ENVIMODEL - FOSS4G2010.foss4g.org/presentations/3699.pdf · ENVIMODEL scientific workflow and geoprocessing for climate change FBK-MPBA Predictive Models for Biomedicine and Environment

– Continuous surface for T, P (daily and hourly) 2001-2008

– Prudence

• 12km spatial resolution

• Daily t min, t max, prec

• control 1980-1990

• Scenarios: 2071-2100

Data/2

(Prudence project 2010, http://prudence.dmi.dk/)

Page 10: ENVIMODEL - FOSS4G2010.foss4g.org/presentations/3699.pdf · ENVIMODEL scientific workflow and geoprocessing for climate change FBK-MPBA Predictive Models for Biomedicine and Environment

2.enviMapper

Map vulnerability to climate change at different aggregation scales (time, space)

– Map: set of tools to interact with spatial temporal data

–Time slider: spatial data in

multi temporal scale

Page 11: ENVIMODEL - FOSS4G2010.foss4g.org/presentations/3699.pdf · ENVIMODEL scientific workflow and geoprocessing for climate change FBK-MPBA Predictive Models for Biomedicine and Environment

enviMapper (mockup 2010)

Page 12: ENVIMODEL - FOSS4G2010.foss4g.org/presentations/3699.pdf · ENVIMODEL scientific workflow and geoprocessing for climate change FBK-MPBA Predictive Models for Biomedicine and Environment

Vector data

Statistical data

Geoserver

WMS WCS WFS-T

PN

G /

JP

G

XM

L /

UR

L

Geo

TIFF

XM

L /

UR

L

XM

L (G

ML)

XM

L /

UR

L

Map

generatio

n

Read

Raster

Read/Edit

Vector

Raster maps

OpenLayer

GeoExt ExtJS

SOSReal time observation

Interpolationalgorithms

Apache / Tomcat

Tem

p

Nasa

World

Wind

CC

scenario

s

Ensambles (regional)WORLDCLIM (global)

enviDB

Page 13: ENVIMODEL - FOSS4G2010.foss4g.org/presentations/3699.pdf · ENVIMODEL scientific workflow and geoprocessing for climate change FBK-MPBA Predictive Models for Biomedicine and Environment

Export a map different formats

Map

Export map

Save map

Add a context mapAerial photo, hillshade, Open Street Map OSM, etc.

Add a static layer Wine cadastral, pathogens sampling points, etc.

Add a variable in time Climate, plant, pathogen, bio index etc.

To inform user on layer propertiesLayer list, legend, layer metadata

Save a map to load again or to share

Base Map

Add Data

Add Variables

Info panel

Page 14: ENVIMODEL - FOSS4G2010.foss4g.org/presentations/3699.pdf · ENVIMODEL scientific workflow and geoprocessing for climate change FBK-MPBA Predictive Models for Biomedicine and Environment

Tool to animate maps in time

– Hourly, daily, weekly, monthly, yearly

Time Slider

Day1Week1

Day2 Day3 Day4 Day5 Day6Day7

Week2Day8 Day9 Day10 Day11 Day12 Day13

Day14Week3

time

Page 15: ENVIMODEL - FOSS4G2010.foss4g.org/presentations/3699.pdf · ENVIMODEL scientific workflow and geoprocessing for climate change FBK-MPBA Predictive Models for Biomedicine and Environment

3.enviModel

• Framework to integrate and share data, analysis tools and models for plant and pathogen behavior and their interaction

– Collaboration, interaction, reproducibility, Web application

• Scientific workflows

• Metadata

Page 16: ENVIMODEL - FOSS4G2010.foss4g.org/presentations/3699.pdf · ENVIMODEL scientific workflow and geoprocessing for climate change FBK-MPBA Predictive Models for Biomedicine and Environment

EnviModel

Geoprocesses

Data

History

Save Execute Cancel Export

Vitis Vinifera•Phenology

•Chardonnay•Pinot Noir

Malus comunis•Phenology

General tools•Save result•Overlay

Bounding box

Projection

Resolution

Scientific Paper

Sample data

Vitis Vinifera PhenologyInput:

Output:Related

PrecipitationSeries Temperature

Series

Page 17: ENVIMODEL - FOSS4G2010.foss4g.org/presentations/3699.pdf · ENVIMODEL scientific workflow and geoprocessing for climate change FBK-MPBA Predictive Models for Biomedicine and Environment

• Web Geoprocessing engine

– WPS technology

• Web interface for scientific workflows

– Galaxy tested as an ENVIRO component

– JSPlumb + ExtJS

• Orchestration engine

– Galaxy

– Kepler and Hydrant actual testing phase (Pratt, 2010)

• Tools for metadata

Main features

Page 18: ENVIMODEL - FOSS4G2010.foss4g.org/presentations/3699.pdf · ENVIMODEL scientific workflow and geoprocessing for climate change FBK-MPBA Predictive Models for Biomedicine and Environment

Geoserver

WMS WCS WFS-T

PN

G /

JP

G

XM

L /

UR

L

Geo

TIFF

XM

L /

UR

L

XM

L (G

ML)

XM

L /

UR

L

Map

generatio

n

Read

Raster

Read/Edit

Vector

OpenLayer

GeoExt ExtJS

SOSReal time observation

Apache / Tomcat

Info

Charts

Data

Workflow

getData

vector/raster

Moograph

Meta

Information

Webworkflow

interface

Nasa

World

Wind Sample

data

CC

scenarios

Ensambles (regional)WORLDCLIM (global)

pyWPS 52n WPS

WPS

Risk

models

Vector data

Statistical dataRaster maps

Interpolationalgorithms

Temp

enviDB

Orchestration

Engine

Page 19: ENVIMODEL - FOSS4G2010.foss4g.org/presentations/3699.pdf · ENVIMODEL scientific workflow and geoprocessing for climate change FBK-MPBA Predictive Models for Biomedicine and Environment

From Model to WPS & Workflows

Model written in R

Modules represented from

workflow tool

Blocks are chained together and

processed

Orchestration Engine

Translated into modules using

GeoTools(Java GIS toolkit)

WXS

Data

Page 20: ENVIMODEL - FOSS4G2010.foss4g.org/presentations/3699.pdf · ENVIMODEL scientific workflow and geoprocessing for climate change FBK-MPBA Predictive Models for Biomedicine and Environment

March 2010 ENVIROCHANGE Workshop“WPS and scientific computing for climate change: informal day”

52north, pyWPS, Zoo Project and applications

• 52north implemented for testing using Geotools

– GeoTIFF via WCS (Web Coverage Service)

– Output loaded in Geoserver via REST plugin

– Models implemented

WPS

1. Lobesia Grape

2. Powdery Mildew Grape

3. Phenology Chardonnay

4. Botrytis Cinerea Grape

5. Huglin Index

6. Downy Mildew Index in development

7. Mary Blight in development

Page 21: ENVIMODEL - FOSS4G2010.foss4g.org/presentations/3699.pdf · ENVIMODEL scientific workflow and geoprocessing for climate change FBK-MPBA Predictive Models for Biomedicine and Environment

• Web scientific workflow editor for Bioinformatics– Written mainly in Python

• Model interactions – Create, Edit, Execute, Share, Model metadata

Galaxy ttp://main.g2.bx.psu.edu/

Page 22: ENVIMODEL - FOSS4G2010.foss4g.org/presentations/3699.pdf · ENVIMODEL scientific workflow and geoprocessing for climate change FBK-MPBA Predictive Models for Biomedicine and Environment

– Web workflow interface

– Easy to access and use

– Easy to implement new tools using different programming languages

– Monolithic, hard to integrate

– No API

– Built to use locally stored data

Extending Galaxy for WPS

Page 23: ENVIMODEL - FOSS4G2010.foss4g.org/presentations/3699.pdf · ENVIMODEL scientific workflow and geoprocessing for climate change FBK-MPBA Predictive Models for Biomedicine and Environment

• Web workflow editor provides a means to

visually connect element using a Canvas

element – jQuery or MooTools

– Possible to integrate with ExtJS in the ENVIRO

interface

– OS extend the code and tailor it for ENVIRO

JS Plumb

Page 24: ENVIMODEL - FOSS4G2010.foss4g.org/presentations/3699.pdf · ENVIMODEL scientific workflow and geoprocessing for climate change FBK-MPBA Predictive Models for Biomedicine and Environment

• Chaining processes: Orchestration engineinterprets events submitted to a server and actson them according to defined computer processes

• Galaxy (Python)

• Kepler (Java)

– Both hard to extend

– 52north bpel service (FOSS4G 2010)

Orchestration engine

Page 25: ENVIMODEL - FOSS4G2010.foss4g.org/presentations/3699.pdf · ENVIMODEL scientific workflow and geoprocessing for climate change FBK-MPBA Predictive Models for Biomedicine and Environment

Kepler for Envirochange

Used as orchestration engine (Pratt, 2010)

– Extended to execute requests to WPS

– Created new Java classes that execute WPS request and parses xml outputs

– Servlet to interface with the workflow editor based on JSPlumb

Page 26: ENVIMODEL - FOSS4G2010.foss4g.org/presentations/3699.pdf · ENVIMODEL scientific workflow and geoprocessing for climate change FBK-MPBA Predictive Models for Biomedicine and Environment

– Easy to deploy new actors using Java programming language

– Lots of actors already deployed

– Not a web application

– Kepler Workflow actors quite complex

Extending Kepler for WPS

Page 27: ENVIMODEL - FOSS4G2010.foss4g.org/presentations/3699.pdf · ENVIMODEL scientific workflow and geoprocessing for climate change FBK-MPBA Predictive Models for Biomedicine and Environment

• WPS are the right technology to implement heavy scientific computing on geodata in a multidisciplinary project

• Galaxy represent the state of the art of web scientific workflow interface

• Geoinformation needs a web workflow interface easy to integrate

– Rich API set

– Interface to easy interaction with OGC services

– Orchestration engine that allows the workflow output to be translated into WPS

Conclusions

Page 28: ENVIMODEL - FOSS4G2010.foss4g.org/presentations/3699.pdf · ENVIMODEL scientific workflow and geoprocessing for climate change FBK-MPBA Predictive Models for Biomedicine and Environment

DEMO

Page 29: ENVIMODEL - FOSS4G2010.foss4g.org/presentations/3699.pdf · ENVIMODEL scientific workflow and geoprocessing for climate change FBK-MPBA Predictive Models for Biomedicine and Environment

The end