Top Banner
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
22

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

Dec 31, 2015

Download

Documents

Baldwin Hawkins
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: DWH-Ahsan Abdullah 1 Data Warehousing Lecture-37 Case Study: Agri-Data Warehouse Virtual University of Pakistan Ahsan Abdullah Assoc. Prof. & Head Center.

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

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

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

22

Background Background

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

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

33

Area under study Area under study

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

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

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

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

55

Major Players Major Players

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

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

66

Pests & PredatorsPests & Predators

Pests Predators

Source: United States Department of Agriculture (USDA)

GraphicsGraphics

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

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

77

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

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

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

88

ETL_A: GraphETL_A: Graph

Time

ETL_A

Pe

st P

opu

latio

nEconomic Injury

GraphicsGraphics

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

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

99

The need The need

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

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

1010

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

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

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

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

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

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

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

1313

How to go about? How to go about?

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

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

1414

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

ALL Goes to graphics

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

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

1515

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

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

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

1616

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

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

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

1717

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

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

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

1818

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

Dimensional ModelingDimensional ModelingGraphicsGraphics

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

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

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

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

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

DWH-Ahsan AbdullahDWH-Ahsan Abdullah

2121

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

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

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