NCL and PyNGL Community data analysis and visualization software 2005 User Forum, May 17-19  CISL/IMAGe/SCD Mary Haley,

Slides:



Advertisements
Similar presentations
Ronn Ritke Tony McGregor NLANR/MNA (UCSD/SDSC) Funded by the National Science Foundation/CISE/SCI cooperative agreement no. ANI
Advertisements

1 Industries Meeting customer needs in multiple markets.
WRF Modeling System V2.0 Overview
Brian Doty and Jennifer Adams
HATHITRUST A Shared Digital Repository HathiTrust: A Second Life for Library Collections Jeremy York Exploring Humanities Cyberinfrastructure April 30,
Q Homeowner Confidence Survey Results Feb. 18, 2009.
Community Analysis and Visualization Tools for the Geosciences Sylvia Murphy Don Middleton Mary Haley National Center for Atmospheric Research Computational.
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.
Profiles Research Networking Software Users Group Meeting July 15, 2011.
The International Surface Pressure Databank (ISPD) and Twentieth Century Reanalysis at NCAR Thomas Cram - NCAR, Boulder, CO Gilbert Compo & Chesley McColl.
The VAMOS Ocean-Cloud-Atmosphere- Land Study Robert Wood, University of Washington.
National Oceanic and Atmospheric Administration
The Mission Mapping the physical and dynamic aspects of ocean regions Understanding ocean dynamics at new scales Developing new sensors and tools Reaching.
Jordan G. Powers Mesoscale and Microscale Meteorology Division NCAR Earth System Laboratory National Center for Atmospheric Research Space Weather Workshop.
Scientific Investigations; Support from Research Data Archives for Computing in Atmospheric Sciences October, 2001 Steven Worley National Center.
The NCAR Command Language (NCL) Ethan Alpert Visualization and Enabling Technologies Section, SCD, NCAR.
HATHITRUST A Shared Digital Repository HathiTrust: Putting Research in Context HTRC UnCamp September 10, 2012 John Wilkin, Executive Director, HathiTrust.
NCL Website Tour NCL Website Tour  NCL Website Tour Overview, downloading, what’s new FAQ Examples.
AIRNow-International The future of the United States real-time air quality reporting and forecasting program and GEOSS participation John E. White U.S.
2005 UCAR Office of Program Annual Report Jack Fellows,UOP Director Open House. Not going over the Annual Report -- I’ll be summarizing UOP and its programs.
What is Going on with Kuali? Jennifer Foutty Executive Director, Kuali Foundation.
NE II NOAA Environmental Software Infrastructure and Interoperability Program Cecelia DeLuca Sylvia Murphy V. Balaji GO-ESSP August 13, 2009 Germany NE.
NA-MIC National Alliance for Medical Image Computing Why NITRC Matters to NA-MIC Steve Pieper, PhD.
The Earth Day Groceries Project
The GEOSS Portfolio for Science and Technology Produced by ST Featuring: Climate: Capacity Building of Operational Oceanography and Climate Adaptation.
Scientific Investigations; Support from Research Data Archives for Joint Office for Science Support 26 February, 2002 Steven Worley SCD/DSS.
UPDATED KUALI STATISTICS. KUALI FOUNDATION MEMBERS – INSTITUTIONAL Australian National University Boston College Boston University Brock University Brown.
National Alliance for Medical Image Computing Slicer3 Status Update.
HATHITRUST A Shared Digital Repository HathiTrust and TRAC DigitalPreservation 2012 July 25, 2012 Jeremy York, Project Librarian, HathiTrust.
Monsoon Desk at NCEP NOAA/NWS/NCEP/EMC National Monsoon Mission Scoping Workshop April 11-15, 2011.
Geoscience Data Analysis and Visualization Tools from NCAR HDF/HDF-EOS Workshop XI Nov 6-8, 2007 David Brown.
Data Access to Marine Surface Observations and Products from COADS 29 January, 2002 Steven Worley National Center for Atmospheric Research.
RAMS Evaluation and Visualization Utilities (REVU) Post Processing.
Program Name or Ancillary Texteere.energy.gov 2009 NASCSP Annual Conference Weatherization Assistance Program: The Federal Perspective September 16, 2009.
ARGONNE NATIONAL LABORATORY Climate Modeling on the Jazz Linux Cluster at ANL John Taylor Mathematics and Computer Science & Environmental Research Divisions.
ESIP Federation 2004 : L.B.Pham S. Berrick, L. Pham, G. Leptoukh, Z. Liu, H. Rui, S. Shen, W. Teng, T. Zhu NASA Goddard Earth Sciences (GES) Data & Information.
Data Discovery and Access to The International Surface Pressure Databank (ISPD) 1 Thomas Cram Gilbert P. Compo* Doug Schuster Chesley McColl* Steven Worley.
University of North Carolina at Chapel Hill Carolina Environmental Programs Models-3 Adel Hanna Carolina Environmental Program University of North Carolina.
GES DISC DAAC February 28, 2002HDF-EOS Workshop V1 The Goddard DAAC The Goddard DAAC Presented by:
3 rd Annual WRF Users Workshop Promote closer ties between research and operations Develop an advanced mesoscale forecast and assimilation system   Design.
Ligia Bernardet, S. Bao, C. Harrop, D. Stark, T. Brown, and L. Carson Technology Transfer in Tropical Cyclone Numerical Modeling – The Role of the DTC.
The Global Earth Observation System of Systems (GEOSS) A New Approach to Prevention, Early Warning & More Rapid Problem-Solving Vice Admiral Conrad C.
NCL Sample Scripts Dennis Shea Climate and Global Dynamics Division Climate Analysis Section.
J. Eric Madsen International Relations Specialist National Oceanic and Atmospheric Administration (NOAA) July, 2006 Global Earth Observation System of.
HATHITRUST A Shared Digital Repository Institution Uses of HathiTrust Jeremy York University of Maine May 24, 2013.
The HDF Group Introduction to netCDF-4 Elena Pourmal The HDF Group 110/17/2015.
Post Processing Tools Sylvia Murphy National Center for Atmospheric Research.
SCD User Briefing NCL and PyNGL Visualization for the Geosciences Don Middleton with presentation material developed by Luca Cinquini, Mary Haley, Fred.
SCD Research Data Archives; Availability Through the CDP About 500 distinct datasets, 12 TB Diverse in type, size, and format Serving 900 different investigators.
Earth System Curator and Model Metadata Discovery and Display for CMIP5 Sylvia Murphy and Cecelia Deluca (NOAA/CIRES) Hannah Wilcox (NCAR/CISL) Metafor.
GIS for Atmospheric Sciences and Hydrology By David R. Maidment University of Texas at Austin National Center for Atmospheric Research, 6 July 2005.
Shu-Hua Chen University of California, Davis eatheresearch & orecasting
UPDATED KUALI STATISTICS. KUALI FOUNDATION MEMBERS – INSTITUTIONAL (60) Australian National University Boston College Boston University Brock University.
HATHITRUST A Shared Digital Repository HathiTrust Large Digital Libraries: Beyond Google Books Modern Language Association January 5, 2012 Jeremy York,
Data Discovery and Access to The International Surface Pressure Databank (ISPD) 1 Thomas Cram Gilbert P. Compo* Doug Schuster Chesley McColl* Steven Worley.
Distributed Data Servers and Web Interface in the Climate Data Portal Willa H. Zhu Joint Institute for the Study of Ocean and Atmosphere University of.
Mesoscale Modeling Jon Schrage Summer WRF-“Weather Research and Forecasting” Developed by: – National Center for Atmospheric Research (NCAR) – the.
Sponsored by the National Center for Education Statistics U.S. Department of Education as a component of the National Cooperative Education Statistics.
Lidar Radar Open Software Environment LROSE Mike Dixon Earth Observing Laboratory (EOL) National Center for Atmospheric Research (NCAR) Boulder, Colorado.
NcBrowse: A Graphical netCDF File Browser Donald Denbo NOAA-PMEL/UW-JISAO
What is a volunteer? Why are they important? Think! Pair! Share!
The TIGGE Model Validation Portal: An Improvement in Data Interoperability 1 Thomas Cram Doug Schuster Hannah Wilcox Michael Burek Eric Nienhouse Steven.
CST 1101 Problem Solving Using Computers
Andrew White, Brian Freitag, Udaysankar Nair, and Arastoo Pour Biazar
Geography and Administrative Division of the USA
National Monsoon Mission Scoping Workshop April 11-15, 2011
Regions of the United States
Tour of NCL Website Modified by R. Grotjahn
Presentation transcript:

