ncar command language

42
Visualization Infrastructure for the Geosciences Mary Haley Computing in Atmospheric Sciences 2001 Annecy, France Tuesday, 30 October 2001

Upload: urbano

Post on 11-Feb-2016

83 views

Category:

Documents


0 download

DESCRIPTION

Building Analysis and Visualization Infrastructure for the Geosciences Mary Haley Computing in Atmospheric Sciences 2001 Annecy, France Tuesday, 30 October 2001. NCAR Command Language. Introduction to NCL Brief history of NCL CCSM-NCL collaboration Other projects Future directions. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: NCAR Command Language

Building Analysis andVisualization Infrastructure for

the Geosciences

Mary Haley

Computing in Atmospheric Sciences 2001Annecy, France

Tuesday, 30 October 2001

Page 2: NCAR Command Language

Scientific Computing DivisionNational Center for Atmospheric Research

NCAR Command Language

• Introduction to NCL• Brief history of NCL• CCSM-NCL collaboration• Other projects• Future directions

Page 3: NCAR Command Language

Scientific Computing DivisionNational Center for Atmospheric Research

Introduction to NCL• A scripting language designed for the analysis

and visualization of data• Powerful in 3 areas:

– File input and output– Data processing– Graphics

• Based on netCDF model• Runs on many UNIX systems (Compaq, IBM,

PC/Linux, PC/Windows, SGI, Sun)• Free to the public

Page 4: NCAR Command Language

Scientific Computing DivisionNational Center for Atmospheric Research

Brief history of NCLNCAR GraphicsDesign and development

1960s – 1990sJune 1991

First version released August 1995CCSM-NCL collaboration January 1997First “climate-enhanced” version released

August 1998

Second “C.E.” version released

May 1999

NCL free to public November 2000

Page 5: NCAR Command Language

Scientific Computing DivisionNational Center for Atmospheric Research

CCSM-NCL collaboration• What is the CCSM?• Requirements for CCSM post-processor• NCL’s role• Support for CCSM-NCL users• Contributions and examples from

climate community• If I say “CSM”, I mean “CCSM”.

Page 6: NCAR Command Language

Scientific Computing DivisionNational Center for Atmospheric Research

What is the CCSM?• A fully-coupled, global climate model

that provides state-of-the-art computer simulations of the earth’s past, present, and future climate states.

Page 7: NCAR Command Language

Scientific Computing DivisionNational Center for Atmospheric Research

Requirements for the CCSMpost-processor

• Read/write certain portable data formats (netCDF, HDF, HDF-EOS)

• Read GRIB• Built-in climate analysis functions• Interface w/user Fortran/C codes and

external libraries (i.e. IMSL)• Generate different types of graphics in

publication-quality formats

Page 8: NCAR Command Language

Scientific Computing DivisionNational Center for Atmospheric Research

NCL’s role:file input and output

BEFORE• Read/write netCDF,

HDF, ASCII, binary• Read GRIB• Functions for

querying input files

AFTER• Read GRIB files

containing ECMWF complex coefficients

• Read CCM history tape files

• Read multiple files with one statement

Page 9: NCAR Command Language

Scientific Computing DivisionNational Center for Atmospheric Research

NCL’s role:data processing

BEFORE• Over 100 routines• Standard math

calculations• Handle missing data• Access Fortran & C

routines

AFTER• Over 400 routines• Spherical harmonics• Scalar and vector

regridding• 1, 2, 3D interpolations• Script to simplify

Fortran/C routine access

Page 10: NCAR Command Language

Scientific Computing DivisionNational Center for Atmospheric Research

• Sea level pressure computation• Spectral/cross-spectral analysis• Geopotential height computation for

CCM hybrid coordinates• Empirical orthogonal functions, singular

value decomposition• Other non-CCSM specific functions

NCL’s role:data processing (cont’d)

Page 11: NCAR Command Language

Scientific Computing DivisionNational Center for Atmospheric Research

NCL’s role:graphics

BEFORE• Objected-oriented

interface• Contours, XY plots,

vectors, streamlines, maps

• Flexibility via hundreds of resources

AFTER• Suite of plotting

templates• Highly-stylized• Takes advantage of

meta data

Page 12: NCAR Command Language

Scientific Computing DivisionNational Center for Atmospheric Research

Page 13: NCAR Command Language

Scientific Computing DivisionNational Center for Atmospheric Research

