Changeset 114 for trunk/SRC/ReadWrite
- Timestamp:
- 06/19/06 16:14:56 (18 years ago)
- Location:
- trunk/SRC/ReadWrite
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/ReadWrite/idl-NetCDF/ncdf_listdims.pro
r70 r114 1 1 FUNCTION ncdf_listdims,ncid 2 ; 3 compile_opt idl2, strictarrsubs 4 ; 2 5 3 6 n=(ncdf_inquire(ncid)).ndims -
trunk/SRC/ReadWrite/idl-NetCDF/ncdf_listvars.pro
r67 r114 1 1 FUNCTION ncdf_listvars,ncid 2 ; 3 compile_opt idl2, strictarrsubs 4 ; 2 5 3 6 n=(ncdf_inquire(ncid)).nvars -
trunk/SRC/ReadWrite/idl-NetCDF/ncdf_read.pro
r70 r114 45 45 ; 46 46 ;---------------------------------------------------------------------- 47 ; 48 compile_opt idl2, strictarrsubs 49 ; 47 50 48 51 -
trunk/SRC/ReadWrite/idl-NetCDF/ncdf_struct.pro
r67 r114 15 15 ; 16 16 ; Alan Iwi 27/6/02 17 ; 18 ; 19 compile_opt idl2, strictarrsubs 17 20 ; 18 21 -
trunk/SRC/ReadWrite/idl-NetCDF/ncdf_struct_free.pro
r67 r114 1 1 PRO ncdf_struct_free,s 2 ; 3 compile_opt idl2, strictarrsubs 4 ; 2 5 3 6 ; -
trunk/SRC/ReadWrite/ncdf_timeget.pro
r106 r114 34 34 ;------------------------------------------------------------ 35 35 FUNCTION ncdf_timeget, cdfid, timeid, YYYYMMDD = yyyymmdd, _extra = ex 36 ; 37 compile_opt idl2, strictarrsubs 38 ; 36 39 37 40 insidetime=ncdf_varinq(cdfid,timeid) -
trunk/SRC/ReadWrite/read_grads.pro
r106 r114 64 64 FUNCTION read_grads, var, date1, date2, FILENAME = filename, BOX=box, TIMESTEP = timestep, EVERYTHING = everything, NOSTRUCT = nostruct, _EXTRA = ex 65 65 ;--------------------------------------------------------- 66 ; 67 compile_opt idl2, strictarrsubs 68 ; 66 69 @cm_4mesh 67 70 @cm_4data -
trunk/SRC/ReadWrite/read_oasis.pro
r107 r114 36 36 37 37 FUNCTION read_oasis, filename, varname, jpi, jpj, I2 = I2, I4 = i4, I8 = i8, R4 = r4 38 ; 39 compile_opt idl2, strictarrsubs 40 ; 38 41 39 42 openr, unit, filename, /f77_unformatted, /get_lun, /swap_if_little_endian $ -
trunk/SRC/ReadWrite/readbat.pro
r106 r114 18 18 ;- 19 19 FUNCTION readbat, filename, ZERO = zero 20 ; 21 compile_opt idl2, strictarrsubs 22 ; 20 23 21 24 ;; … … 60 63 FOR jj = ijm-1, 0, -1 DO BEGIN 61 64 readf, iunit, FORMAT = iformat, ij, zbati 62 zbat (il1:il2, jj)= zbati65 zbat[il1:il2, jj] = zbati 63 66 ENDFOR 64 67 il1 = il1 + ifreq … … 75 78 FOR jj = ijm-1, 0, -1 DO BEGIN 76 79 readf, iunit, FORMAT = iformat, ij, zbati2 77 zbat (il1:il2, jj)= zbati280 zbat[il1:il2, jj] = zbati2 78 81 ENDFOR 79 82 close, iunit -
trunk/SRC/ReadWrite/readoldopadistcoast.pro
r106 r114 23 23 24 24 FUNCTION read3fromopa, unit, params, num 25 ; 26 compile_opt idl2, strictarrsubs 27 ; 25 28 offset=params.reclen*params.jpk*(num-1L) 26 29 a=assoc(unit,dblarr(params.jpiglo,params.jpjglo,params.jpk,/nozero),offset) … … 42 45 ;- 43 46 FUNCTION readoldopadistcoast, filename, jpiglo, jpjglo, jpk, IBLOC = ibloc, JPBYT = jpbyt, NUMREC = numrec 47 ; 48 ; 49 compile_opt idl2, strictarrsubs 44 50 ; 45 51 iname_file = findfile(filename) -
trunk/SRC/ReadWrite/readoldoparestart.pro
r106 r114 17 17 18 18 FUNCTION read2fromopa, unit, params, num 19 ; 20 compile_opt idl2, strictarrsubs 21 ; 19 22 offset=params.reclen*params.jpk*(num-1L) 20 23 a=assoc(unit,dblarr(params.jpiglo,params.jpjglo,/nozero),offset) … … 26 29 ;- 27 30 FUNCTION read3fromopa, unit, params, num 31 ; 32 compile_opt idl2, strictarrsubs 33 ; 28 34 offset=params.reclen*params.jpk*(num-1L) 29 35 a=assoc(unit,dblarr(params.jpiglo,params.jpjglo,params.jpk,/nozero),offset) … … 74 80 75 81 PRO readoldoparestart, filename, jpiglo, jpjglo, jpk, IBLOC = ibloc, JPBYT = jpbyt, NUMREC = numrec, ub = ub, vb = vb, tb = tb, sb = sb, rotb = rotb, hdivb = hdivb, un = un, vn = vn, tn = tn, sn = sn, rotn = rotn, hdivn = hdivn, gcx = gcx, gcxb = gcxb, etab = etab, etan = etan, bsfb = bsfb, bsfn = bsfn, bsfd = bsfd, en = en 82 ; 83 ; 84 compile_opt idl2, strictarrsubs 76 85 ; 77 86 iname_file = findfile(filename) -
trunk/SRC/ReadWrite/scanctl.pro
r106 r114 7 7 ;- 8 8 PRO scanctl, filename, filesname, jpt1file, varsname, varslev, swapbytes, bigendian, littleendian, f77sequential, fileheader, theader, xyheader, VARFMT = varfmt, _EXTRA = ex 9 ; 10 compile_opt idl2, strictarrsubs 11 ; 9 12 @common 10 13 -
trunk/SRC/ReadWrite/scanoasis.pro
r106 r114 22 22 23 23 PRO scanoasis, filename 24 ; 25 compile_opt idl2, strictarrsubs 26 ; 24 27 25 28 openr, unit,filename , /F77_UNFORMATTED, /GET_LUN, /SWAP_IF_LITTLE_ENDIAN $ -
trunk/SRC/ReadWrite/write_oasis.pro
r107 r114 32 32 33 33 PRO write_oasis, filename, varname, z2d, I2 = i2, I4 = i4, I8 = i8, R4 = r4, APPEND = append 34 ; 35 compile_opt idl2, strictarrsubs 36 ; 34 37 openw, unit, filename , /F77_UNFORMATTED, /GET_LUN, /SWAP_IF_LITTLE_ENDIAN $ 35 38 , error=err, APPEND = append -
trunk/SRC/ReadWrite/writebat.pro
r106 r114 16 16 ;- 17 17 PRO writebat, zbat, filename 18 ; 19 compile_opt idl2, strictarrsubs 20 ; 18 21 ; basic checks 19 22 IF n_params() NE 2 THEN BEGIN … … 61 64 iformat = string('(', il3+2, 'i3)') 62 65 FOR jj = jpj2-1, 0, -1 DO BEGIN 63 zbati (0:il3) = zbat(il1:il2, jj)66 zbati[0:il3] = zbat[il1:il2, jj] 64 67 printf, iunit, FORMAT = iformat, jj+1, zbati 65 68 END … … 77 80 iformat = string('(', il3+2, 'i3)') 78 81 FOR jj = jpj2-1, 0, -1 DO BEGIN 79 zbati2 (0:irest-1)= 080 zbati2 (0:il3) = zbat(il1:il2, jj)82 zbati2[0:irest-1] = 0 83 zbati2[0:il3] = zbat[il1:il2, jj] 81 84 printf, iunit, FORMAT = iformat, jj+1, zbati2 82 85 END
Note: See TracChangeset
for help on using the changeset viewer.