Changes between Version 24 and Version 25 of doc/app/ncl


Ignore:
Timestamp:
Sep 16, 2010 2:46:53 PM (15 years ago)
Author:
heinze
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • doc/app/ncl

    v24 v25  
    1 == Usage of PALM NCL scripts ==
     1= Usage of PALM NCL scripts =
    22[[TracNav(doc/app/ncltoc|nocollapse)]]
    3 ==== General ====
     3== General ==
    44The 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.\\\\
    55For PALM users four NCL scripts and one configuration file exist in the repository [[source:palm/trunk/SCRIPTS/NCL|/trunk/SCRIPTS/NCL]] to receive a quick overview of the output data:
     
    2222||yz  ||timeseries data  ||{{{timeseries.ncl}}}  ||
    2323Several [[../nclparlist|parameters]] can be steered to change the output of the plots. They can be either written in the prompt, modified within the configuration file {{{.ncl.config.default}}} or both.
    24 ==== Using {{{.ncl.config}}} ====
     24== Using {{{.ncl.config}}} ==
    2525It 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 [[../nclparlist|parameters]] have to be written in {{{.ncl.config}}} according to the rules of the scripting language NCL (see [[http://www.ncl.ucar.edu/Document/Manuals/Ref_Manual/NclDataTypes.shtml|NCL data types]]). The configuration file contains all steering [[../nclparlist|parameters]] with a short description and can be modified to personal needs.
    26 ==== Using {{{palmplot}}} ====
     26== Using {{{palmplot}}} ==
    2727For controlling the parameters within the prompt, they need to be written as
    2828{{{
     
    3636palmplot -? 
    3737}}}
    38 ==== Examples ====
     38== Examples ==
    3939In the following some examples are given for plotting data of the PALM example run [[../examples|example_cbl]].\\
    4040Change to the directory where the data is stored:
     
    5555palmplot ts file_1=example_cbl_ts.nc format_out=pdf file_out=ts_data no_rows=6
    5656}}}
    57 ==== Script crash ====
     57== Script crash ==
    5858If one of the scripts aborts and there is no comment, check your personal configuration file {{{.ncl.config}}} - the scripts should not abort with the default values. Be sure to use the right NCL data type (e.g.: integer = 2; float = 2.0; double = 2.0d; string = “name” ).