CTRLMY WDM6SBUYLIN Lake Effect Period Total Precip.

Slides:



Advertisements
Similar presentations
Accuracy and Precision
Advertisements

Add a Physics Scheme into WRF Model
Simulating cloud-microphysical processes in CRCM5 Ping Du, Éric Girard, Jean-Pierre Blanchet.
Write a program step by step. Step 1: Problem definition. Given the coordinate of two points in 2-D space, compute and print their straight distance.
Advancing Numerical Weather Prediction of Great Salt Lake-Effect Precipitation John D McMillen.
Chapter 6 Structured Data 1. A data structure, or record, in COBOL is a method of combining several variables into one larger variable. – Example: 2.
Programming Logic and Design Fourth Edition, Introductory
START DEFINITIONS values (3) N1 = (8, 1,-9) i N1 average N3,2 sum N2 = 0 temp N1 Do not guess or assume any values! Follow the values of the variables.
Programming in Visual Basic
Problem Solving and Program Design. COMP104 Problem Solving / Slide 2 Our First Program // a simple program #include using namespace std; int main() {
Chapter 1 Program Design
1 Session-4 CSIT 121 Spring 2006 Debugging Tips Lab Work.
How To Make A PowerPoint Quiz
Guidelines for the CMM coding project 5 October 2006 (or, “How to make your life easier in the long run”)
Simple Program Design Third Edition A Step-by-Step Approach
C++ for Engineers and Scientists Second Edition Chapter 6 Modularity Using Functions.
IPC144 Introduction to Programming Using C Week 1 – Lesson 2
Lesson 6. GCSE Computing – programming languages Candidates should be able to:  describe common tools and facilities available in an integrated development.
A P STATISTICS LESSON 2 – 2 STANDARD NORMAL CALCULATIONS.
Thompson Runs Precipitation Comparison John D. McMillen.
DIRECTIONS Poster Board. Purpose You and a partner will create a poster board that demonstrates a standard from one of the three units that have been.
Georgia Institute of Technology Declaring Variables – Mod 4 Barb Ericson Georgia Institute of Technology August 2005.
Sort the graphs. Match the type of graph to it’s name.
Some Fortran programming tips ATM 562 Fall 2015 Fovell (see also PDF file on class page) 1.
Chapter 6 Introduction to Defining Classes. Objectives: Design and implement a simple class from user requirements. Organize a program in terms of a view.
Georgia Institute of Technology Declaring Variables – Mod 4 Barb Ericson Georgia Institute of Technology August 2005.
Clearly Visual Basic: Programming with Visual Basic 2008 Chapter 8 What’s Wrong with It?
A first program 1. #include 2. using namespace std; 3. int main() { 4. cout
“Education is a Treasure that follows you everywhere.” – Chines Proverb Methods and Functions.
Starting Out with C++ Early Objects ~~ 7 th Edition by Tony Gaddis, Judy Walters, Godfrey Muganda Modified for CMPS 1044 Midwestern State University 6-1.
Programming with Microsoft Visual Basic th Edition
Chapter 8: Advanced Method Concepts. Understanding Parameter Types Mandatory parameter – An argument for it is required in every method call Four types.
1 Project 2: Using Variables and Expressions. 222 Project 2 Overview For this project you will work with three programs Circle Paint Ideal_Weight What.
Arrays.
Denny Spring 2004 / CUHK1 CSC2520 Data Structures and Applications Tutorial One.
Finding a percentage of an amount….. without a calculator!
Chapter 7 What’s Wrong with It? (Syntax and Logic Errors) Clearly Visual Basic: Programming with Visual Basic nd Edition.
Control Run Precipitation Comparison John D. McMillen.
Working Through a Survey From Raw Data to Meaningful Visuals Xiaobing Shuai
Chapter 3 Using Variables, Constants, Formatting Mrs. UlshaferSept
Problem Solving and Program Design. Problem Solving Process Define and analyze the problem. Develop a solution. Write down the solution steps in detail.
Kinetic energy.
DDC 1023 – Programming Technique
Error Correcting Code.
Beginning C++ Programming
What is the average rate of change of the function f (x) = 8 x - 7 between x = 6 and x = 7? Select the correct answer:
Microsoft Visual Basic 2005 BASICS
Midterm Exam Preperation
Introduction to CS Your First C Programs
Welcome to E-Prime E-Prime refers to the Experimenter’s Prime (best) development studio for the creation of computerized behavioral research. E-Prime is.
Variables and Their scope
Concept maps.
Building Java Programs
Microsoft Connect /17/2019 9:04 AM
LMC Little Man Computer What do you know about LMC?
EE 312 Exam I Review.
See requirements for practice program on next slide.
Developing a Web Site.
B065: PROGRAMMING Variables 1.
Collaboration of Parafrase-2 and NaraView
Capitolo 1 – Introduction C++ Programming
design OO words Debug Variables Data types
Arrays.
Starter
Introduction to C Programming
EE 312 Exam I Review.
Complete the family of four
Challenge Guide Grade Code Type Slides
EE 312 Exam I Review.
Presentation transcript:

CTRLMY WDM6SBUYLIN Lake Effect Period Total Precip

Why is Graupel so different? The calculation? Answer within variables in the scheme. The relationship chosen? Answer may be in the literature or code. No aha moment yet… Is the species affecting distribution and amount of precip? Fall velocities are variables within the scheme.

My Goal Visualize Microphysics source/sink terms qsten(k) = qsten(k) + (prs_iau(k) + prs_sde(k) & + prs_sci(k) + prs_scw(k) + prs_rcs(k) & + prs_ide(k) - prs_ihm(k) - prr_sml(k)) & * orho

Where are Microphysics? WRFV3/… drwxr-xr-x 2 u steenbur 8192 Feb 1 10:34 dyn_em drwxr-xr-x 2 u steenbur Feb 1 10:32 phys drwxr-xr-x 2 u steenbur 4096 Feb 1 10:23 Registry …. In module_mp_thompson.F: qsten(k) = qsten(k) + (prs_iau(k) + prs_sde(k) & + prs_sci(k) + prs_scw(k) + prs_rcs(k) & + prs_ide(k) - prs_ihm(k) - prr_sml(k)) & * orho

Heirarchy solve_em.F {grid/domain operations} solve_em calls microphysics_driver module_microphysics_driver.F microphysics_driver calls mp_gt_driver module_mp_thompson.F mp_gt_driver calls mp_thompson {prs_iau locally defined}

Registry In the Registry folder is a file called Registry.EM_COMMON – Variables are declared there (memory and grid) My Variable state real iausn ikj dyn_em - - h "Ice Auto Snow" "Ice autoconverted to snow" "kg kg-1"

Exploit existing code Calls declarations and assignments all the way through the hierarchy After the subroutine prs_iau is created in is called! do k = kts, kte {EXISTING CODE} iausn(i,k,j) = prs_iau(k) … {EXISTING CODE} enddo {EXISTING CODE}

Simple right? Scheme variable is local and 1 D? DOUBLE PRECISION, DIMENSION(kts:kte):: prs_iau Registry variables are all REAL, and I want 3D non- local (dummy) variable ala: REAL,DIMENSION(ims:ime,kms:kme,jms:jme),INTENT(I NOUT):: iausn

After Editing./clean -a – mv configure.wrf.backup configure.wrf./configure./compile >& compile.txt

Victory

Important Variable characteristics Every subroutine connection to grid Where edits are made in the code Indices Easy to blindly correct compiler errors to get a clean compile – Keep and eye on the big picture