source: trunk/ToBeReviewed/LECTURE/GRIB/scan_grib_code.pro @ 67

Last change on this file since 67 was 67, checked in by pinsard, 18 years ago

miscellaneous modifications according to cerbere.lodyc.jussieu.fr: /usr/home/smasson/SAXO_RD/

  • Property svn:executable set to *
File size: 255 bytes
Line 
1FUNCTION scan_grib_code, num, recstart
2;
3  nrec =  n_elements(recstart)
4  codes = bytarr(nrec)
5;
6  FOR i = 0L,nrec-1 DO BEGIN
7    offset = recstart[i]
8    a = assoc(num, bytarr(1, /nozero), offset+8+9-1)
9    codes[i] = a[0]
10  ENDFOR
11;
12  RETURN, codes
13END
Note: See TracBrowser for help on using the repository browser.