Changeset 238 for trunk/SRC/Utilities
- Timestamp:
- 03/27/07 15:43:18 (17 years ago)
- Location:
- trunk/SRC/Utilities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Utilities/find.pro
r232 r238 9 9 ; all file_search keywords can be used. 10 10 ; 11 ; @categories 11 ; @categories 12 12 ; find a file 13 13 ; 14 ; @param FILEIN {in}{required} 14 ; @param FILEIN {in}{required} 15 15 ; A scalar or array variable of string type, containing 16 16 ; file names to match. Input names specifications may contain … … 20 20 ; completed with '.pro' 21 21 ; 22 ; @keyword FIRSTFOUND 22 ; @keyword FIRSTFOUND 23 23 ; activate this keyword to stop looking for the file as soon as we found one. 24 24 ; 25 ; @keyword IODIRECTORY {default=['.',!path]} 25 ; @keyword IODIRECTORY {default=['.',!path]} 26 26 ; A scalar or array variable of string type, containing 27 27 ; directories names where we are looking for the file. … … 32 32 ; keyword is not taken into account. 33 33 ; 34 ; @keyword LOOKALLDIR 34 ; @keyword LOOKALLDIR 35 35 ; activate to look for the file (with a recursive search if needed) 36 36 ; in . iodir, homedir, !path + the DATA:TestsData directory if it exists. 37 37 ; 38 ; @keyword NOPRO 38 ; @keyword NOPRO 39 39 ; activate to avoid the automatic search of filename completed with '.pro' 40 40 ; 41 ; @keyword ONLYPRO 41 ; @keyword ONLYPRO 42 42 ; force to look only at file ending with .pro 43 43 ; 44 ; @keyword ONLYNC 44 ; @keyword ONLYNC 45 45 ; force to look only at file ending with .nc 46 46 ; 47 ; @keyword RECURSIVE 47 ; @keyword RECURSIVE 48 48 ; performs recursive searching of directory hierarchies. 49 49 ; In a recursive search, find looks recursively for any and all 50 50 ; subdirectories in the file hierarchy rooted at the IODIRECTORY argument. 51 51 ; 52 ; @keyword REPERTOIRE 52 ; @keyword REPERTOIRE 53 53 ; obsolete. keep for compatibility, use directory keyword 54 54 ; 55 ; @keyword UNIQUE 55 ; @keyword UNIQUE 56 56 ; activate to make sure that each element of the output vector is unique. 57 57 ; 58 ; @keyword TRYFIND 58 ; @keyword TRYFIND 59 59 ; if the file was not found and this keyword is activated, find will call 60 60 ; itself with the keywords /LOOKALLDIR and /FIRSTFOUND to try to find 61 61 ; the file we are looking for. Note that if the file was found at the 62 ; first try this keyword as no effect (which is not the case with LOOKALLDIR) 62 ; first try this keyword as no effect (which is not the case with LOOKALLDIR) 63 63 ; 64 ; @keyword _EXTRA 64 ; @keyword _EXTRA 65 65 ; Used to pass keywords 66 66 ; 67 ; @returns 67 ; @returns 68 68 ; A scalar or array variable of string type, containing the 69 69 ; name (with the full path of the matching files. If no files -
trunk/SRC/Utilities/fitintobox.pro
r231 r238 47 47 RETURN, report(['Error: ' $ 48 48 , 'the vector size (' + tostr(sz) + ') is incompatible' $ 49 , 'with the thedomain dimensions ' $49 , 'with the domain dimensions ' $ 50 50 , '[jpi/nx, jpj/ny, jpk/nz, jpt] = [' $ 51 51 + strtrim(jpi, 1) + '/' + strtrim(nx, 1) $ … … 55 55 RETURN, report(['Error: ' $ 56 56 , 'the array dimensions ' + tostr(sz) + ' are incompatible' $ 57 , 'with the thedomain dimensions ' $57 , 'with the domain dimensions ' $ 58 58 , '[jpi/nx, jpj/ny, jpk/nz, jpt] = [' $ 59 59 + strtrim(jpi, 1) + '/' + strtrim(nx, 1) $ … … 97 97 ; or -1 if there is an error... 98 98 ; 99 ; @uses 99 ; @uses 100 100 ; cm_4mesh 101 101 ; cm_4cal … … 107 107 ; Error: 108 108 ; the array dimensions [180,148,78] are incompatible 109 ; with the thedomain dimensions109 ; with the domain dimensions 110 110 ; [jpi/nx, jpj/ny, jpk/nz, jpt] = [180/41, 148/3, 31/31, 1] 111 111 ; <Expression> INT = -1 … … 118 118 ; @version 119 119 ; $Id$ 120 ; 120 121 ;- 121 122 ;
Note: See TracChangeset
for help on using the changeset viewer.