source: trunk/MESOSCALE_DEV/PLOT/RESERVE/hwind_velocity.idl @ 937

Last change on this file since 937 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: 428 bytes
Line 
1
2;
3; field1='U'
4; winds=['U','V']
5;
6
7if ( (field1 eq 'U') $
8        and (winds(0) eq 'U') $
9        and (winds(1) eq 'V')  ) then begin
10
11print, 'computing wind velocity'
12
13title='Horizontal wind velocity (!Nm!N.s!U-1!N)'
14
15u=overvector_x
16v=overvector_y
17
18help, u
19help, v
20
21velocity2=u^2+v^2
22what_I_plot=sqrt(velocity2)
23
24;overcontour=sqrt(velocity2)
25
26;;
27;; comment if you want wind vectors
28;;
29;overvector_x=0
30;overvector_y=0
31
32pal=22
33
34endif
Note: See TracBrowser for help on using the repository browser.