community analysis and visualization tools for the geosciences sylvia murphy don middleton mary...

30
Community Analysis and Visualization Tools for the Geosciences Sylvia Murphy Don Middleton Mary Haley National Center for Atmospheric Research Computational and Information Systems Laboratory Boulder, Colorado SC2008 Austin, Texas November 15-21, 2008

Upload: elfrieda-alexander

Post on 23-Jan-2016

218 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Community Analysis and Visualization Tools for the Geosciences Sylvia Murphy Don Middleton Mary Haley National Center for Atmospheric Research Computational

Community Analysis and Visualization Tools for the Geosciences

Sylvia Murphy

Don Middleton

Mary Haley

National Center for Atmospheric ResearchComputational and Information Systems Laboratory

Boulder, Colorado

SC2008 Austin, Texas November 15-21, 2008

Page 2: Community Analysis and Visualization Tools for the Geosciences Sylvia Murphy Don Middleton Mary Haley National Center for Atmospheric Research Computational

Community and open source tools and environments

• Earth System GridEnables analysis of and knowledge development from global Earth System models

• NCAR Command LanguageScripting language designed for scientific data analysis and visualization

• PyNGLPython interface to NCL’s graphics library

• PyNIOPython interface to NCL’s file I/O library

Page 3: Community Analysis and Visualization Tools for the Geosciences Sylvia Murphy Don Middleton Mary Haley National Center for Atmospheric Research Computational

Challenges in climate, weather, and environmental research

• Datasets are globally distributed and growing in size and complexity

petabytes exabytes• How to provide effective access and analyses

across geoscientific tools and environments?• Growing international community presents

unique requirements• Need to train users worldwide to get the most

out of their research in these complex environments

Page 4: Community Analysis and Visualization Tools for the Geosciences Sylvia Murphy Don Middleton Mary Haley National Center for Atmospheric Research Computational

The ESKE Science Gateway Framework

• The Science Gateway Framework is aimed at providing common infrastructure for a range of distributed, federated data management efforts

• ESG: will deploy the SGF for an early testbed for IPCC AR5/CMIP5 this Fall

• ASP/DyCore Workshop: A Curator, ESG, and SGF collaboration to provide a system that spans models, data, and tools

• CADIS: A new prototype Gateway for polar research is undergoing review

Page 5: Community Analysis and Visualization Tools for the Geosciences Sylvia Murphy Don Middleton Mary Haley National Center for Atmospheric Research Computational

NCAR Command Language (NCL)• Reads many data formats popular in geosciences• Remote access to data• Hundreds of analysis functions• Publication-quality visualizations

Several workshops yearly Knowledgeable consulting Supported on UNIX

systems Binaries provided Open source

NCL graphic by Dennis Shea, NCARWheeler-Kiladis Space-Time Spectra

Page 6: Community Analysis and Visualization Tools for the Geosciences Sylvia Murphy Don Middleton Mary Haley National Center for Atmospheric Research Computational

NCL Visualizations• High-quality and customizable visualizations• Contours, XY, vectors, streamlines, maps• Specialized scripts for skew-T, wind roses, histograms, taylor

diagrams, bar charts, meteograms• Over 1,400 graphical options available

Meteogram: John Ertl, FNMOCTerrain rasters: Mark Stevens

Page 7: Community Analysis and Visualization Tools for the Geosciences Sylvia Murphy Don Middleton Mary Haley National Center for Atmospheric Research Computational

PyNGL (“pingle”)

• Python interface similar to NCL graphical interfaces

• Same publication-quality graphics as NCL

• Supports NumPy MaskedArrays

• Some geoscientific data analysis functions

• Online tutorial

PyNGL graphic showing nested grids

Ufuk TuruncogluIstanbul Technical University

Turkey ClimateChange Scenarios

Open sourceAugust 2008

