1 | Usage of PALM NCL script crosssections_new.ncl |
---|
2 | ============================================== |
---|
3 | Last change: $Id: crosssections_new.usage.txt 127 2007-10-23 11:05:25Z letzel $ |
---|
4 | initial version: Marcus Letzel, 17 July 2007 |
---|
5 | contour and vector overlay: Theres Franke/Marcus Letzel, 26 July 2007 |
---|
6 | |
---|
7 | Command-line syntax |
---|
8 | =================== |
---|
9 | ncl crosssections_new.ncl [parameters] |
---|
10 | |
---|
11 | The parameter syntax depends on their data type: |
---|
12 | A) numeric data : parameter=value (for example t=0) |
---|
13 | B) character string: 'parameter="string"' (for example 'var="u_xy"') |
---|
14 | |
---|
15 | Alphabetical parameter list |
---|
16 | =========================== |
---|
17 | Name Default value Meaning |
---|
18 | ----------------------------------------------------------------------------- |
---|
19 | cm "ncview_default" colormap |
---|
20 | di "" input directory (with final /) |
---|
21 | d =di output directory (with final /) |
---|
22 | fi "example_xy" base name of input file (without suffix) |
---|
23 | fo "" base name of output files (without suffix) |
---|
24 | fill_mode "AreaFill" fill mode for mode="Fill": |
---|
25 | "AreaFill", "RasterFill" or "CellFill" |
---|
26 | mode "Fill" output mode ("Fill" or "Line") |
---|
27 | t 0 output time step |
---|
28 | var "u_xy" variable to be output |
---|
29 | xs -1e+38 output x-coordinate range start (in m) |
---|
30 | xe +1e+38 output x-coordinate range end (in m) |
---|
31 | ys -1e+38 output y-coordinate range start (in m) |
---|
32 | ye +1e+38 output y-coordinate range end (in m) |
---|
33 | zs -1e+38 output z-coordinate range start (in m) |
---|
34 | ze +1e+38 output z-coordinate range end (in m) |
---|
35 | co variable to be output as contour overlay |
---|
36 | wv1 first component of wind vector overlay |
---|
37 | wv2 second component of wind vector overlay |
---|
38 | |
---|
39 | Usage |
---|
40 | ===== |
---|
41 | This script draws NCL contour plots from two-dimensional cross-sections of |
---|
42 | NetCDF data produced by PALM. Instantaneous or time-averaged xy-, xz-, yz- or |
---|
43 | 3D-data can be used with this script. |
---|
44 | |
---|
45 | The sectional plane has neither a default orientation nor a default position. |
---|
46 | Both must be specified together using the coordinate range parameters: |
---|
47 | - For xy cross-sections specify zs and ze (with zs=za). |
---|
48 | - For xz cross-sections specify ys and ye (with ys=ya). |
---|
49 | - For yz cross-sections specify xs and xe (with xs=xa). |
---|
50 | |
---|
51 | The remaining coordinate range parameters can optionally be used to restrict |
---|
52 | the output coordinate range. |
---|
53 | |
---|
54 | By default, only screen output is produced. Additional file output is optional |
---|
55 | and requires to specify the parameter fo. This will create three files: fo.pdf, |
---|
56 | fo.eps and fo.ps. |
---|
57 | |
---|
58 | Input and output files can optionally be preceeded by an input and output |
---|
59 | directory di and d, respectively. If not specified, this scripts expects the |
---|
60 | input file to reside in the current directory. |
---|
61 | |
---|
62 | The contours can be drawn either in "Fill" (default) or "Line" mode. |
---|
63 | |
---|
64 | The parameter co activates an optional contour overlay; the parameters wv1 and |
---|
65 | wv2 activate an optional vector overlay. |
---|