1 / 42

NCAR Command Language

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.

urbano
Télécharger la présentation

NCAR Command Language

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Building Analysis andVisualization Infrastructure forthe GeosciencesMary HaleyComputing in Atmospheric Sciences 2001Annecy, FranceTuesday, 30 October 2001

  2. NCAR Command Language • Introduction to NCL • Brief history of NCL • CCSM-NCL collaboration • Other projects • Future directions Scientific Computing Division National Center for Atmospheric Research

  3. 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 Scientific Computing Division National Center for Atmospheric Research

  4. Brief history of NCL Scientific Computing Division National Center for Atmospheric Research

  5. 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”.  Scientific Computing Division National Center for Atmospheric Research

  6. 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. Scientific Computing Division National Center for Atmospheric Research

  7. 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 Scientific Computing Division National Center for Atmospheric Research

  8. 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 NCL’s role:file input and output Scientific Computing Division National Center for Atmospheric Research

  9. 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 NCL’s role:data processing Scientific Computing Division National Center for Atmospheric Research

  10. NCL’s role:data processing (cont’d) • 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 Scientific Computing Division National Center for Atmospheric Research

  11. 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 NCL’s role:graphics Scientific Computing Division National Center for Atmospheric Research

  12. Scientific Computing Division National Center for Atmospheric Research

  13. Support for CCSM-NCL users • Documentation • CCSM Support Network web site • Consulting • NCL workshops • ncl-talk email list Scientific Computing Division National Center for Atmospheric Research

  14. Contributions from users • Over 100 functions • zonal averages • climatologies • interannual variability • specialized plotting scripts • wave number spectra • diagnostics package Scientific Computing Division National Center for Atmospheric Research

  15. 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 Scientific Computing Division National Center for Atmospheric Research

  16. MH2

  17. MH4

  18. JN1

  19. JN2

  20. AP1

  21. AP2

  22. DS1

  23. MS1

  24. DS2

  25. DS3

  26. DS4

  27. 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 Scientific Computing Division National Center for Atmospheric Research

  28. MS3

  29. MS4

  30. MS5

  31. BS2

  32. BS3

  33. BS4

  34. GT1

  35. Other current projects • Weather Research and Forecast Model • Community Data Portal • High resolution maps • Other ports Scientific Computing Division National Center for Atmospheric Research

  36. 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 Scientific Computing Division National Center for Atmospheric Research

  37. 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) Scientific Computing Division National Center for Atmospheric Research

  38. 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 Scientific Computing Division National Center for Atmospheric Research

  39. 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. Scientific Computing Division National Center for Atmospheric Research

  40. 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) Scientific Computing Division National Center for Atmospheric Research

  41. URLS • NCL Home Page http://ngwww.ucar.edu/ncl/ • CCSM Support Network http://www.cgd.ucar.edu/csm/support/ • Me (haley@ucar.edu) Scientific Computing Division National Center for Atmospheric Research

  42. National Center for Atmospheric Research Boulder, Colorado United States

More Related