Line | |
---|
1 | ;+ |
---|
2 | ; |
---|
3 | ; @file_comments |
---|
4 | ; compute the 3D e3[tuvw] from e3[tw] and e3[tw]_ps according to the |
---|
5 | ; grid type defined in vargrid |
---|
6 | ; |
---|
7 | ; @categories |
---|
8 | ; diagnostics |
---|
9 | ; |
---|
10 | ; @keyword e1 {default=0}{type=scalar: 0 or 1} |
---|
11 | ; activate to compute e1 * e3 instead of e3 |
---|
12 | ; note that of both keywords e1 and e2 are activated we compute e1 * e2 * e3 instead of e3 |
---|
13 | ; |
---|
14 | ; @keyword e2 {default=0}{type=scalar: 0 or 1} |
---|
15 | ; activate to compute e2 * e3 instead of e3 |
---|
16 | ; note that of both keywords e1 and e2 are activated we compute e1 * e2 * e3 instead of e3 |
---|
17 | ; |
---|
18 | ; @returns |
---|
19 | ; e3[tuvw] |
---|
20 | ; |
---|
21 | ; @uses |
---|
22 | ; cm_4data.pro, e3[tuvw]_3d.pro |
---|
23 | ; |
---|
24 | ; @history |
---|
25 | ; Sebastien Masson, Jan 2011 |
---|
26 | ; |
---|
27 | ; @version |
---|
28 | ; $Id$ |
---|
29 | ; |
---|
30 | ;- |
---|
31 | function e3_3d, e1 = e1, e2 = e2 |
---|
32 | ; |
---|
33 | compile_opt idl2, strictarrsubs |
---|
34 | ; |
---|
35 | @cm_4data |
---|
36 | ; |
---|
37 | CASE vargrid OF |
---|
38 | 'T':return, e3t_3d(e1 = e1, e2 = e2) |
---|
39 | 'U':return, e3u_3d(e1 = e1, e2 = e2) |
---|
40 | 'V':return, e3v_3d(e1 = e1, e2 = e2) |
---|
41 | 'W':return, e3w_3d(e1 = e1, e2 = e2) |
---|
42 | ENDCASE |
---|
43 | |
---|
44 | END |
---|
45 | |
---|
Note: See
TracBrowser
for help on using the repository browser.