Republic of Turkey Ministry of Forestry and Water Affairs Turkish State Meteorological Service 18-23 August 2011Training Workshop Climate Predictions for.

Slides:



Advertisements
Similar presentations
Interaction Design: Visio
Advertisements

Summary Statistics/Simple Graphs in SAS/EXCEL/JMP.
Chapter 3 – Web Design Tables & Page Layout
ATMO5332 WRF-ARW Tutorial 0.01”.
Statistical Methods Lynne Stokes Department of Statistical Science Lecture 7: Introduction to SAS Programming Language.
WRF Modeling System V2.0 Overview
Using E-Class Searching for positions according to job classification.
Chapter 11 Above: Principal contraction rates calculated from GPS velocities. Visualized using MATLAB.
Climate Predictability Tool (CPT)
PowerPoint. Getting Started with PowerPoint Objectives Start PowerPoint and open presentations Explore toolbars and menus Use the Office Assistant Work.
Bob Kuligowski NOAA/NESDIS/STAR May 28, 2009
MATLAB’s extensive, device-independent plotting capabilities are one of its most powerful features. They make it very easy to plot any data at any time.
McIDAS-V McIDAS-V The 5 th Generation of McIDAS by Tom Whittaker Space Science and Engineering Center University of Wisconsin-Madison USA with contributions.
By Hrishikesh Gadre Session II Department of Mechanical Engineering Louisiana State University Engineering Equation Solver Tutorials.
Automating Tasks With Macros
Introduction to Array The fundamental unit of data in any MATLAB program is the array. 1. An array is a collection of data values organized into rows and.
Part 4: Local scale dispersion calculation
TrendReader Standard 2 This generation of TrendReader Standard software utilizes the more familiar Windows format (“tree”) views of functions and file.
The NCAR Command Language (NCL) Ethan Alpert Visualization and Enabling Technologies Section, SCD, NCAR.
1 iSee Player Tutorial Using the Forest Biomass Accumulation Model as an Example ( Tutorial Developed by: (
Carolina Environmental Program UNC Chapel Hill The Analysis Engine – A New Tool for Model Evaluation, Sensitivity and Uncertainty Analysis, and more… Alison.
Climate Predictability Tool (CPT) Ousmane Ndiaye and Simon J. Mason International Research Institute for Climate and Society The Earth.
CHAPTER 9 Introducing Microsoft Office Learning Objectives Start Office programs and explore common elements Use the Ribbon Work with files Use.
Objectives Understand what MATLAB is and why it is widely used in engineering and science Start the MATLAB program and solve simple problems in the command.
Dynamic and Buoyancy Pressure A rising thermal plus… Unix basics.
Start Microsoft PowerPoint 1.PowerPoint uses a graphical approach to presentations in the form of slide shows that accompany the oral delivery of the.
Introduction to Hands On Training in CORDEX South Asia Data Analysis
Website Development with Dreamweaver
OPL MRR Viewer Tutorial David Stark North Carolina State University 31 Jan 2008.
WINKS 7 Tutorial 2 Using WINKS SDA GRAPHS Permission granted for use for instruction and for personal use. © Alan C. Elliott,
Introduction to ArcView NPS Introduction to GIS: Lecture 2 Based on NINC, ESRI and Other Sources.
Why do I want to know about HDF and HDF- EOS? Hierarchical Data Format for the Earth Observing System (HDF-EOS) is NASA's primary format for standard data.
GrADS (Gridded Analysis Display Software) By Scott Halvorson DPG/WDTC 4DWX Forecasters Conference July 25.
RAMS Evaluation and Visualization Utilities (REVU) Post Processing.
The Available NCEP Reanalyses Wesley Ebisuzaki Climate Prediction Center National Centers for Environmental Prediction NWS/NOAA Maryland, USA
VistA Imaging Workstation Configuration. October The information in this documentation includes functionality of the software after the installation.
Creating Graphical User Interfaces (GUI’s) with MATLAB By Jeffrey A. Webb OSU Gateway Coalition Member.
Modern Era Retrospective-analysis for Research and Applications: Introduction to NASA’s Modern Era Retrospective-analysis for Research and Applications:
35 PC-HYSPLIT WORKSHOP Example Simulations Presented on the following slides are several basic trajectory and dispersion simulations and meteorological.
Return to Outline Copyright © 2011 by Maribeth H. Price 3-1 Labeling and annotation.
CKD Workshop  30 March 2011  Jim Kinter  Data Lessons from Project Athena GrADS Station Data Model Used for in situ observational data Individual reports.
Climate Predictability Tool (CPT) Ousmane Ndiaye and Simon J. Mason International Research Institute for Climate and Society The Earth.
Unit A Getting Started with Adobe Photoshop. What is Adobe Photoshop? Adobe Photoshop delivers powerful, industry-standard image-editing tools for designers.
Model Task 3: Grid setup, initial condition and visualization ATM 562 Fall 2015 Fovell (see updated course notes, Chapter 11) 1.
Creating Accessible Content in Microsoft Office 2010 NC Basic Skills Instructor Training Academy 2012.
Data Storage System, Model Output and Analysis Tools PRECIS Workshop Tanzania Meteorological Agency 29 th June – 3 rd July 2015.
SCD User Briefing NCL and PyNGL Visualization for the Geosciences Don Middleton with presentation material developed by Luca Cinquini, Mary Haley, Fred.
© 2010 Delmar, Cengage Learning Chapter 1 Getting Started with Illustrator.
171 PC-HYSPLIT WORKSHOP Workshop Agenda Model Overview Model history and features Computational method Trajectories versus concentration Code installation.
Running CESM An overview
Basic plotting and animation with VCS
1 Lecture 5 Post-Graduate Students Advanced Programming (Introduction to MATLAB) Code: ENG 505 Dr. Basheer M. Nasef Computers & Systems Dept.
35 PC-HYSPLIT WORKSHOP Example Simulations Presented on the following slides are several basic trajectory and dispersion simulations and meteorological.
HTML5 and CSS3 Illustrated Unit F: Inserting and Working with Images.
Desktop Publishing Lesson 3 — Formatting Pages. Lesson 3 – Formatting Pages2 Objectives  Set up pages.  Set guides.  Use master pages.  Insert page.
1 PowerPoint Lesson 1 PowerPoint Basics Microsoft Office 2013: Introductory Pasewark & Pasewark.
Introducing Macromedia Flash 8
Andrew White, Brian Freitag, Udaysankar Nair, and Arastoo Pour Biazar
Inserting and Working with Images
National Scientific Library at Tbilisi State University
Tutorial of Unix Command & shell scriptS 5027
Tutorial of Unix Command & shell scriptS 5027
Enhancing a Document Part 1
Windows Internet Explorer 7-Illustrated Essentials
Tutorial Tutorial Read all the directions before proceeding
Enhancing a Document Part 1
Tutorial of Unix Command & shell scriptS 5027
Lesson 1 – PowerPoint Essentials
NCL variable based on a netCDF variable model
Presentation transcript:

Republic of Turkey Ministry of Forestry and Water Affairs Turkish State Meteorological Service August 2011Training Workshop Climate Predictions for TSMS Ankara, Turkey GrADS for Beginners Dr. ismail DEMiR

Republic of Turkey Ministry of Forestry and Water Affairs Turkish State Meteorological Service August 2011Training Workshop Climate Predictions for TSMS Ankara, Turkey Outline What is GrADS and how do I get it? GrADS essentials –Getting started –Gridded data sets –Displaying data –Saving your plots

Republic of Turkey Ministry of Forestry and Water Affairs Turkish State Meteorological Service August 2011Training Workshop Climate Predictions for TSMS Ankara, Turkey What is GrADS? Grid Analysis and Display System Developed at the Center for Ocean-Land-Atmosphere Studies (COLA) Used for displaying and manipulating earth science data –Binary, GRIB, NetCDF, HDF-SDS –Station data (contours / grid boxes) and gridded data –Line and bar graphs, scatter plots, streamlines, wind vectors

Republic of Turkey Ministry of Forestry and Water Affairs Turkish State Meteorological Service August 2011Training Workshop Climate Predictions for TSMS Ankara, Turkey How do I Get GrADS? GrADS home page with FREE downloads: Latest version (GrADS 2.0.a9) runs on –Linux –Mac OS X Older versions available for –SUN, SGI/IRIX, DEC, IBM/AIX Installation details are very easy for all system with detailed user guide

Republic of Turkey Ministry of Forestry and Water Affairs Turkish State Meteorological Service August 2011Training Workshop Climate Predictions for TSMS Ankara, Turkey GrADS Essentials: Getting Started Type grads (there are a bunch of arguments you can use, but we won’t get into them here) You will be prompted for landscape mode; ‘no’ will get portrait mode (shown) Your work areas will consist of a display screen and the window where you executed GrADs, which is where you type your commands –(note: all examples are from the Linux version; I can’t vouch for the others) To exit, type quit

Republic of Turkey Ministry of Forestry and Water Affairs Turkish State Meteorological Service August 2011Training Workshop Climate Predictions for TSMS Ankara, Turkey GrADS descriptor files (*.ctl) contain the basic information on a data file: dset ^model.grb title "Sample Model Data for lats4d Tutorial" undef 1e+20 dtype grib index ^model.gmp xdef 72 linear ydef 46 linear zdef 7 levels tdef 5 linear 0Z1jan1987 1dy vars 8 ps 0 1, 1, 0, 0 Surface pressure [hPa] ua 7 33,100 Eastward wind [m/s] va 7 34,100 Northward wind [m/s] zg 7 7,100 Geopotential height [m] ta 7 11,100 Air Temperature [K] hus 7 51,100 Specific humidity [kg/kg] ts 0 11,105, 2 Surface (2m) air temperature [K] pr 0 59, 1, 0, 0 Total precipitation rate [kg/(m^2*s)] endvars File name (^ means current directory) Description “Undefined” (i.e., ignored) value Data type grib and grib2 formats require an index file with additional information (can greate using gribmap or grib2map in GrADS) Gridded Data Sets: File Specs

Republic of Turkey Ministry of Forestry and Water Affairs Turkish State Meteorological Service August 2011Training Workshop Climate Predictions for TSMS Ankara, Turkey Gridded Data Sets: Grid Specs GrADS descriptor files (*.ctl) contain the basic information on a data file: dset ^model.grb title "Sample Model Data for lats4d Tutorial" undef 1e+20 dtype grib index ^model.gmp xdef 72 linear ydef 46 linear zdef 7 levels tdef 5 linear 0Z1jan1987 1dy vars 8 ps 0 1, 1, 0, 0 Surface pressure [hPa] ua 7 33,100 Eastward wind [m/s] va 7 34,100 Northward wind [m/s] zg 7 7,100 Geopotential height [m] ta 7 11,100 Air Temperature [K] hus 7 51,100 Specific humidity [kg/kg] ts 0 11,105, 2 Surface (2m) air temperature [K] pr 0 59, 1, 0, 0 Total precipitation rate [kg/(m^2*s)] endvars Zonal and meridional grid specs: number of grid boxes, increment type, minimum, resolution Vertical grid: number of levels, increment type, pressure levels Time grid: number of time periods, increment type, minimum, resolution

Republic of Turkey Ministry of Forestry and Water Affairs Turkish State Meteorological Service August 2011Training Workshop Climate Predictions for TSMS Ankara, Turkey Gridded Data Sets: Data Specs GrADS descriptor files (*.ctl) contain the basic information on a data file: dset ^model.grb title "Sample Model Data for lats4d Tutorial" undef 1e+20 dtype grib index ^model.gmp xdef 72 linear ydef 46 linear zdef 7 levels tdef 5 linear 0Z1jan1987 1dy vars 8 ps 0 1, 1, 0, 0 Surface pressure [hPa] ua 7 33,100 Eastward wind [m/s] va 7 34,100 Northward wind [m/s] zg 7 7,100 Geopotential height [m] ta 7 11,100 Air Temperature [K] hus 7 51,100 Specific humidity [kg/kg] ts 0 11,105, 2 Surface (2m) air temperature [K] pr 0 59, 1, 0, 0 Total precipitation rate [kg/(m^2*s)] endvars Number of variables in file List of variables: name used by GrADS, number of vertical levels, units (used only for grib; use 99 otherwise), description End of variable listing

Republic of Turkey Ministry of Forestry and Water Affairs Turkish State Meteorological Service August 2011Training Workshop Climate Predictions for TSMS Ankara, Turkey Displaying Data: Default Display From the control file on the previous slides, a default display can be created using simply : > open model.ctl > d ps Open the GrADS control file Plot the pressure (‘ps’) field

Republic of Turkey Ministry of Forestry and Water Affairs Turkish State Meteorological Service August 2011Training Workshop Climate Predictions for TSMS Ankara, Turkey Displaying Data: Cross Section We can also modify the area of interest: > clear > set lon > set lat 40 > set lev 500 > set t 1 > d zg Clear the display Plot the height (‘z’) field Subset lon.=180 W to 0 W, lat.=40 N, 500 hPa, time=1

Republic of Turkey Ministry of Forestry and Water Affairs Turkish State Meteorological Service August 2011Training Workshop Climate Predictions for TSMS Ankara, Turkey Displaying Data: Multivariate Cross Section We can also display multiple variables on a field: > clear > set lon -90 > set lat > set lev > set t 1 > d ta > d ua Plot the temperature (‘t’) field followed by the height (‘u’) field Subset lon.=90 W, lat.=90 S to 90 N, height= hPa, time=1

Republic of Turkey Ministry of Forestry and Water Affairs Turkish State Meteorological Service August 2011Training Workshop Climate Predictions for TSMS Ankara, Turkey GrADS can produce numerous types of file displays using gridded data using set gxout : Displaying Data: Graphics Types bar (bar chart) line (line graph) barb (wind barbs) linefill (color fill between two lines) contour (contour plot) scatter (scatter plot) errbar (error bars) shaded (shaded contour plot) grfill (shaded grid boxes) stream (wind streamlines) fgrid (grid boxes shaded for specified values) vector (wind vector arrows) grid (grid boxes with printed values)

Republic of Turkey Ministry of Forestry and Water Affairs Turkish State Meteorological Service August 2011Training Workshop Climate Predictions for TSMS Ankara, Turkey Displaying Data: Wind Vectors Example of plotting wind vectors: > clear > set gxout vector > d ua;va Plot both zonal (‘u’) and meridional (‘v’) components of wind Graphics output type=vector

Republic of Turkey Ministry of Forestry and Water Affairs Turkish State Meteorological Service August 2011Training Workshop Climate Predictions for TSMS Ankara, Turkey Displaying Data: Grid Values Example of plotting actual grid point values: > clear > set gxout grid > d ua Graphics output type=grid

Republic of Turkey Ministry of Forestry and Water Affairs Turkish State Meteorological Service August 2011Training Workshop Climate Predictions for TSMS Ankara, Turkey We can also display the data in other projections using the set mproj command: Default is latlon set mproj off turns off the map projection Displaying Data: Other Projections latlon (lat/lon—maintains aspect ratio) lambert (Lambert conformal conic) scaled (lat/lon—does not maintain aspect ratio) mollweide (Mollweide) nps (North polar stereographic) orthogr (Orthographic) sps (South polar stereographic) robinson (Robinson—requires set lon and set lat )

Republic of Turkey Ministry of Forestry and Water Affairs Turkish State Meteorological Service August 2011Training Workshop Climate Predictions for TSMS Ankara, Turkey Displaying Data: Other Projections Example of plotting in polar stereo: > clear > Set lon > Set lat > set mpvals > set mproj nps > set gxout contour > set cint 30 > d zg Reference values (Polar Stereographic only): plots 120 to 75 W and 25 to 65 N Contour interval=30

Republic of Turkey Ministry of Forestry and Water Affairs Turkish State Meteorological Service August 2011Training Workshop Climate Predictions for TSMS Ankara, Turkey GrADS supports several commands (run outside GrADS) to convert the.gmf file to other formats: –gxps –i fname.gmf –o fname.ps (PostScript) –gxeps –i fname.gmf –o fname.eps (Encapsulated PostScript) –gxpng –i fname.gmf –o fname.png (.png format, but can also create a.gif using the –gif option) Saving Your Plots

Republic of Turkey Ministry of Forestry and Water Affairs Turkish State Meteorological Service August 2011Training Workshop Climate Predictions for TSMS Ankara, Turkey The GrADS Documentation Page is a great resource: Especially useful are the quick references cards for GrADS commands and the scripting language at the bottom of the page! You can also subscribe to the GrADS Users Group (more info at GrADS-Related Resources

Republic of Turkey Ministry of Forestry and Water Affairs Turkish State Meteorological Service August 2011Training Workshop Climate Predictions for TSMS Ankara, Turkey aave = This function takes an areal average over an X-Y region d aave(ts,lon=0,lon=90,lat=20,lat=50) ave = average of specified dimension range d ave(zg,t=1,t=10) set clevs c1 c2 c3 c4 …. set cint 10 set lat …. ….. or set lat …. set lon …. ….. or set lon …. set lev …. ….. or set lev …. define var = expression define ts1=ave(ts,t=1,t,5) d ts1

Republic of Turkey Ministry of Forestry and Water Affairs Turkish State Meteorological Service August 2011Training Workshop Climate Predictions for TSMS Ankara, Turkey set mpdset printim filename options The printim command will produce a PNG, GIF, or JPG formatted image file based on the current contents of the metabuffer, which is usually the stuff displayed on the screen, minus any widgets. reset This command returns GrADS to its initial state reinit This command returns GrADS to its initial state. It closes all open files, releases all defined variables, and resets all graphics settings to their defaults.

Republic of Turkey Ministry of Forestry and Water Affairs Turkish State Meteorological Service August 2011Training Workshop Climate Predictions for TSMS Ankara, Turkey Thank you