source: trunk/tools/nadw.pro @ 170

Last change on this file since 170 was 170, checked in by pinsard, 15 years ago

fill uses paragraph in header with used commons

  • Property svn:keywords set to Id
File size: 609 bytes
Line 
1;+
2;
3; @param MSF {in}
4; msf est une tableau 3d [jpl,jpk,nt] ou nt est le nombre de pas de
5;
6; @uses
7; <pro>common</pro>
8;
9; @version
10; $Id$
11;
12;-
13PRO nadw, msf, nadw, lat, prof
14;
15  compile_opt idl2, strictarrsubs
16;
17@common
18;
19temps
20;
21   N = (size(msf))[3]  ; recupere nt
22   nadw = fltarr(N)
23   lat = fltarr(N)
24   prof = fltarr(N)
25
26   FOR k = 0, N-1 DO BEGIN
27      z = msf[*, *, k]
28      nadw[k] = max(z) ; prend le max de msf
29;
30;
31;
32      indice = (where(z EQ flow(k)))[0]
33; recupere la latitude
34      lat[k] = gphit[90, indice MOD jpl]
35; et la profondeur
36      prof[k] = zdept[indice/jpl]
37   ENDFOR
38
39end
40
Note: See TracBrowser for help on using the repository browser.