NCL and PyNGL Community data analysis and visualization software 2005 User Forum, May  CISL/IMAGe/SCD Mary Haley,

2005 CISL User Forum  May  Topics NCAR Command Language –Quick overview –Workshop update –What’s new –Near future plans Python interface to NCL’s graphics library –Introduction –Near future plans Long range plans for NCL and PyNGL

2005 CISL User Forum  May  NCL - Quick overview An interpreted language designed for the analysis and visualization of data Powerful in three areas: file I/O, data analysis, visualization Runs on most UNIX systems, including MacOSX, LINUX, Windows/Cygwin FREE

2005 CISL User Forum  May  NCL overview: file I/O Data model based on netCDF model One function to read multiple data formats Handles netCDF, GRIB-1, HDF4, HDF- EOS4, CCM History tape GRIB reader one of the best ASCII, binary Answer to question from yesterday: NCL supports NARR data and includes the NARR parameter table (NCEP parameter table 131).

2005 CISL User Forum  May  NCL overview: data analysis Over 800 functions -Spherical harmonics -Scalar and vector regridding -Vertical interpolation -EOFs Many tailored to geosciences Most handle missing data Can call C and Fortran routines

2005 CISL User Forum  May  NCL overview: visualization High-quality visualizations Contours, XY, vectors, streamlines, maps Specialized scripts for skew-T, wind roses, histograms, panels, bar charts GSUN interface: NCL scripts for simplifying visualization calls Hundreds of plot options available

