Algebraic Manipulation of Scientific Datasets Bill Howe and David Maier OGI School of Science and Engineering at Oregon Health and Science University Portland.

Slides:



Advertisements
Similar presentations
Three-Step Database Design
Advertisements

The Relational Model and Relational Algebra Nothing is so practical as a good theory Kurt Lewin, 1945.
CS CS4432: Database Systems II Logical Plan Rewriting.
Concepts of Database Management Sixth Edition
Concepts of Database Management Seventh Edition
INFS614, Fall 08 1 Relational Algebra Lecture 4. INFS614, Fall 08 2 Relational Query Languages v Query languages: Allow manipulation and retrieval of.
1 Relational Algebra & Calculus. 2 Relational Query Languages  Query languages: Allow manipulation and retrieval of data from a database.  Relational.
CS447/ Realistic Rendering -- Solids Modeling -- Introduction to 2D and 3D Computer Graphics.
By relieving the brain of all unnecessary work, a good notation sets it free to concentrate on more advanced problems, and, in effect, increases the mental.
CMPT 354, Simon Fraser University, Fall 2008, Martin Ester 52 Database Systems I Relational Algebra.
Midterm Review Lecture 14b. 14 Lectures So Far 1.Introduction 2.The Relational Model 3.Disks and Files 4.Relational Algebra 5.File Org, Indexes 6.Relational.
Data Product Suite Problem: Design, Implementation, and Assimilation of new data products is expensive. Constraints: Efficiency  15K+ daily images, 1GB+
UMass Lowell Computer Science Advanced Algorithms Computational Geometry Prof. Karen Daniels Spring, 2001 Lecture 4 Chapter 6: Arrangements Monday,
Three Flavors of Data Science Data Simulations and Sensor Readings Catalog Data Metadata; descriptors of datasets, data products and other processing artifacts.
1 Relational Algebra. 2 Relational Query Languages Query languages: Allow manipulation and retrieval of data from a database. Relational model supports.
Upside-down Drawing Product Design Sketching Activity.
CS 4432query processing - lecture 131 CS4432: Database Systems II Lecture #13 Query Processing Professor Elke A. Rundensteiner.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 6 The Relational Algebra and Relational Calculus.
CS 4432logical query rewriting - lecture 151 CS4432: Database Systems II Lecture #15 Logical Query Rewriting Professor Elke A. Rundensteiner.
Complex Model Construction Mortenson Chapter 11 Geometric Modeling
Visualization of Graph Data CS 4390/5390 Data Visualization Shirley Moore, Instructor October 6,
By relieving the brain of all unnecessary work, a good notation sets it free to concentrate on more advanced problems, and, in effect, increases the mental.
1 Relational Algebra and Calculus Yanlei Diao UMass Amherst Feb 1, 2007 Slides Courtesy of R. Ramakrishnan and J. Gehrke.
Rutgers University Relational Algebra 198:541 Rutgers University.
Midterm 1 Concepts Relational Algebra (DB4) SQL Querying and updating (DB5) Constraints and Triggers (DB11) Unified Modeling Language (DB9) Relational.
1 Relational Algebra and Calculus Chapter 4. 2 Relational Query Languages  Query languages: Allow manipulation and retrieval of data from a database.
Observatories as Integrators Bill Howe, Phd David Maier,Maseeh Professor of Emerging Techologies, Portland State University Claudio Silva, University of.
8. Geographic Data Modeling. Outline Definitions Data models / modeling GIS data models – Topology.
CSE314 Database Systems The Relational Algebra and Relational Calculus Doç. Dr. Mehmet Göktürk src: Elmasri & Navanthe 6E Pearson Ed Slide Set.
1 The Relational Database Model. 2 Learning Objectives Terminology of relational model. How tables are used to represent data. Connection between mathematical.
Algebraic Operations. Goals Add and subtract algebraic expressions and simplify like terms by applying commutative, associative, and distributive properties.
RELATIONAL ALGEBRA CHAPTER 6 1. LECTURE OUTLINE  Unary Relational Operations: SELECT and PROJECT  Relational Algebra Operations from Set Theory  Binary.
Math9 project-ABC Book by: Jeffrey May Teacher: Mrs. burton.
Relational Algebra  Souhad M. Daraghma. Relational Query Languages Query languages: Allow manipulation and retrieval of data from a database. Relational.
1 Relational Algebra & Calculus Chapter 4, Part A (Relational Algebra)
1 Relational Algebra and Calculas Chapter 4, Part A.
1.1 CAS CS 460/660 Introduction to Database Systems Relational Algebra.
Relational Algebra.
ICS 321 Fall 2011 The Relational Model of Data (i) Asst. Prof. Lipyeow Lim Information & Computer Science Department University of Hawaii at Manoa 8/29/20111Lipyeow.
1 Relational Algebra Chapter 4, Sections 4.1 – 4.2.
Visual Computing Geometric Modelling 1 INFO410 & INFO350 S2 2015
Database Management Systems 1 Raghu Ramakrishnan Relational Algebra Chpt 4 Xin Zhang.
Visualizing Spatial and Temporal Variability in Coastal Observatories Walter H. Jimenez Wagner T. Correa Claudio T. Silva Antonio M. Baptista OGI School.
L1-Spatial Concepts NGEN06 & TEK230: Algorithms in Geographical Information Systems by: Irene Rangel, updated by Sadegh Jamali 1.
CMPT 258 Database Systems Relational Algebra (Chapter 4)
CS654: Digital Image Analysis
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 6 The Relational Algebra and Relational Calculus.
Advanced Visualization Overview. Course Structure Syllabus Reading / Discussions Tests Minor Projects Major Projects For.
Modeling K The Common Core State Standards in Mathematics Geometry Measurement and Data The Number System Number and Operations.
Data Products and Product Management Bill Howe June 3, 2003.
CHAPTER 2 : RELATIONAL DATA MODEL Prepared by : nbs.
C OMPUTATIONAL R ESEARCH D IVISION 1 Defining Software Requirements for Scientific Computing Phillip Colella Applied Numerical Algorithms Group Lawrence.
Onlinedeeneislam.blogspot.com1 Design and Analysis of Algorithms Slide # 1 Download From
1 ■Use function notation to represent and evaluate a function. ■Find the domain and range of a function. ■Sketch the graph of a function. ■Identify different.
1. 2 Translations Stretches Reflections Combinations 1. Function Transformations Horizontal Vertical x-axis y-axis y = x Inverse Relations FRSTFRST 3.
Key Ideas In Content Math 412 January 14, The Content Standards Number and Operations Algebra Geometry Measurement Data Analysis and Probability.
1 Ullman et al. : Database System Principles Notes 6: Query Processing.
Data Grids, Digital Libraries and Persistent Archives: An Integrated Approach to Publishing, Sharing and Archiving Data. Written By: R. Moore, A. Rajasekar,
Relational Algebra & Calculus
Relational Algebra 461 The slides for this text are organized into chapters. This lecture covers relational algebra, from Chapter 4. The relational calculus.
Chapter 3 The Relational Database Model
Relational Algebra.
Relational Algebra Chapter 4, Sections 4.1 – 4.2
Year 1 Number – number and place value
Neutrosophic Mathematical Morphology for Medical Image
Laura Bright David Maier Portland State University
Relational Algebra & Calculus
Presentation transcript:

