CHyM tutorial Marco Verdecchia – Trieste, September 8/9, 2011.

Slides:



Advertisements
Similar presentations
Debugging ACL Scripts.
Advertisements

Easily retrieve data from the Baan database
CA Software Change Manager for Mainframe r12 Overview of Rapid Implementation Page based on Title Slide from Slide Layout palette. Design is cacorp 2006.
Configuration management
Configuration management
1 Installing Cantera 1.6 for Windows S. Browne and J.E. Shepherd Caltech January 2007.
Copyright © 2008 Pearson Addison-Wesley. All rights reserved. Chapter 12 Separate Compilation Namespaces Simple Make Files (Ignore all class references.
CSI 101 Elements of Computing Spring 2009 Lecture #2 Development Life Cycle of a Computer Application Monday January 26th, 2009.
FORTRAN Short Course Week 4 Kate Thayer-Calder March 10, 2009.
Systems Analysis and Design in a Changing World, 6th Edition
Writing Methods. Create the method Methods, like functions, do something They contain the code that performs the job Methods have two parts.
Principles of Procedural Programming
1 Introduction to Tool chains. 2 Tool chain for the Sitara Family (but it is true for other ARM based devices as well) A tool chain is a collection of.
1 ENG236: ENG236: C++ Programming Environment (2) Rocky K. C. Chang THE HONG KONG POLYTECHNIC UNIVERSITY.
The NCAR Command Language (NCL) Ethan Alpert Visualization and Enabling Technologies Section, SCD, NCAR.
Donald Stark National Center for Atmospheric Research (NCAR) The Developmental Testbed Center (DTC) Wednesday 29 June, 2011 GSI Fundamentals (1): Setup.
CFT Offline Monitoring Michael Friedman. Contents Procedure  About the executable  Notes on how to run Results  What output there is and how to access.
CBPM System Overview (Part I?) 19 September 2012Beam Instrumentation Meeting1.
What is Sure BDCs? BDC stands for Batch Data Communication and is also known as Batch Input. It is a technique for mass input of data into SAP by simulating.
Implementation Yaodong Bi. Introduction to Implementation Purposes of Implementation – Plan the system integrations required in each iteration – Distribute.
An intro to programming. The purpose of writing a program is to solve a problem or take advantage of an opportunity Consists of multiple steps:  Understanding.
Software Engineering 2003 Jyrki Nummenmaa 1 CASE Tools CASE = Computer-Aided Software Engineering A set of tools to (optimally) assist in each.
Java Programming, 3e Concepts and Techniques Chapter 3 Section 65 – Manipulating Data Using Methods – Java Applet.
 To explain the importance of software configuration management (CM)  To describe key CM activities namely CM planning, change management, version management.
Introduction to Matlab & Data Analysis
I3PropagatorMMC module Dmitry Chirkin, LBNL IceCube meeting, Uppsala, 2004.
1 計算機程式設計 Introduction to Computer Programming Lecture01: Introduction and Hello World 9/10/2012 Slides modified from Yin Lou, Cornell CS2022: Introduction.
Introduction to Eclipse CSC 216 Lecture 3 Ed Gehringer Using (with permission) slides developed by— Dwight Deugo Nesa Matic
JCreator Tonga Institute of Higher Education. Programming with the command line and notepad is difficult. DOS disadvantages  User Interface (UI) is not.
RAMS Evaluation and Visualization Utilities (REVU) Post Processing.
Write-through Cache System Policies discussion and A introduction to the system.
Porto, 4-5 March, 1999 The COST250 Speaker Recognition Reference System H. Melin, A.M. Ariyaeeinia, M. Falcone.
IBM Software Group ® Context-Sensitive Help with the DITA Open Toolkit Jeff Antley IBM October 4, 2007.
Software installation for commissioning tests Olivier Deschamps Calorimeter commissioning meeting – 05 april 2007.
_______________________________________________________________CMAQ Libraries and Utilities ___________________________________________________Community.
Installing and Running the WPS Michael Duda 2006 WRF-ARW Summer Tutorial.
C++ and Ubuntu Linux Review and Practice CS 244 Brent M. Dingle, Ph.D. Game Design and Development Program Department of Mathematics, Statistics, and.
Making Python Pretty!. How to Use This Presentation… Download a copy of this presentation to your ‘Computing’ folder. Follow the code examples, and put.
Aleph Version Maintenance. Version Maintenance Requirements for Aleph Stability Control Minimum changes for user Systematic patch application.
Introduction to Taverna Online and Interaction service Aleksandra Pawlik University of Manchester.
Intermediate 2 Computing Unit 2 - Software Development.
1 Object-Oriented Analysis and Design with the Unified Process Figure 13-1 Implementation discipline activities.
TODAY Android Studio Installation Getting started Creating your 1 st App Beginning to understanding Intents.
Higher Computing Science 2016 Prelim Revision. Topics to revise Computational Constructs parameter passing (value and reference, formal and actual) sub-programs/routines,
Installing and Running the WPS Michael Duda 2006 WRF-ARW Summer Tutorial.
Introduction to CADStat. CADStat and R R is a powerful and free statistical package [
INFSO-RI Enabling Grids for E-sciencE Using of GANGA interface for Athena applications A. Zalite / PNPI.
User’s Needs/Problems Fill out form by tomorrow for your data needs. Make website for regional climate modeling library (at least references). ICTP CD.
1 09/2003 Processing Library Update CF Checker – Script made available as a web based form on the BADC site -
GLOSS Training Workshop Course Japan Meteorological Agency May 15-26, 2006 Sea Level Data Processing with SLPR2 1. Introduction.
1 G4UIRoot Isidro González ALICE ROOT /10/2002.
CAA Database Overview Sinéad McCaffrey. Metadata ObservatoryExperiment Instrument Mission Dataset File.
Hernán García CeCalcULA Universidad de los Andes.
L071 Introduction to C Topics Compilation Using the gcc Compiler The Anatomy of a C Program Reading Sections
CIS-NG CASREP Information System Next Generation Shawn Baugh Amy Ramirez Amy Lee Alex Sanin Sam Avanessians.
E Copyright © 2006, Oracle. All rights reserved. Using SQL Developer.
1 Adding a Model. We have created an MVC web app project Added a controller class. Added a view class. Next we will add some classes for managing movies.
CSC 215 : Procedural Programming with C
Chris Gavanas 31/08/2016 Summer Student Report.
NEMO – Reformating tool
CHym performance under different regions
Introduction to ZBOSS Embedded Systems Software Training Center
The Linux Operating System
Computer Science Projects Database Theory / Prototypes
TITLE OF YOUR PROJECT Your name and affiliation.
Overview Activities from additional UP disciplines are needed to bring a system into being Implementation Testing Deployment Configuration and change management.
Production client status
Web Application Development Using PHP
QuickBooks Support Phone Number 1. Resolve QuickBooks Error 2. Fix Error 6175, , C Performance issues 4. Fix company file & Error H202, Error.
Presentation transcript:

CHyM tutorial Marco Verdecchia – Trieste, September 8/9, 2011

Outline  Few suggestions (my opinion, not Gospel!)  Quick description of CHyM user interface  Homework  Using CHyM to rebuild the basin DN (today)  Modify CHyM to refine parameterization or calibration

What happens if you run a numerical model? It does not work properly It works properly Code problem Parameterization problem Normal condition Very rare event

 Understand what happens running it as it is  What happens if you change a single parameter  Modify only one parameter!!  Add a wrong line in the code and see what happens…  Try to apply CHyM to a basin you are familiar with CHyM is a complex numerical model, few preliminary steps are needed before to use of modify it.

tar –xvf /afs/ictp/public/shared/smr2262/chym.tar.gz CHyM: install procedures Create a chym directory with the chym code

-> /home/netapp-clima/scratch/museo What CHyM directory will contain ncarg -> /home/netapp-clima/scratch/ncarg bin/ chymlab If NCAR Graphic package is available You may want to use CHyM graphic tools chymlib.a chym script museo

What happens if you run CHyM script?  The CHyM fortran code is created using the value of few csh parameters you set  The fortran code is compiled and linked with CHyM libraries to create the executable  Run chym executable that use museo db.  Delete all the unneeded files chym.fchym.exe chymlib.a ncarglib compilation run chym Output museo files

Run CHyM script and understand what is happening(1)

Run CHyM script and understand what is happening(2)

Run CHyM script and understand what is happening(3)

Run CHyM script and understand what is happening(4)

Run CHyM script and understand what is happening(5)

Run CHyM script and check if it actually happen... tar –xvf /afs/ictp/public/shared/smr2262/chym.tar.gz cd chym./chym

What you need to modify inside CHyM script

CHyM script parameters (1) CHyM parameters affecting CHyM output file

CHyM script parameters (2) CHyM parameters affecting CHyM output file

CHyM script parameters (3) CHyM parameters affecting Prec./Temp input ERA40-ERAInterim Temperature field from MM5 Temperature field after CA algorithm

CHyM script parameters (3)

CHyM script parameters (4) CHyM parameters affecting Graphic output

Using CHyM Model (1) Add error(s) to CHyM code and check what happen Set TITLE “CHyM 4.66 – ICTP School” do ih=1,nsli call groundwater do ih=1,nsli hello call groundwater Set TITLE “CHyM 4.66 – ICTP School

What you need to modify inside CHyM script

set NLON = 300 # number of longitudes set NLAT = 175 # number of latitudes set SLON = 6.50 # 1st longitude set SLAT = # 1st latitude CHyM: script set DIJ = # lat-lon resolution set DEMF = 3 # 1 Italy, 2 world, 3 both NLAT NLON SLON,SLAT

Where CHyM script parameters are listed? (0) It contains:  A table with the list and the documentation of the utilities included in the chymlib.a library. You may want to use this tools to develop your application  A table with the information contained in the header of CHyM output files  A table with CHyM script parameters It will contain (next week):  A link to this presentation  A link to the kit to the updated CHyM model kit (chym.tar.gz)  A link to the reference manual (we are writing it…)

Where CHyM script parameters are listed? (1)

Where CHyM script parameters are listed? (2)

Where CHyM script parameters are listed? (3)

CHyMLab utility (1) Requires that NCAR Graphic libraries are installed on your platform and allows to produce different graphic output Allows offline analysis of CHyM output file Interactive and bach interface Provided but not supported… error may occurr. Bugs will be fixed, check new versions often

CHyMLab utility (2) If you have not the “current directory” in the path you have to have to Invoke the utility specifying the path, namely:./chymlab tmp/ chym If you have not the “current directory” in the path you have to have to Invoke the utility specifying the path, namely:./chymlab tmp/ chym

CHyMLab utility (3)

CHyMLab utility (4)

CHyMLab utility (5)

CHyMLab utility (6)

CHyMLab utility (7) CHyMLab> plot riverbasin 44

CHyM code (1)

CHyM code (2)

Modify CHyM code (0) An example. Use of a different DEM. Two different approaches: 1. Just wait… we are planning to include a more resolute DEM (100 m) for all the world 2. …be patient… (remember the first slide of this presentation) 2a. Before to edit any file, understand what you have to do 2b. Look the CHyM code and understand where to modify 2c. Implement the code

Modify CHyM code (1) Array dem inside CHyM code Your data: LAT LON hsl (m) ….. ….. …. Calculate i,j 100.5

Modify CHyM code (2)

Modify CHyM code (3)

Modify CHyM code (4)