Page 8: Community Analysis and Visualization Tools for the Geosciences Sylvia Murphy Don Middleton Mary Haley National Center for Atmospheric Research Computational

PyNIO (“pie-nee-oh”)

• Reads/writes same formats as NCL• Excellent GRIB 1 & 2 reader• Easy-to-use interface• Unified NetCDF-like view of all data

formats• Supports NumPy MaskedArrays• Extensive subscripting capability• Open source, August 2008

import Nioncdf = Nio.open_file(“file.nc”,”r”)ngrb = Nio.open_file(“RUC.grb”,”r”)

Page 9: Community Analysis and Visualization Tools for the Geosciences Sylvia Murphy Don Middleton Mary Haley National Center for Atmospheric Research Computational

What’s coming in NCLV5.0.1 – December 2008

• Major map database overhaul• Much more accurate outlines• New state/province outlines for China, India, and

Brazil, ice shelves of Antarctica• New projections

• Many updates to GRIB 1 & 2 readers(one of the best GRIB readers)

• Several new analysis functions• Wheeler-Kiladis space-time spectra• MJO [Madden-Julian Oscillation] diagnostics• Special focus on analyzing WRF-ARW data

Page 10: Community Analysis and Visualization Tools for the Geosciences Sylvia Murphy Don Middleton Mary Haley National Center for Atmospheric Research Computational

What’s new in PyNGL/PyNIOAugust 2008

• First open source version• PyNIO and PyNGL released as separate

packages• Support for NumPy masked arrays• Extensive subscripting added to PyNIO• Several new PyNGL and PyNIO examples• Map database updated (same as for NCL)

Page 11: Community Analysis and Visualization Tools for the Geosciences Sylvia Murphy Don Middleton Mary Haley National Center for Atmospheric Research Computational

Future plans for NCL, PyNIO, PyNGL• More I/O formats and functionality:

– Handle large (> 2Gb) arrays– NetCDF 4, HDF5, HDFEOS 5– Datasets aggregated from multiple files

• Supplement display model– larger color maps, transparency, anti-aliasing, image

formats, more font support

• More analysis functions• Streamlines/vectors on triangular meshes• Collaborative projects

– VAPOR, WRF, CCMval, CCSM, ESG

Page 12: Community Analysis and Visualization Tools for the Geosciences Sylvia Murphy Don Middleton Mary Haley National Center for Atmospheric Research Computational

Sample WRF-ARW visualizationsScripts maintained by Cindy Bruyere, NCAR/MMM

http://www.mmm.ucar.edu/wrf/OnLineTutorial/Graphics/NCL/

Page 13: Community Analysis and Visualization Tools for the Geosciences Sylvia Murphy Don Middleton Mary Haley National Center for Atmospheric Research Computational

New map outlines in

V5.0.1

Page 14: Community Analysis and Visualization Tools for the Geosciences Sylvia Murphy Don Middleton Mary Haley National Center for Atmospheric Research Computational

New and improved projections

Page 15: Community Analysis and Visualization Tools for the Geosciences Sylvia Murphy Don Middleton Mary Haley National Center for Atmospheric Research Computational

Taylor diagramCourtesy of

Dennis Shea and Adam Phillips,

CGD

Page 16: Community Analysis and Visualization Tools for the Geosciences Sylvia Murphy Don Middleton Mary Haley National Center for Atmospheric Research Computational

A T-S diagram is a graph showing the relationship between temperature and salinity as observed together at, for example, specified depths in a water column. Isopleths of constant density are often also drawn on the same diagram as a useful additional interpretation aid. In the ocean, certain T-S combinations are preferred, leading to the procedure of identification via the definition of water types and water masses and their distributions.

Image contributed by Christine Shields,NCAR/CGD.

Page 17: Community Analysis and Visualization Tools for the Geosciences Sylvia Murphy Don Middleton Mary Haley National Center for Atmospheric Research Computational

Madden Julian Oscillation Climate Variability

