Changeset 136 for trunk/SRC/Utilities/fitintobox.pro
- Timestamp:
- 07/10/06 17:20:19 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Utilities/fitintobox.pro
r134 r136 89 89 ; @param lastz {in}{optional}{default=define by grille.pro} 90 90 ; 91 ; @keyword WDEPTH To specify that we are at W level 92 ; 93 ; @returns an array with dimensions matching the domain 94 ; or -1 if there is an error... 91 ; @keyword WDEPTH 92 ; To specify that we are at W level 93 ; 94 ; @returns 95 ; an array with dimensions matching the domain 96 ; or -1 if there is an error... 95 97 ; 96 98 ; @uses cm_4mesh 97 99 ; @uses cm_4cal 98 100 ; 99 ; @examples IDL> help, fitintobox(findgen(jpi,jpj)) 100 ; <Expression> FLOAT = Array[41, 3] 101 ; IDL> help, fitintobox(findgen(jpi,jpj,78)) 102 ; Error: 103 ; the array dimensions [180,148,78] are incompatible 104 ; with the the domain dimensions 105 ; [jpi/nx, jpj/ny, jpk/nz, jpt] = [180/41, 148/3, 31/31, 1] 106 ; <Expression> INT = -1 101 ; @examples 102 ; IDL> help, fitintobox(findgen(jpi,jpj)) 103 ; <Expression> FLOAT = Array[41, 3] 104 ; IDL> help, fitintobox(findgen(jpi,jpj,78)) 105 ; Error: 106 ; the array dimensions [180,148,78] are incompatible 107 ; with the the domain dimensions 108 ; [jpi/nx, jpj/ny, jpk/nz, jpt] = [180/41, 148/3, 31/31, 1] 109 ; <Expression> INT = -1 107 110 ; 108 111 ; @history Sebastien Masson (smasson@lodyc.jussieu.fr)
Note: See TracChangeset
for help on using the changeset viewer.