Support for CCSM-NCL users• Documentation• CCSM Support Network web site • Consulting• NCL workshops• ncl-talk email list

Page 14: NCAR Command Language

Scientific Computing DivisionNational Center for Atmospheric Research

Contributions from users

• Over 100 functions– zonal averages– climatologies– interannual variability– specialized plotting scripts– wave number spectra– diagnostics package

Page 15: NCAR Command Language

Scientific Computing DivisionNational Center for Atmospheric Research

Real world examples• Matthew Huber, Danish Center for Earth System

Science• Joel Norris, Scripps Institute of Oceanography• Adam Phillips, Dennis Shea, Mark Stevens, CGD• Bjorn Stevens, UCLA• Greg Thompson, Research Applications Program

Page 16: NCAR Command Language

MH2

Page 17: NCAR Command Language

MH4

Page 18: NCAR Command Language

JN1

Page 19: NCAR Command Language

JN2

Page 20: NCAR Command Language

AP1

Page 21: NCAR Command Language

AP2

Page 22: NCAR Command Language

DS1

Page 23: NCAR Command Language

MS1

Page 24: NCAR Command Language

DS2

Page 25: NCAR Command Language

DS3

Page 26: NCAR Command Language

DS4

Page 27: NCAR Command Language

Scientific Computing DivisionNational Center for Atmospheric Research

AMWG diagnostics package• Written completely in NCL• Produces over 475 postscript plots and

tables in a variety of formats from CCSM monthly netCDF files

• Used to compare two CCSM model simulations or a model simulation to observational and reanalysis data

Page 28: NCAR Command Language

MS3

Page 29: NCAR Command Language

MS4

Page 30: NCAR Command Language

MS5

Page 31: NCAR Command Language

BS2

Page 32: NCAR Command Language

BS3

Page 33: NCAR Command Language

BS4

Page 34: NCAR Command Language

GT1

Page 35: NCAR Command Language

Scientific Computing DivisionNational Center for Atmospheric Research

Other current projects• Weather Research and Forecast Model • Community Data Portal• High resolution maps• Other ports

Page 36: NCAR Command Language

Scientific Computing DivisionNational Center for Atmospheric Research

WRF Model• Next-generation mesoscale forecast model• NCL’s role

– multi-model comparison– real-time weather forecasting plots– horizontal and vertical cross sections– skew-T plots– convert WRF data to vis5D data

Page 37: NCAR Command Language

Scientific Computing DivisionNational Center for Atmospheric Research

Community Data Portal• Data Server Pilot Projects

– Live Access Server (LAS)– Distributed Oceanographic Data System –

(DODS)– NCL acts as middleware– DSS Reanalysis II is one such project– Other data portals in the works (Regional

Climate Data Access System, Vegetation and Ecosystem modeling/analysis)

Page 38: NCAR Command Language

Scientific Computing DivisionNational Center for Atmospheric Research

Future directions• Mesoscale Model (MM5) - terrain-following

sigma-coordinate model designed to simulate or predict mesoscale and regional-scale atmospheric circulation (Penn State, NCAR)

• Earth System Grid - virtual collaborative environment that links distributed centers, users, models, and data. Sponsored by DOE Office of Science, involves 5 laboratories and one university

Page 39: NCAR Command Language

Scientific Computing DivisionNational Center for Atmospheric Research

RANGS/GSHHS Coastline Database

• GSHHS (Global Self-consistent Hierarchical High-Resolution Coastlines), created by Paul Wessel and Walter Smith.

• RANGS (Regionally Accessible Nested Global Shorelines), created by Rainer Feistel.– Expressed to 0.000001 degrees of lat/lon (about 0.1

meters).– Actual accuracy is more like 500 meters.– Points in database are about 300 meters apart.

Page 40: NCAR Command Language

Scientific Computing DivisionNational Center for Atmospheric Research

Future directions (cont’d)• New functionality in NCL

– Curvilinear coordinates– HDF 5– More robust 3D capability

- Vis5D, a visualization system for large 5-D gridded data sets such as those produced by numerical weather models

– Other ports (Mac OSX)

Page 41: NCAR Command Language

Scientific Computing DivisionNational Center for Atmospheric Research

URLS• NCL Home Page

http://ngwww.ucar.edu/ncl/

• CCSM Support Networkhttp://www.cgd.ucar.edu/csm/support/

• Me ([email protected])

Page 42: NCAR Command Language

National Center for Atmospheric Research

Boulder, ColoradoUnited States