Algebraic Manipulation of Scientific Datasets Bill Howe and David Maier OGI School of Science and Engineering at Oregon Health and Science University Portland State University

Environmental Observation and Forecasting on the Columbia River Sensors Simulation Data Products

Gridded Scientific Datasets  C 12.6  C 13.1  C 13.2  C 12.8  C 12.5  C

Some CORIE Grids H = 2d Horizontal Grid T = 1d Time Grid V = 1d Vertical Grid Mean Sea Level Underground (not shown)

Thesis Grid topology requires explicit data model support. Transformations can be expressed via composition of a few logical operators. Performance can be preserved via algebraic optimization and specialized operator implementations.

Roadmap DomainIntroduction Model Introduction Conventional Approaches Examples of Optimization Conclusion

Grid Topology –A collection of cells of various dimensions, –implicit or explicit incidence relationships 1 A B m n o p q 2-Cells0-Cells A0 A1 A3 B1 B2 B3 1-Cells0-Cells m 0 m 1 n 1 n 2 : : 2-Cells = {A,B} 1-Cells = {m,n,o,p} 0-Cells = {0,1,2,3}

Grid Properties Topology <> geometry A grid may contain cells of –multiple dimensions –multiple “shapes” Dimension of a grid is the maximum dimension of its cells 1 A B m n o p q 4 r

