source: trunk/tools/nadw.pro @ 162

Last change on this file since 162 was 2, checked in by post_it, 17 years ago

Initial import from ~/POST_IT/

File size: 509 bytes
Line 
1PRO nadw, msf, nadw, lat, prof
2@common
3;;
4;;
5;;
6;
7;   msf est une tableau 3d [jpl,jpk,nt] ou nt est le nombre de pas de
8temps
9;
10   N = (size(msf))[3]  ; recupere nt
11   nadw = fltarr(N)
12   lat = fltarr(N)
13   prof = fltarr(N)
14
15   FOR k = 0, N-1 DO BEGIN
16      z = msf(*, *, k)
17      nadw(k) = max(z) ; prend le max de msf
18;
19;
20;
21      indice = (where(z EQ flow(k)))[0]
22      lat(k) = gphit(90, indice MOD jpl) ; recupere la latitude
23      prof(k) = zdept(indice/jpl)        ; et la profondeur
24   ENDFOR
25
26end
27
Note: See TracBrowser for help on using the repository browser.