Last change
on this file since 163 was
85,
checked in by aslmd, 14 years ago
|
LMD_MM_MARS et LMD_LES_MARS: ajout des routines IDL pour tracer les sorties --> voir mesoscale/PLOT
|
File size:
723 bytes
|
Line | |
---|
1 | |
---|
2 | ; |
---|
3 | ; field1='U' |
---|
4 | ; field2='V' |
---|
5 | ; winds=['PSFC','tk'] |
---|
6 | ; |
---|
7 | |
---|
8 | if ((winds(0) eq 'PSFC') $ |
---|
9 | and (winds(1) eq 'tk') $ |
---|
10 | and (field1 eq 'U') $ |
---|
11 | and (field2 eq 'V')) then begin |
---|
12 | |
---|
13 | |
---|
14 | print, 'computing wind stress' |
---|
15 | |
---|
16 | title='Wind stress (!NN!N.m!U-2!N)' |
---|
17 | |
---|
18 | temp=overvector_y |
---|
19 | press=overvector_x |
---|
20 | gasconst=192. |
---|
21 | rho=press/(gasconst*temp) |
---|
22 | |
---|
23 | vonkar=0.4 |
---|
24 | heightlay=5.66 ;; a calculer ?? |
---|
25 | roughness=0.01 |
---|
26 | cd=vonkar/(alog(heightlay/roughness)) |
---|
27 | cd=cd^2 |
---|
28 | |
---|
29 | velocity2=what_I_plot^2 + overcontour^2 |
---|
30 | |
---|
31 | stress=rho*cd*velocity2 |
---|
32 | what_I_plot=stress |
---|
33 | |
---|
34 | ;;overcontour=-10.*alog(overvector_x/610.) |
---|
35 | overcontour=overvector_x |
---|
36 | |
---|
37 | overvector_x=0 |
---|
38 | overvector_y=0 |
---|
39 | |
---|
40 | ;;tmpfield=reform(u[*,*,0,*]) |
---|
41 | ;;press_bg = total(tmpfield,3)/n_elements(tmpfield(0,0,*)) |
---|
42 | ;;overcontour=press_bg |
---|
43 | |
---|
44 | |
---|
45 | endif |
---|
Note: See
TracBrowser
for help on using the repository browser.