GridField: Grid with Bound Data Tuples of numeric primitives Total functions over cells of dimension k Two gridfields may share a grid xysalttemp x1y x2y x3y x4y fluxarea

Roadmap DomainIntroduction Model Introduction Conventional Approaches Examples of Optimization Conclusion

1) Modeling with Relations trivial join dependency embedded in the key –decomposition won’t help –no notion of “grid” xytsalttemp x1y x2y x3y x4y x1y x2y x3y x4y Node Data cidfluxarea a b c Cell Data G G cidxy ax1y1 ax2y2 ax4y4 bx2y2 ::: Incidence

2) Spatial Extensions Incidence relationship dependent on geometry rather than topology Geometry information redundantly defined in nodes and cells No concept of a “grid”: impedance mismatch with visualization applications Node::Pointtsalttemp Point(x1,y1) Point(x2,y2) Point(x3,y3) Point(x4,y4) Point(x1,y1) Point(x2,y2) Point(x3,y3) Point(x4,y4) Node Data Cell::Polygonfluxarea Polygon(Point(x1,y1),…) Polygon(Point(x2,y2),…) Polygon(Point(x1,y1),…) Cell Data

3) Visualization Libraries Different algorithms, each dependent on data characteristics. Programmer’s responsibility to match algorithms with data Logical equivalences are obscured vtkExtractGeometry vtkThreshold vtkExtractGrid vtkExtractVOI vtkThresholdPoints Grid restriction: With VTK: restrict

Roadmap DomainIntroduction Model Introduction Conventional Approaches Examples of Optimization Conclusion

associate grids with data combine grids topologically reduce a grid using data values transform grids or data bind (b) union, intersection, cross product (  ) restrict (r) aggregate (a) TaskOperator Operators

Restrict Semantics restrict(<24) Values bound to 0-cells (nodes) Values bound to 2-cells (triangles)

Working With GridFields  H : (x,y,b) V : (z) r(z>b ) b(s) r(region) rende r HV (H  V) r(H  V) b(r(H  V))r(b(r(H  V))) “wetgrid”

Optimize: Push Restricts salt,temp defined on G Materialize pointers to elements of salt, temp Bind salt, temp to a subgrid of G, G ' G = s1s1 s2s2 s3s3 s4s4 s5s5 t1t1 t2t2 t3t3 t4t4 t5t5 :::: G' = s1s1 s3s3 s5s5 :::: t1t1 t3t3 t5t5 salt = temp = salt' = temp' =  r(p(x,y)) r(p(z)) r(z>b ) b(s) H : (x,y,b) V : (z)

Optimization Results

Horizontal Slice  H(x,y,b) V(z) r(z>b) b(s ) slice H(x,y,b) r(z>b) b(s ) apply

Transect (Vertical Slice)  H(x,y,b) V(z) r(z>b) b(s) “join”  P P  V

Transect (Vertical Slice) V(z) P H(x,y,b) “join” b(s)  “join” A B C P 

A

B C

Transect Optimizations