- Timestamp:
- 06/02/17 21:22:28 (7 years ago)
- Location:
- trunk/SRC
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/ToBeReviewed/INIT/initncdf.pro
r495 r508 74 74 PRO initncdf, ncfilein $ 75 75 , ZAXISNAME=zaxisname, START1=start1 $ 76 , XYINDEX=xyindex, ZINDEX=zindex $76 , XYINDEX=xyindex, ZINDEX=zindex, ABSZ = absz $ 77 77 , _EXTRA=ex 78 78 ; … … 134 134 IF keyword_set(zindex) AND keyword_set(zaxis) THEN $ 135 135 zaxis = keyword_set(start1) + findgen(n_elements(zaxis)) 136 IF keyword_set(absz) AND n_elements(zaxis) NE 0 THEN zaxis = abs(zaxis) 136 137 ;---------------------------------------------------------- 137 138 ; mask -
trunk/SRC/ToBeReviewed/LECTURE/read_ncdf.pro
r501 r508 120 120 , GRID = grid, CALLITSELF = callitself, DIREC = direc $ 121 121 , ZETAFILENAME = zetafilename, ZETAZERO = zetazero $ 122 , ZINVAR = zinvar, ISROMS = isroms, _EXTRA = ex122 , ZINVAR = zinvar, ISROMS = isroms, NOTROMS3D = notroms3d, _EXTRA = ex 123 123 ; 124 124 compile_opt idl2, strictarrsubs … … 405 405 ;--------------------------------------------------------------------- 406 406 ; if it is roms outputs, we need to get additional infos... 407 IF NOT keyword_set(callitself) THEN BEGIN407 IF NOT ( keyword_set(callitself) OR keyword_set(notroms3d) ) THEN BEGIN 408 408 IF (strmid(dimnames[0], 0, 3) EQ 'xi_' AND strmid(dimnames[1], 0, 4) EQ 'eta_') OR keyword_set(isroms) THEN BEGIN 409 409 ncdf_attget, cdfid, 'theta_s', theta_s, /global -
trunk/SRC/Utilities/linearequation.pro
r371 r508 46 46 ; 47 47 48 if size(point1, /type) EQ 6 OR size(point1, /type) EQ 9 then begin 49 x1 = float(point1) 50 y1 = imaginary(point1) 51 ENDIF ELSE BEGIN 48 if size(point1, /type) EQ 6 OR size(point1, /type) EQ 9 then begin 49 x1 = real_part(point1) 50 y1 = imaginary(point1) 51 ENDIF ELSE BEGIN 52 if size(point1, /type) EQ 5 then begin 53 x1 = double(reform(point1[0, *])) 54 y1 = double(reform(point1[1, *])) 55 ENDIF ELSE BEGIN 52 56 x1 = float(reform(point1[0, *])) 53 57 y1 = float(reform(point1[1, *])) 54 ENDELSE 55 56 if size(point2, /type) EQ 6 OR size(point2, /type) EQ 9 then begin 57 x2 = float(point2) 58 y2 = imaginary(point2) 59 ENDIF ELSE BEGIN 58 ENDELSE 59 ENDELSE 60 61 if size(point2, /type) EQ 6 OR size(point2, /type) EQ 9 then begin 62 x2 = real_part(point2) 63 y2 = imaginary(point2) 64 ENDIF ELSE BEGIN 65 if size(point2, /type) EQ 5 then begin 66 x2 = double(reform(point2[0, *])) 67 y2 = double(reform(point2[1, *])) 68 ENDIF ELSE BEGIN 60 69 x2 = float(reform(point2[0, *])) 61 70 y2 = float(reform(point2[1, *])) 62 ENDELSE 63 71 ENDELSE 72 ENDELSE 73 64 74 vertical = where(x1 EQ x2) 65 75 novertical = where(x1 NE x2)
Note: See TracChangeset
for help on using the changeset viewer.