NCL has robust file input and output. It can read and write netCDF-3, netCDF-4 classic, netCDF-4, HDF4, binary, and ASCII data. It can read HDF-EOS2, HDF-EOS5, GRIB1, GRIB2, and OGR files (shapefiles, MapInfo, GMT, Tiger). It can be built as an OPeNDAP client.
NCL visualizations are world class and highly customizable.
Both NCL and NCAR Graphics are released as one package in source code or pre-compiled binary format. See the download page for more information. NCAR Graphics still has its own home page.
The NCL User Guide is an excellent beginner's guide to NCL language basics, with a step-by-step tutorial on writing NCL scripts for reading/writing files, doing computational analyses, and generating publication-quality graphics.
NCL can be run in interactive mode, where each line is interpreted as it is entered at your workstation, or it can be run in batch mode as an interpreter of complete scripts. You can also use command line options to set options or variables on the NCL command line.
The power and utility of the language are evident in three main components:
- file input and output
- data analysis
- visualization
In addition to common programming features, NCL also has features that are not found in other programming languages, including features that handle the manipulation of metadata, the configuration of the visualizations, the import of data from a variety of data formats, and an algebra that supports array operations.
NCL comes with many useful built-in functions and procedures for processing and manipulating data. There are over 600 functions and procedures that include routines for:
- use specifically with climate and model data
- computing empirical orthogonal functions, Fourier coefficients, singular value decomposition, averages, standard deviations, sin, cosine, log, min, max, etc.
- retrieving and converting date information
- drawing primitives (lines, filled areas, and markers), wind barbs, weather map symbols, isosurfaces, and other graphical objects
- robust file handling
- 1-dimensional, 2-dimensional, and 3-dimensional interpolation, approximation, and regridding
- facilitating computer analysis of scalar and vector global geophysical quantities (most are based on the package known as Spherepack)
- retrieving environment variables and executing system commands
https://www.ncl.ucar.edu/
http://www.ncl.ucar.edu/Download/conda.shtml
No comments:
Post a Comment