Desktop Database and Climate Analysis Steven Burian and Erfan Goharian Hydroinformatics Fall 2013.

Slides:



Advertisements
Similar presentations
What is MySQL? MySQL is a relational database management system (A relational database stores data in separate tables rather than putting all the data.
Advertisements

Chapter 10 ADO. What is ADO? ADO is a Microsoft technology ADO stands for ActiveX Data Objects ADO is a programming interface to access data in a database.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 1 Introduction to Database Management.
1 Foundations of Software Design Lecture 27: Java Database Programming Marti Hearst Fall 2002.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
Chapter 1 Introduction to Database Management. McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Welcome! Database technology:
SQL Server 2008 Basmah AlQadheeb-213 MIS What is a Database ? A database is a collection of Data that is organized so that it can easily be accessed,
MBAC 611.  We have been using MS Access to query and modify our databases.  MS Access provides a GUI (Graphical User Interface) that hides much of the.
IT – DBMS Concepts Relational Database Theory.
Overview of SQL Server Alka Arora.
Session 5: Working with MySQL iNET Academy Open Source Web Development.
 Introduction Introduction  Purpose of Database SystemsPurpose of Database Systems  Levels of Abstraction Levels of Abstraction  Instances and Schemas.
1 INTRODUCTION TO DATABASE MANAGEMENT SYSTEM L E C T U R E
Introduction to Database Management. 1-2 Outline  Database characteristics  DBMS features  Architectures  Organizational roles.
Dr. Mohamed Osman Hegazi 1 Database Systems Concepts Database Systems Concepts Course Outlines: Introduction to Databases and DBMS. Database System Concepts.
NMED 3850 A Advanced Online Design January 12, 2010 V. Mahadevan.
Database Design and Management CPTG /23/2015Chapter 12 of 38 Functions of a Database Store data Store data School: student records, class schedules,
Team Members Team Members Tim Geiger Joe Hunsaker Kevin Kocher David May Advisor Dr. Juliet Hurtig November 8, 2001.
1 Why Learn About Database Systems? Database systems process and organize large amounts of data Examples –Marketing manager can access customer data –Corporate.
Web Server Administration Chapter 7 Installing and Testing a Programming Environment.
Course FAQ’s I do not have any knowledge on SQL concepts or Database Testing. Will this course helps me to get through all the concepts? What kind of.
DATABASE CONNECTIVITY TO MYSQL. Introduction =>A real life application needs to manipulate data stored in a Database. =>A database is a collection of.
Implementation of a Relational Database as an Aid to Automatic Target Recognition Christopher C. Frost Computer Science Mentor: Steven Vanstone.
ECMM6018 Enterprise Networking For Electronic Commerce Tutorial 6 CGI/Perl and databases.
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
Databases and SQL CSCI 201L Jeffrey Miller, Ph.D. HTTP :// WWW - SCF. USC. EDU /~ CSCI 201 USC CSCI 201L.
Modeling with WEAP University of Utah Hydroinformatics - Fall 2015.
Automating Entering Data in WEAP and Scenario Analysis Erfan Goharian Hydroinformatics Fall 2013.
UNIVERSITY OF UTAH GREEN INFRASTRUCTURE MONITORING DATABASE CVEEN 7970 Hydroinformatics Semester Project Zachary Magdol, Jai Kanth Panthail, Pratibha Sapkota,
Fundamental of Database Systems
MILESTONES IN SOFTWARE
2nd year Computer Science & Engineer
Fundamental of Databases
Databases (CS507) CHAPTER 2.
آشنایی با نرم افزار Microsoft Access
DBMS & TPS Barbara Russell MBA 624.
Introduction to Dynamic Web Programming
Automating Entering Data in WEAP and Scenario Analysis
Database System Concepts and Architecture
Lecture 8 Database Implementation
Introduction to Web programming
Principles of Software Development
Created by Kamila zhakupova
Impact of Climate Change on Water Resources
CS1222 Using Relational Databases and SQL
ICT Database Lesson 1 What is a Database?.
PHP / MySQL Introduction
Database System Concepts and Architecture
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
System And Application Software
What is Database? A database is a collection of data with defined structure and purpose. Data can easily be accessed, managed, and updated. Data can be.
Chapter 6 System and Application Software
What Are Databases? Organized by Dr. Farrokh Alemi PhD
Content of Presentation
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
Chapter 10 ADO.
Tutorial 6 PHP & MySQL Li Xu
CS1222 Using Relational Databases and SQL
CS1222 Using Relational Databases and SQL
Install MySQL Community Server and MySQL Workbench
Database Management Systems
DATABASES WHAT IS A DATABASE?
MIS2502: Data Analytics MySQL and MySQL Workbench
Chapter 6 System and Application Software
Chapter 6 System and Application Software
Chapter 6 System and Application Software
Introduction of Week 5 Assignment Discussion
Web Application Development Using PHP
CS1222 Using Relational Databases and SQL
Presentation transcript:

Desktop Database and Climate Analysis Steven Burian and Erfan Goharian Hydroinformatics Fall 2013

Module Overview Goal: Apply hydroinformatics skills to analyze climate impacts on hydrologic response and water system reliability in SLC Activities: Climate Data: CMIP5 Databases: MySQL and TOAD WEAP hydrologic modeling WEAP water management modeling Automation and Analysis using WEAP

Class 20 Learning Objectives Access climate change projection data Create a desktop database Load hydroclimate data in MySQL using TOAD Analyze climate data for trends and changes with Excel, TOAD, and MySQL

Climate Change BCCA CMIP3 Daily Climate Analysis example - Calendar-day, ensemble- mean change in 20-year diurnal temperature range Mean-Annual precipitation change (%), CMIP3, to

Why is Climate Change Important for Water Managers?

General Circulation Models Numerical models representing physical processes in the atmosphere, ocean, cryosphere and land surface Most advanced tools currently available Three dimensional grid Their resolution is quite coarse to evaluate the impact on water resources

Coupled Model Intercomparison Project phase 5 (CMIP5) Archive of fine spatial resolution of climate projections over US Updated archive, May 2013: 234 projections of monthly data 134 projections of daily data Resolution: 1/8° latitude-longitude (~12km by 12 km) Time Coverage: Variables: precipitation maximum temperature minimum temperature

Example

High-Resolution Climate Data With the CI-WATER project, we are increasing the horizontal resolution of climate model output from 100- km to 4-km using a physically-based regional model (WRF) with an explicit lake and urban irrigation scheme. Dr. Court Strong University of Utah

Accessing Climate Projection Data

Known facts in various types of text, graphics, images, sound and videos. Data

Manages data: saving, sorting, querying, processing, … Database

Collection of data stored and retrieved by database software. Definition, creation, querying, update, and administration of database Well-known DBMSs: MySQL, PostgreSQL, SQLite, Microsoft SQL Server, Oracle, SAP, dBASE, FoxPro, IBM DB2, LibreOffice Base and FileMaker Pro.MySQLPostgreSQLSQLiteMicrosoft SQL Server OracleSAPdBASEFoxProIBM DB2LibreOffice BaseFileMaker Pro  Database management systems (DBMSs): Data organization Facilitating data analysis Improving reproducibility and capacity for data re-use.

 SQL: a computer language for accessing data, both to store and to retrieve it. What is MySQL Supports use of SQL to access data A computer program to handle data - manage, store and find them as efficiently as possible Used by programs that run on websites World’s most popular open source relational database  MySQL

 A client/server system consists of a multi-threaded SQL server and supports different backends, several different client programs and libraries, administrative tools, and a wide range of application programming interfaces (APIs). MySQL Database Software MySQL client: main interface command line MySQL Server: server that responds to requests and commands MySQL Workbench: tool for database architects, developers, and DBAs MySQL products

 MySQL is a relational database management system that use SQL language. MySQL language Structured Query Language Used to communicate with a database Standard language for RDMSs Statements to update data on a database, retrieve data from a database, and more Standard SQL commands such as "Select", "Insert", "Update", "Delete", "Create", and "Drop" can be used to accomplish much that one needs to do with a database SQL

MySQL Server Setup  Creating an administrator password for MySQL  MySQL products installed on the computer  Full installation of MySQL

 Creating database in MySQL  Create a user burian is the Username and “burian" is the password

Toad for MySQL A freeware development tool for the management of a MySQL database Rapidly create and execute queries, automate database object management, and develop SQL code more efficiently Provides utilities to compare, extract, and search for objects; manage projects; import/export data; and administer the database Dramatically increases productivity and provides access to an active user community

 Quickly create and execute queries  Automate database object management  Develop SQL code more efficiently  Compare, extract, and search for objects  Manage projects  Import/export data  Administer databases  Increase productivity  Access an active user community Toad helps to

Toad setup  The Toad for MySQL main window

Connect Toad to Database

Creating Tables in Toad

Analyzing Data in Toad

Query Data from MySQL Workbench Select avg(value_rcp85) from pc_pr where 1970<=year and year<=1999; Result: 2.16 This the average precipitation for Parleys creek between 1970 to 1999

Next Session Create a hydrologic model and water supply system model in WEAP Download and install WEAP, review Users Manual, and complete the “one-hour” tutorial before Thursday’s class Homework: Your task for Homework Assignment #9 is to do for the three creeks (Parley’s, Big Cottonwood, and City Creek) and then compare your analysis from MySQL to what you already have from figure 3 and 4 of “CMIP5 analyzer- example.xls” file.