source: trunk/MESOSCALE_DEV/PLOT/RESERVE/wind_velocity.idl @ 251

Last change on this file since 251 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: 343 bytes
Line 
1
2;
3; field1='U'
4; winds=['V','W']
5;
6
7if ( (field1 eq 'U') $
8        and (winds(0) eq 'V') $
9        and (winds(1) eq 'W')  ) then begin
10
11print, 'computing wind velocity'
12
13title='3D wind velocity (!NN!N.m!U-2!N)'
14
15u=what_I_plot
16v=overvector_x
17w=overvector_y
18
19velocity2=u^2+v^2+w^2
20what_I_plot=sqrt(velocity2)
21
22;;overvector_x=0
23;;overvector_y=0
24
25endif
Note: See TracBrowser for help on using the repository browser.