2005 CISL User Forum  May  NCL strengths Huge web-based example suite NCL workshops Consulting is knowledgeable and quick Trivial to install, precompiled binaries Enhancements based on user demand* * Get ready for the data analysis and visualization survey!

2005 CISL User Forum  May  NCL workshops 3 full-day classes with lectures and labs Taught by CGD staff 22 in the last 4 years: 15 in Boulder, rest off-site: –University of California at Santa Cruz –University of Alaska at Fairbanks –UCLA (twice) –Purdue –Naval Research Lab - Stennis Space Center –National Ocean Service - NOAA Cancelled until further notice

2005 CISL User Forum  May  What’s new New NCL website Command line options Contouring on triangular meshes NCL binaries on Earth System Grid Enhancements to GRIB reader Vis5D writer functions Online survey later this month

2005 CISL User Forum  May  New NCL website Consolidates ngwww.ucar.edu and the graphics website Function documentation in one location “Applications” includes over 500 examples Lots of documentation; printable manuals

2005 CISL User Forum  May  Command line option preview Predefined options (-V, -x, -P) Can assign variables and execute commands: ncl i=1 x=3.14 ‘vars=(/“T”,“U”,“V”/)’ file.ncl More options to come: byte-swapping control, printing control; would like to hear from you!

2005 CISL User Forum  May  Contouring on triangular meshes Dave Kennison and Dave Brown

2005 CISL User Forum  May  New types of grids you can contour Grids already on a triangular mesh Grids represented by one-dimensional arrays of x, y, and z values Grids with “cell boundary” information

Grid from Tom Gross, NOAA/NOS/CSDL/MMAP

Grid from Brett D. Estrada, Naval Research Laboratory

HOMME grid courtesy of Steve Thomas, SCD

From Dave Randall, CSU

Christophe Cassou (CNRS/CERFACS)

Christiane Jablonowski (ECMWF)

2005 CISL User Forum  May  To see some NCL examples go to: and click on “Non-uniform grids”

2005 CISL User Forum  May  NCL near future plans CLOs - initial release Revisiting our I/O module: HDF5, GRIB2, netCDF 4 coming up Streamlines and vectors on a triangular mesh Large file support, currently has same limitations as older versions of netCDF Did I mention the survey?

2005 CISL User Forum  May  Sites that have downloaded and/or used NCL in the last few years