Image courtesy of Dennis Shea, NCAR

Page 18: Community Analysis and Visualization Tools for the Geosciences Sylvia Murphy Don Middleton Mary Haley National Center for Atmospheric Research Computational

Evans plot: (Jason Evans, Yale University)A way to visualize spatially, two variables of interest, one

of which provides some measure of "importance".

Page 19: Community Analysis and Visualization Tools for the Geosciences Sylvia Murphy Don Middleton Mary Haley National Center for Atmospheric Research Computational

NCL image courtesy ofChristine Shields, CGD

Paleogeography data courtesy David Rowley, PGAP

Page 20: Community Analysis and Visualization Tools for the Geosciences Sylvia Murphy Don Middleton Mary Haley National Center for Atmospheric Research Computational

Image courtesy Dave BrownPOP Grid

Page 21: Community Analysis and Visualization Tools for the Geosciences Sylvia Murphy Don Middleton Mary Haley National Center for Atmospheric Research Computational

Connectivity graphs from a biological

neural network model.Trevor Law, Univ of California @ Irvine

Page 22: Community Analysis and Visualization Tools for the Geosciences Sylvia Murphy Don Middleton Mary Haley National Center for Atmospheric Research Computational

Will be able to import PNG images andoverlay on other projections

Page 23: Community Analysis and Visualization Tools for the Geosciences Sylvia Murphy Don Middleton Mary Haley National Center for Atmospheric Research Computational

Types of special grids that NCL and PyNGL can contour

(using triangular meshes)

Coming soon: vectors and streamlines on non-uniform grids

Page 24: Community Analysis and Visualization Tools for the Geosciences Sylvia Murphy Don Middleton Mary Haley National Center for Atmospheric Research Computational

http://isccp.giss.nasa.gov/

Page 25: Community Analysis and Visualization Tools for the Geosciences Sylvia Murphy Don Middleton Mary Haley National Center for Atmospheric Research Computational

ARPEGE GRID(Meteo France)

Christophe Cassou (CNRS/CERFACS)

Similar to ISCCP grid, but with somewhat finer

resolution. Grid is rotated with respect to the globe so as to put its poles somewhere

other than at the North and South Pole.

Page 26: Community Analysis and Visualization Tools for the Geosciences Sylvia Murphy Don Middleton Mary Haley National Center for Atmospheric Research Computational

Data from Dave Randall,Todd Ringler,

Ross Heikes of CSU

Most geodesic grids appear to be formed by elaborating an icosahedron; each of the 20 faces of the icosahedron is subdivided into smaller triangles in a more or less obvious way.

Page 27: Community Analysis and Visualization Tools for the Geosciences Sylvia Murphy Don Middleton Mary Haley National Center for Atmospheric Research Computational

Christophe Cassou (CNRS/CERFACS)

This grid could be described as a tripole grid that is further modified by the arbitrary displacement of some portions of the grid to achieve finer resolution over areas of interest (typically, ocean areas).

Page 28: Community Analysis and Visualization Tools for the Geosciences Sylvia Murphy Don Middleton Mary Haley National Center for Atmospheric Research Computational

Triangular meshTom Gross

NOAA/NOS/CSDL/MMAP

Page 29: Community Analysis and Visualization Tools for the Geosciences Sylvia Murphy Don Middleton Mary Haley National Center for Atmospheric Research Computational

Curly vectors on a triangular meshto be added to NCL/PyNGL FY2009

Page 30: Community Analysis and Visualization Tools for the Geosciences Sylvia Murphy Don Middleton Mary Haley National Center for Atmospheric Research Computational

Earth System Gridhttp://www.earthsystemgrid.org

NCAR Command Languagehttp://www.ncl.ucar.edu

PyNGL and PyNIOhttp://www.pyngl.ucar.edu

Sylvia Murphy ([email protected])Don Middleton ([email protected])Mary Haley ([email protected])

Questions?