【正文】
vcmx=1。 levs=b1。, xlat, dims(1), dims(2), 1, debug) get the 2D field XLAT (similar call for a 3D field) NCL in WRF Slides contributions from Bill Skamarock and Ethan Alpert (NCAR/SCD) What is NCL? NCL stands for NCAR Command Language NCL is an interpreted programming language Array based algebraic operators Support CDF data Wide variety of graphics capabilities: ? Maps, Contours, XY, Vectors, Streamlines, labelbars, text, tickmarks as well as line, marker and polygon primatives ? Output to X, NCGM, PostScript What is NCL? NCL is available on most UNIX platforms NCL can run in batch or interactive mode Interactive mode has mand history and mand line editing Many useful functions and procedures Code integration tool (ability to import FORTRAN) Prepiled binaries are free. Downloading NCL Go to: Read and agree to GPL license Fill out short registration form Download binaries Prepiled versions exist for: ? IBM RS6000, DEC Alpha, Sun Solaris, RedHat Linux, SGI IRIX, Alpha running RedHat Linux, and Mac running OSX Important resources for using and learning NCL NCL home page: Contains links to documentation, examples, FAQ, ncltalk list, and update information Getting Started Using NCL (GSUN) Getting Started Using NCL (GSUN) Intended for users with little or no NCL experience Some programming language knowledge is assumed Learning by example concept Starts with basics and builds from there Provides a set of simple functions written in NCL to be used by new users instead of NCL?s object oriented Graphics interface The “Beyond the Basics” section covers incorporating FORTRAN into NCL Additional resources for using and learning NCL NCL users list Email list devoted to NCL discussion Read by NCL developers and support staff Examples page CCSM NCL page for additional examples NCL for WRF Model Data The NCL scripts for plotting WRF model output are our first attempt at producing plots for use in our development efforts. They can do vertical interpolation (so one can plot data on pressure levels), skewT, and vertical crosssections. They currently plot model output variables plus a few diagnostic variables, such as SLP, dew point temperature, and RH. Can work with multiple input files and subdomains NCL for WRF Model Data Advantage: NCL reads WRF data di