Department of Meteorology, Yugoslavia Nanjing University, China University of Michigan UCLA METRI/KMA, Korea Frontier Research System for Global Change, Japan Iowa State Hong Kong University of Science and Technology UCSD Czech Hydrometeorological Institute Osservatorio Meteorologico Regionale, Italy Institute for Atmospheric and Climate Science, Switzerland University of Reading, UK International Centre for Theoretical Physics, Italy NOAA-CIRES Climate Diagnostics Center Cooperative Institute for Mesoscale Meteorological Studies Woods Hole Oceanographic Institution Joint Program Department of Geology and Geophysics, Yale NOAA/NOS/Coast Survey Development Laboratory

Center for Ocean-Land-Atmosphere Studies Department of Physics (Atmospheric Physics), University of Toronto Universidade Federal da Bahia New Mexico Institute of Mining and Technology Pacific Northwest National Laboratory Atmospheric Science Division at LLNL Argonne National Lab University of Colorado Lawrence Berkeley National Lab University of Illinois NRL, Navy Climate Change & Impacts Laboratory, UCSC University of Washington University of Arizona Arctic Region Supercomputing Center, University of Alaska Center for Sustainability and the Global Environment, Univ of Wisconsin- Madison Fleet Numerical Meteorology and Oceanography Center Air pollution Section/Research Department, Norwegian Meteorological Institute Frontier Research System for Global Change, University of Alaska Fairbanks University of Virginia

University of Nevada Astronomy, Physics and Geophysics, University of Copenhagen Institute of Urban Meteorology, Beijing, China Scripps Institution of Oceanography, University of California CERFACS, France EMS Environment Institute, Penn State Centre Meteo UQAM Montreal, Montreal National Research Institute for Earth Science and Disaster Prevention, Japan University of L'Aquila, Department of Physics, Italy International Research Institute for Climate Prediction, Columbia University Alaska Experimental Forecast Facility Central Research Institute of Electric Power Industry, Japan National Severe Storms Laboratory Lamont-Doherty Earth Observatory, Columbia University, NY UBC Earth and Ocean Sciences, Canada Earth Tech, Concord, Massachusetts School of the Environment, Leeds University, UK Institute For Terrestrial and Planetary Atmospheres, State Univ of NY College of Oceanic and Atmospheric Sciences, Oregon State University Institute of Geophysics - Climatology, University of Bergen, Norway Institute for Geophysics, UT-Austin

University New South Wales Indonesia National Institute of Aeronautics and Space University of Nebraska Queensland Department of Natural Resources NC State University University of Costa Rica Louisiana State University MIT University College London Nagasaki University Deutscher Wetterdienst Institute of Atmospheric Physics, Chinese Academy of Sciences United Nations University YSA Corporation Chesapeake Research Consortium Naval Postgraduate School University of North Carolina at Chapel Hill Research Center for Environmental Changes, Taiwan IMAQS, U. of Houston Pusan national University, Korea University of Victoria, British Columdia, Canada

Institute of Oceanology, Russia Rudjer Boskovic Institute, Croatia Mississippi State University Advanced Environment Monitoring Research Center, Korea Kyushu University, Korea University of Northern British Columbia Korea Meteorological Administration International Pacific Research Center/School of Ocean and Earth Science, Hawaii German Weather Service University of Waterloo Comalco Aluminium Ltd, New Zealand Altai State University, Russia University of Maine IQAFF, Quebec Kinetica Analysis Corporation/University of Central Florida Centre for Mathematical Modelling and Computer Simulation, India University of British Columbia Howard University Universidad del Pais Vasco Indian Institute of Science University of Delaware

Princeton Central Weather Bureau of Taiwan Seoul National University, Korea CNR-Venice-Italy Weathernews Americas Inc. Mephise Technology (Taiwan) Purdue University Ohio State University USDA Forest Service International Arctic Research Center California Air Resources Board U.A.E. Air Force Air Defense University of Nebraska CWB (Center for Wooden Boats? Central Weather Bureau? Canadian Wheat Board?) GFDL/NOAA Chung-Cheng Institute of Technology National Renewable Energy Lab Zhejiang Climate Center, Beijing University of Texas at Austin Wageningen University, Netherlands

