22
DWH-Ahsan Abdullah DWH-Ahsan Abdullah 1 Data Warehousing Data Warehousing Lecture-37 Lecture-37 Case Study: Agri-Data Warehouse Case Study: Agri-Data Warehouse Virtual University of Virtual University of Pakistan Pakistan Ahsan Abdullah Assoc. Prof. & Head Center for Agro-Informatics Research www.nu.edu.pk/cairindex.asp FAST National University of Computers & Emerging Sciences, FAST National University of Computers & Emerging Sciences, Islamabad Islamabad

DWH-Ahsan Abdullah 1 Data Warehousing Lecture-37 Case Study: Agri-Data Warehouse Virtual University of Pakistan Ahsan Abdullah Assoc. Prof. & Head Center

Embed Size (px)

Citation preview

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

11

Data Warehousing Data Warehousing Lecture-37Lecture-37

Case Study: Agri-Data WarehouseCase Study: Agri-Data Warehouse

Virtual University of PakistanVirtual University of Pakistan

Ahsan AbdullahAssoc. Prof. & Head

Center for Agro-Informatics Researchwww.nu.edu.pk/cairindex.asp

FAST National University of Computers & Emerging Sciences, IslamabadFAST National University of Computers & Emerging Sciences, Islamabad

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

22

Background Background

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

33

Area under study Area under study

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

44

Area under study: Map Area under study: Map

Key Markaz1 Bosan2 Qadirpurran3 Multan 4 Makhdum Rashid5 Mumtazabad6 Shujabad7 Hafizwala8 Jalalpur Pirwala9 Qasba Marral

GraphicsGraphics

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

55

Major Players Major Players

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

66

Pests & PredatorsPests & Predators

Pests Predators

Source: United States Department of Agriculture (USDA)

GraphicsGraphics

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

77

Economic Threshold Level (ETL_A)Economic Threshold Level (ETL_A)

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

88

ETL_A: GraphETL_A: Graph

Time

ETL_A

Pe

st P

opu

latio

nEconomic Injury

GraphicsGraphics

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

99

The need The need

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

1010

The need: IT in Agriculture The need: IT in Agriculture

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

1111

Agro-Informatics Agro-Informatics “I.T. sector is at the heart of the economic revival of

Pakistan” President of Pakistan, Launching of VU, Mar. 23, 2003.

Agriculture is the backbone of our economy, about 70% of the population is dependent on it.

IT is an enabler, and has the potential to benefit everyone when applied in Agriculture.

IT + Agriculture: A win-win scenario.

ALL Goes to graphics

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

1212

Agro-Informatics: Interesting URL Agro-Informatics: Interesting URL

To know more about Agro-Informatics, visit

www.nu.edu.pk/cairindex.asp

ALL Goes to graphics

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

1313

How to go about? How to go about?

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

1414

The 12-step Approach of Shaku Atre The 12-step Approach of Shaku Atre

ALL Goes to graphics

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

1515

Step-1: Determine User’s needs Step-1: Determine User’s needs

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

1616

Step-1: Determine Users needs Step-1: Determine Users needs

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

1717

Steps-2&3: Determine DBMS Sever & Hardware Platform Steps-2&3: Determine DBMS Sever & Hardware Platform

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

1818

Step-4: Information & Data Modeling Step-4: Information & Data Modeling

Dimensional ModelingDimensional ModelingGraphicsGraphics

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

1919

Simplified ERDSimplified ERD

Step-4: Information & Data Modeling Step-4: Information & Data Modeling

Other field inputs such as irrigation, fertilizer etc. not included as data not available

GraphicsGraphics

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

2020Logical & Physical DesignLogical & Physical Design

Step-4: Information & Data Modeling Step-4: Information & Data Modeling

(optional)

KEYWFN: White Fly NymphWFA: White Fly Adult

W: WhiteB: Brown

S: Small LarvaeL: Large Larvae

GraphicsGraphics

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

2121

Step-5: Construct Metadata Repository Step-5: Construct Metadata Repository

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

2222

Step-5: Surprise case Step-5: Surprise case

-0.2

-0.15

-0.1

-0.05

0

0.05

0.1

0.15

0.2

0.25

0.3Ja

ssid

Wh

iteF

ly_N

ymp

h

Wh

iteF

ly_A

du

lt

Th

rip

Mit

e

SB

W

AB

W_W

hit

e_E

gg

s

AB

W_B

row

n_E

gg

s

AB

W_L

arva

e_S

mal

l

AB

W_L

arva

e_L

arg

e

PB

W_R

F

PB

W_B

olls

Cor

rela

tion

Ball Worm ComplexSucking pests

SBW: Spotted Ball WormABW: Army Ball WormPBW: Pink Ball Worm

If pest population is low, predator population will also be low, because there will be less “food” for predators to live on i.e. pests.

GraphicsGraphics