source: trunk/SRC/ToBeReviewed/LECTURE/GRIB/scan_grib_code.pro @ 134

Last change on this file since 134 was 134, checked in by navarro, 18 years ago

change *.pro file properties (del eof-style, del executable, set keywords Id

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