Changes between Version 5 and Version 6 of doc/app/ncl
- Timestamp:
- Sep 14, 2010 4:39:25 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
doc/app/ncl
v5 v6 1 1 == Usage of PALM NCL scripts == 2 ==== General ==== 2 3 The standard output format of data in PALM is [[../netcdf|netCDF]]. PALM produces output of 3D volume data, 2D cross sections, profiles, timeseries and spectra. All these kinds of output can be plotted with the ''NCAR Command Language'' [[http://www.ncl.ucar.edu/|NCL]] which is an interpreted language designed specifically for scientific data analysis and visualization.\\\\ 3 4 For PALM users four NCL scripts and one configuation file exist in the repository [[source:palm/trunk/SCRIPTS/NCL|trunk/SCRIPTS/NCL]] to receive a quick overview of the output data: … … 7 8 * {{{timeseries.ncl}}}: line plots from timeseries data 8 9 * {{{.ncl.config.default}}}: default configuration file 9 The shell script **palmplot** is designed for running the NCL scripts interactively and can be found in [[source:palm/trunk/SCRIPTS|/trunk/SCRIPTS]]. The usage is as follows:\\\\ 10 {{{palmplot plot_identifier}}}\\\\ 10 The shell script **palmplot** is designed for running the NCL scripts interactively and can be found in [[source:palm/trunk/SCRIPTS|/trunk/SCRIPTS]]. The usage is as follows: 11 {{{ 12 palmplot plot_identifier 13 }}} 11 14 {{{plot_identifier}}} has to be {{{xy}}}, {{{xz}}}, {{{yz}}}, {{{pr}}}, {{{sp}}} or {{{ts}}} in dependence on the data that is to be plotted: 12 15 ||='''plot_identifier''' =||='''data ''' =||='''used ncl script''' =|| … … 17 20 ||sp ||spectra data ||{{{spectra.ncl}}} || 18 21 ||yz ||timeseries data ||{{{timeseries.ncl}}} || 22 Several parameters can be steered to change the output of the plots. They can be either written in the prompt or modified within the configuration file {{{.ncl.config.default}}}. 23 ==== Using {{{.ncl.config}}} ==== 24 It is recommended to create a personal configuration file by copying the default configuration file {{{.ncl.config.}}} default to the PALM working directory {{{~/palm/current_version}}} and naming it {{{.ncl.config.}}} It is used by NCL directly. So, the parameters have to be written in {{{.ncl.config}}} according to the rules of the scripting language NCL. The configuration file contains all steering parameters with a short description and can be modified to personal needs. 25 ==== Using {{{palmplot}}} ==== 26