1 | ************ Usage ************** |
---|
2 | |
---|
3 | visu-ncl -f infilename.nc [options] |
---|
4 | |
---|
5 | -f infilename.nc : Input file, mandatory |
---|
6 | |
---|
7 | This script is designed for longitude/latitude/pressure/time nc files. |
---|
8 | Required dimension names are: |
---|
9 | Time indexes : Time, time, time_counter |
---|
10 | Vertical levels: lev, presnivs |
---|
11 | Latitudes : lat, latitude |
---|
12 | Longitudes : lon, longitudes |
---|
13 | |
---|
14 | == Options == |
---|
15 | |
---|
16 | [-h] : This user manual |
---|
17 | |
---|
18 | [-med media] : media for output |
---|
19 | |
---|
20 | Default: x11 |
---|
21 | Possible values: |
---|
22 | x11 => Display graph on screen |
---|
23 | ps,eps,pdf => Display graph in a ps,eps or pdf file |
---|
24 | |
---|
25 | [-oname outputname] : name for the output |
---|
26 | |
---|
27 | Default: quickview (will be the name of the X11 window) |
---|
28 | The name extension (.ps, .eps, .pdf) is added automatically. |
---|
29 | |
---|
30 | [-type typeplot] : type of plot |
---|
31 | |
---|
32 | Default: coupe |
---|
33 | Possible values: |
---|
34 | coupe => Display 1D graph or 2D contour plot |
---|
35 | You need to give at least 1 varying dimension, |
---|
36 | otherwise default give only one point. |
---|
37 | ortho => Display 2D orthographic projection |
---|
38 | You will be defaulted to a full lat/lon map. |
---|
39 | stereo => Display 2D stereographic projection |
---|
40 | You will be defaulted to a full lon map. |
---|
41 | |
---|
42 | Options to define the plotted variable: |
---|
43 | --------------------------------------- |
---|
44 | |
---|
45 | [-v varname] : Variable name for plot |
---|
46 | |
---|
47 | Default: liste => list the variables in file |
---|
48 | |
---|
49 | If varname = customvar then a user-defined variable can be plotted |
---|
50 | with -v customvar,labelvar |
---|
51 | This labelvar must be defined in the customVar routine in visu-utils.ncl |
---|
52 | |
---|
53 | [-v2 varname] : Variable name to be overplotted |
---|
54 | |
---|
55 | Default: no second variable |
---|
56 | |
---|
57 | [-tc ntcutmin[,ntcutmax[,tavg]]] : INDEXES for time slice (0 to <numberoftimepoints>-1) |
---|
58 | |
---|
59 | Default: ntcutmin=0 / ntcutmax=ntcutmin / tavg=ntcutmax |
---|
60 | ntcutmin=-999: average over all times |
---|
61 | tavg=-999 : average between ntcutmin and ntcutmax |
---|
62 | Known problem: on given files, the default has a problem. |
---|
63 | In this case, try a time point different from 0, it should work. |
---|
64 | |
---|
65 | [-pc pcutmin[,pcutmax[,pavg]]] : VALUES for pressure slice |
---|
66 | |
---|
67 | Default: pcutmin=1.e4 / pcutmax=pcutmin / pavg=pcutmax |
---|
68 | pcutmin=-999 : average over all pressures |
---|
69 | pavg=-999 : average between pcutmin and pcutmax |
---|
70 | |
---|
71 | [-lc lcutmin[,lcutmax[,lavg]]] : VALUES for latitudinal slice |
---|
72 | |
---|
73 | Default: lcutmin=0 / lcutmax=lcutmin / lavg=lcutmax |
---|
74 | lcutmin=-999 : average over all latitudes |
---|
75 | lavg=-999 : average between lcutmin and lcutmax |
---|
76 | |
---|
77 | [-Lc Lcutmin[,Lcutmax[,Lavg]]] : VALUES for longitudinal slice |
---|
78 | |
---|
79 | Default: Lcutmin=0 / Lcutmax=Lcutmin / Lavg=Lcutmax |
---|
80 | Lcutmin=-999 : average over all longitudes |
---|
81 | Lavg=-999 : average between Lcutmin and Lcutmax |
---|
82 | |
---|
83 | Cosmetic options for figure: |
---|
84 | ---------------------------- |
---|
85 | |
---|
86 | [-lim min,max[,step]] : limits for variable values |
---|
87 | |
---|
88 | Default: automatic |
---|
89 | 1d : min and max values for axis (step unused) |
---|
90 | 2d : min, max and step values for contours |
---|
91 | If only one value is given, back to default. |
---|
92 | |
---|
93 | Cosmetic options for projections: |
---|
94 | --------------------------------- |
---|
95 | |
---|
96 | [-center lon,lat] : longitude and latitude (degrees) of center point |
---|
97 | |
---|
98 | Default: |
---|
99 | For orthographic: 0,40 |
---|
100 | For stereographic: 0,90 (i.e. Northern Hemisphere) |
---|
101 | To plot Southern Hemisphere, ask for 0,-90 (any other will go back to default) |
---|
102 | If only one value is given, both are identical. |
---|
103 | |
---|
104 | [-grid T/F] : logical to plot the grid or not |
---|
105 | |
---|
106 | Default: T |
---|
107 | |
---|
108 | [-gcol gridcol] : color for the grid |
---|
109 | |
---|
110 | Default: white |
---|
111 | |
---|
112 | [-gspc Dlon,Dlat] : intervals (degrees) for longitude and latitude lines |
---|
113 | |
---|
114 | Default: 30,20 |
---|
115 | If only one value is given, both are identical. |
---|
116 | |
---|