HOW TO IMPORT DATA TO SOBEK Created by: Vu Minh Tue National University of Singapore With help of Nguyen Hoang Huy Team blue RED TEAM INCHEON 2008.

Slides:



Advertisements
Similar presentations
Introduction to Excel This class is “HANDS-ON” you will need to open up an excel spreadsheet and do examples as you go along. Students will be able to.
Advertisements

BASIC SKILLS AND TOOLS USING ACCESS
(MICROSOFT EXCEL). Is a spreadsheet application designed to take advantage of the windows graphical interface MICROSOFT EXCEL.
Setting up Articles Throughout this slide show there will be hyperlinks (highlighted in blue) follow the hyperlinks to navigate to the specified Topic.
Chapter 10 Excel: Data Handling or What do we do with all that data?
1 After completing this lesson, you will be able to: Create a database. Create a table using the Table Wizard. Create and modify a table in Design view.
KompoZer. This is what KompoZer will look like with a blank document open. As you can see, there are a lot of icons for beginning users. But don't be.
Outlook Contacts Export Guideline Powered by DonorCommunity TM DonorCommunity eLearning Series v1.2, September 2012 Outlook Contacts Export Guideline Outlook.
X-Media V2.0 Healthcare Training Jayex Technology Limited X-Media V2.0 March 2010 v
Microsoft Excel 2003 To start Excel, click the start button. A slightly different procedure might be required for computers on a network. If you need assistance,
Office 2003 Post-Advanced Concepts and Techniques M i c r o s o f t Excel Project 7 Using Macros and Visual Basic for Applications (VBA) with Excel.
Using Macros and Visual Basic for Applications (VBA) with Excel
Developing an Excel Application
1 After completing this lesson, you will be able to: Create a workbook. Understand Microsoft Excel window elements. Select cells. Enter text, numbers,
2 nd HYDROASIA ~ The Application of Hydroinformatics Systems in Urban flow Analysis by SOBEK Team Purple
Chapter 1 Databases and Database Objects: An Introduction
COMPREHENSIVE Access Tutorial 2 Building a Database and Defining Table Relationships.
FIRST COURSE Access Tutorial 2 Building a Database and Defining Table Relationships.
Spreadsheet. Objectives Create a new blank workbook. Create a new blank workbook. Identify user interface elements that you can use to accomplish basic.
COMPREHENSIVE Excel Tutorial 8 Developing an Excel Application.
Laboratory Exercise # 13 – Font and Number Format Styles Office Productivity Tools 1 Laboratory Exercise # 13 Font and Number Format Styles Objectives:
1 Microsoft Project 2003 Chapter 5 Setting Up Resources.
September 5, 2015 Office Setup. Lesson Overview: Office Setup  In this lesson we will cover:  Adding new offices to COM  Individual office setup 
Working with Worksheet
Copyright © Texas Education Agency, All rights reserved. 1 Web Technologies Website Development with Dreamweaver.
Web Technologies Website Development Trade & Industrial Education
Project 9 Using Visual Basic for Applications (VBA) to Customize and Automate Excel Jason C. H. Chen, Ph.D. Professor of Management Information Systems.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. WORD 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 22 Macros.
 Starting Excel 2003  Using Help  Workbook Management  Cursor Management  Manipulating Data  Using Formulae and Functions  Formatting Spreadsheet.
Website Development with Dreamweaver
CHAPTER 13 Creating a Workbook Part 2. Learning Objectives Work with cells and ranges Work with formulas and functions Preview and print a workbook 2.
® Microsoft Office 2013 Access Building a Database and Defining Table Relationships.
Introduction to Canvas K-5
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Lesson 1 Introduction.
Creating Buttons – Lesson 51 Creating Buttons Lesson 5.
® Microsoft Office 2010 Building a Database and Defining Table Relationships.
Chapter 12 Creating a Worksheet.
XP New Perspectives on Integrating Microsoft Office XP Tutorial 3 1 Integrating Microsoft Office XP Tutorial 3 – Integrating Word, Excel, Access, and PowerPoint.
Get up to speed Get to work in Excel The first lesson helped you get oriented to the new look of Excel Now it’s time to get to work. Say you’ve got.
® Microsoft Office 2010 Integrating Word, Excel, Access, and PowerPoint.
Chapter 9 Macros And Visual Basic For Applications.
Intermacs Form Download Excel Tutorial Pivot Tables, Graphic Tools, Macros By: Devin Koehl.
Estimating Crop ET from Satellite Section 1. download satellite data and visualization-V8.
Unit 3: Text, Fields & Tables DT2510: Advanced CAD Methods.
HOW TO IMPORT DATA TO MOUSE Created by: Vu Minh Tue National University of Singapore Consultant: Baeck Seung Hyub Incheon University, South Korea RED TEAM.
You’ll Make a spreadsheet which will be like a Mad Libs Game. These Are The Directions.
AUTOMATED HCES WORKSHEETS OM400, OM500, JB1200 Prepared by OCM 10/27/2008.
Chapter 10 Using Macros, Controls and Visual Basic for Applications (VBA) with Excel Microsoft Excel 2013.
COMPUTER SKILLS MS-ACCESS. Introduction Access is a piece of software known as a database management system. At its most basic level, it can be used to.
1 Word Processing Intermediate Using Microsoft Office 2000.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Using Macros Lesson.
Get to work in Excel Lesson 2 By the end of this lesson you will be able to complete the following: Find everyday commands on the Ribbon such as Cut, Copy,
Lesson 1: Learning Worksheet Fundamentals Microsoft Office Excel 2003 Lesson 1 Learning Worksheet Fundamentals.
Enlisted Association of the National Guard of the United States Data Extract Instructional Guide.
Excel Tutorial 8 Developing an Excel Application
Access Tutorial 2 Building a Database and Defining Table Relationships
After completing this lesson, you will be able to:
Microsoft Excel.
Microsoft Office Illustrated
Microsoft Office Illustrated
Exchanging Data with Other Programs
Microsoft Excel 2007 – Level 1
Excel: Excel Basics Participation Project
Access Tutorial 2 Building a Database and Defining Table Relationships
Access Tutorial 2 Building a Database and Defining Table Relationships
IBM SCPM PIT Data Download/Upload
IBM SCPM PIT Data Download/Upload
Spreadsheets and Data Management
Fundamentals of Using Excel
Presentation transcript:

HOW TO IMPORT DATA TO SOBEK Created by: Vu Minh Tue National University of Singapore With help of Nguyen Hoang Huy Team blue RED TEAM INCHEON 2008

Objectives In order to import network data (manholes, pipes, nodes) to SOBEK, MOUSE has been used as an intermediate model that imports data from excel file and exports to Svk19 (Scandinavian Exchange Format ), which is the importable file for SOBEK

INPUT FILES: Excel file: “Import data into MOUSE” from Hydroasia website Cross-section file: provided “Incheon_CRS.MEX” Please refer to the “Import_to_MOUSE.ppt” to know how to import data into MOUSE

PROCEDURE After importing data to MOUSE Project\Export…\Export text files and choose option: “GeometryTXT(svk19)” Press “Execute” and choose the name to export. For example: “Incheon.txt” Done, now you no longer use MOUSE anymore!!! Close it

PROCEDURE Open SOBEK and choose New Project Enter name: ex “Incheon” Choose Case\New\ then 3 blocks will appear in yellow This manual only deals with the block “import network” Double click on “import network”

PROCEDURE Choose option “Import Suf-HYD” network and press OK Keep the default value in the table

PROCEDURE Browse to the file exported in Svk19 format “Incheon.txt” and press OK. Click No for HGF requirement Select blank for the District code, and press OK

PROCEDURE Importing DONE Not difficult? Not yet… come on to experience our problem

PROBLEMS Thing is not easy with the stubborn input file and so is this case. After finishing importing data to Sobek, we realize that there are some problems with the network data: –Some nodes are not connected in order –The storage and bottom area for manholes have default value, i.e 100 and it’s very difficult to input those values for more than 2600 nodes manually.

PROBLEMS - Analysed Problems are analysed and finally we figure out that all the faults are blamed for MOUSE. Since when MOUSE exports data to Svk19 format, the Node IDs are limited to 7 characters only. If the node ID’s name exceeds 7 characters then it will be taken out the first 7 characters from that long name i.e: PM => PM02186

PROBLEMS - Analysed So there will be some nodes having the same IDs. Whilst the links are kept unchanged, the links will connect to wrong nodes. => First problem solved.

PROBLEMS - Analysed Second problem is the default storage area for all manhole. The task block import Suf-HYD does not provide us any option to import storage area to manholes, so we need to do it manually or by programming. Here, I write some small codes to do it. Thanks to God that Sobek has an option to copy and paste tabular data and here we go. The platform using is excel

PROBLEMS – Input file From the excel file “Import data into Mouse”, change the name for the whole workbook (3 sheets: catchment, node and link) with following criterias: –PM0xxxxxx  axxxxxx –M0xxxxxx  bxxxxxx –M1xxxxxx  cxxxxxx By doing this, all the Node IDs will have maximum 7 characters and will not be cut when exporting to svk19 file

PROBLEMS - Import Now the input file is created. Do import this file into MOUSE and export to SVK19 file. Using Sobek to import this file. The network now is the best with perfect links and nodes.

PROBLEMS – Storage area In order to match the area in catchment tab in excel file with the storage area of the manhole in Sobek, we use a simple macro code, written by me. This module can be downloaded from this link:

PROBLEMS – Storage area Open a blank excel file, go to: Tool\Macro\Visual Basic Editor The Microsoft Visual Basic window appears Select File\Import File and browse to the downloaded module. Close this window.

PROBLEMS – Storage area Open Sobek and open the netter of Incheon region. Select\Select by rectangle Drag the cross pointer to surround all the network. Right click at the selected area and choose Model data\Flow model

PROBLEMS – Storage area -Multiple Data editor window appears -On the left panel of the window, select from the tree: Flow-Manhole with runoff\Manhole Click on ID, the whole table is selected press Edit\Copy

PROBLEMS – Storage area -Now the data in this table is copied. -Paste to excel -In the “import data to MOUSE.xls”, choose tab catchment -List the value of “LOCATION” column in AtoZ order -Copy all the data in this worksheet -Paste to cells (K,6) on the same worksheet that was pasted the data from Sobek -And ??? What do we do. Let’s see the most important part

PROBLEMS – Storage area -Sample is displayed below:

PROBLEMS – Storage area -Select Tool\Macro\Macro -PERSONAL.xls!Incheon_couple_Sobek_ MOUSE -Wait for 1 minute for the program to run -The result will appear in column J. -Note that result is in “ha”, you will need to multiply this value with 10,000 to convert to m 2. -Copy this column and paste back to the table in Sobek.

PROBLEMS – Storage area -The sample of the final file is also uploaded to our webpage. Come and download it at: -

All thing done, phew!!! Good luck