University of Athens Macao Meteorological Bureau, Hong Kong Duke University Texas A&M University SD School of Mines Department of Marine, Earth and Atmospheric Sciences, NCSU Universidad Politecnica de Catalunya, Spain National Taiwan University University of Pecs, Hungary Kobe University, Japan University of Tartu, Estonia UC, Irvine Institute of Meteorology, University of Edinburgh San Francisco State University University of Kentucky College of Resources Science and Technology, Beijing Normal University Meteo-France Agromet LS Cable Ltd., chiller development Potsdam Institute for Climate Impact Research, Germany ARPA Piemonte, Italy

USDA Animal Improvement Programs Laboratory Marine Meteorological Observation and Investigation Drexel University Indian Institute of Technology, Delhi Caltech Abu Dhabi International Airport Meteorological Office Michigan Tech University SongXiaoya University Yonsei University, Seoul, Korea Jackson State University Climate Research, Tokyo University

2005 CISL User Forum  May  Python interface to NCL’s Graphics Library (PyNGL) Fred Clare and Mary Haley

2005 CISL User Forum  May  What is Python? An interpreted, interactive, object-oriented programming language often compared with Perl, Tcl, and Java.

2005 CISL User Forum  May  Python strengths Open source and portable Full object oriented capabilities Well documented and easy to learn Modular Toolkits for building GUIs - Tkinter 3D visualization - vtk, OpenGL Extendable with C/C++ and Fortran Large and rapidly growing user base

2005 CISL User Forum  May  Python strengths: lots of existing code PyTables - HDF5 reader PIL - Python Imaging Library Libraries of scientific tools -netCDF module -FFTPACK, SPHEREPACK, LAPACK PyGlobus - toolkit for GRID computing

2005 CISL User Forum  May  Why a Python interface? Demand for high-quality 2D visualizations Mainstream language - wider audience Open source Collaboration opportunities Capitalize on the work of others Contribution to Python community

2005 CISL User Forum  May  Introduction to PyNGL Modeled after popular GSUN interface Same 2D publication-quality graphics as NCL Multiple output formats - same as NCL Extensive documentation Line-by-line explanation of examples

import Ngl from Scientific.IO.NetCDF import * # Open the NetCDF file. nf = NetCDFFile("meccatemp.cdf","r") # Get lat/lon/temperature variables. lat = nf.variables["lat"][:] lon = nf.variables["lon"][:] T = nf.variables["t"][0,:,:] # Open a PS workstation. wks = Ngl.open_wks("ps","mecca") # Contour & scalar field resources. res = Ngl.Resources() res.sfXArray = lon res.sfYArray = lat res.cnFillOn = True # Draw contour plot. contour = Ngl.contour(wks,T,res) Ngl.end() PyNGL load "gsn_code.ncl" begin ; Open the NetCDF file. nf = addfile("meccatemp.cdf","r") ; Get lat/lon/temperature variables. lat = nf->lat lon = nf->lon T = nf->t(0,:,:) ; Open a PS workstation. wks = gsn_open_wks("ps","mecca") ; Contour & scalar field resources. res = True = lon = lat = True = False ; Draw contour plot. contour = gsn_contour(wks,T,res) end NCL/GSUN

Data from the MECCA Project

2005 CISL User Forum  May  Sample PyNGL visualizations

Dummy data

Courtesy Dennis Shea

Data from the MECCA Project

Courtesy Sylvia Murphy, NCAR ACD

From John Ertl, FNMOC

Based on a visualization of Joel Norris (Scripps) using dummy data

Climate division data courtesy Mark Stevens, NCAR CGD

Courtesy Mark Stevens, NCAR CGD

2005 CISL User Forum  May  Current PyNGL status Documentation complete (200+ pages) Released PyNGL alpha in January 2004 Announced PyNGL beta in September at SciPy Implementing processing and I/O modules Researching compatibility with other packages - especially 3D and file I/O Responding to user requests and questions Early reactions have been positive

2005 CISL User Forum  May  Near future PyNGL plans Finish beta test Release processing and I/O modules for alpha testing Add more functionality and examples Announce to Python world Potential collaboration with other Python developers

2005 CISL User Forum  May  Long range plans for NCL and PyNGL Re-architecture the data model Performance enhancements - mainly file I/O (aggregation) Image processing Review of display model Open source

2005 CISL User Forum  May  Documentation My address:

2005 CISL User Forum  May  Questions?