Changeset 102
- Timestamp:
- 06/12/06 11:20:31 (18 years ago)
- Location:
- trunk/SRC
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Documentation/idldoc_html_output/ForOldVersion/directory-overview.html
r89 r102 90 90 91 91 <dt><a href="keep_compatibility.html?format=raw">keep_compatibility.pro</a></dt> 92 <dd> </dd>92 <dd> 1) define key_forgetold = 1b - keyword_set(flag) 2) remove all oldcm_used.</dd> 93 93 94 94 <dt><a href="oldcm_empty.html?format=raw">oldcm_empty.pro</a></dt> -
trunk/SRC/Documentation/idldoc_html_output/ForOldVersion/keep_compatibility.html
r89 r102 87 87 </div> 88 88 89 <div id="file_comments"></div> 89 <div id="file_comments"> 90 1) define key_forgetold = 1b - keyword_set(flag) 91 2) remove all oldcm_used.pro found in !path 92 3) define and create myuniquetmpdir and add it to !path 93 4) copy oldcm_full(_empty) to myuniquetmpdir+'oldcm_used.pro' 94 </div> 90 95 91 96 … … 102 107 <div class="routine_details" id="_keep_compatibility"> 103 108 104 <h2><a class="top" href="#container">top</a>keep_compatibility </h2> 109 <h2><a class="top" href="#container">top</a>keep_compatibility <span class="categories"> compatibility with old version 110 </span></h2> 105 111 106 112 <p class="header"> 107 keep_compatibility<span class="result"> , <a href="#_keep_compatibility_param_flag">flag</a></span></p>113 keep_compatibility<span class="result">[, <a href="#_keep_compatibility_param_flag">flag</a>]</span></p> 108 114 109 <div class="comments"> 110 NAME: keep_compatibility 111 112 PURPOSE: 113 1) define key_forgetold = 1b - keyword_set(flag) 114 2) remove all oldcm_used.pro found in !path 115 3) define and create myuniquetmpdir and add it to !path 116 4) copy oldcm_full(_empty) to myuniquetmpdir+'oldcm_used.pro' 117 118 CATEGORY: compatibility with old version 119 120 CALLING SEQUENCE:keep_compatibility [, flag] 121 122 INPUTS: 123 124 flag: 1 or 0 to keep or forget the compatibility 125 dir: the directory where we create oldcm_used.pro. 126 if omitted, is automatically defined to 127 1b - keyword_set(key_forgetold) 128 129 COMMON BLOCKS: cm_general 130 131 SIDE EFFECTS: see purpose 132 133 RESTRICTIONS: copy oldcm_full or oldcm_empty must be found in the 134 !path. dir must aslo be in the !path 135 </div> 115 <div class="comments"></div> 136 116 137 117 … … 142 122 143 123 <h4 id="_keep_compatibility_param_flag">flag 124 <span class="attr">in</span> 144 125 145 146 126 <span class="attr">optional</span> 147 127 148 128 … … 152 132 </h4> 153 133 154 <div class="comments"></div> 134 <div class="comments"> 1 or 0 to keep or forget the compatibility 135 136 uses cm_general 137 </div> 155 138 156 139 … … 159 142 160 143 144 <h3>Examples</h3><div class="value"> 145 IDL> keep_compatibility [, flag] 146 </div> 147 <h3>Version history</h3> 148 149 150 <h4>History</h4><div class="value"> Sebastien Masson (smasson@lodyc.jussieu.fr) 151 June 2005 152 </div> 153 154 155 <h3>Known issues</h3> 161 156 162 157 163 158 164 165 166 167 168 169 170 171 172 159 <h4>Restrictions</h4><div class="value"> copy oldcm_full or oldcm_empty must be found in the 160 !path. dir must also be in the !path 161 </div> 173 162 174 163 -
trunk/SRC/Documentation/idldoc_html_output/idldoc-categories.html
r101 r102 156 156 157 157 </ul> 158 </li> <li id="idldoc-compatibility_with_old_version">compatibility with old version <span class="result">(1 routine)</span> 159 <ul> 160 161 <li><a href="./ForOldVersion/keep_compatibility.html?format=raw#_keep_compatibility">keep_compatibility</a></li> 162 163 </ul> 158 164 </li> <li id="idldoc-find_a_file">find a file <span class="result">(1 routine)</span> 159 165 <ul> -
trunk/SRC/Documentation/idldoc_html_output/idldoc-warnings.html
r101 r102 149 149 </tr> 150 150 151 </table><a href="./ForOldVersion/keep_compatibility.html?format=raw">./ForOldVersion/keep_compatibility.pro</a>152 <table>153 154 <tr>155 <td class="docroutine"><a href="./ForOldVersion/keep_compatibility.html?format=raw#_keep_compatibility">keep_compatibility</a></td>156 <td class="docstat partialdoc">partially documented</td>157 </tr>158 159 151 </table><a href="./Grid/computegrid.html?format=raw">./Grid/computegrid.pro</a> 160 152 <table> -
trunk/SRC/Documentation/idldoc_html_output/overview.html
r101 r102 360 360 <tr> 361 361 <td>Lines of code</td> 362 <td class="value"> 556 63</td>362 <td class="value"> 55655</td> 363 363 </tr> 364 364 </table> -
trunk/SRC/Documentation/idldoc_html_output/search.js
r101 r102 15 15 a[13] = new Array("./Commons/cm_general.html", "cm_general.pro", "", ""); 16 16 a[14] = new Array("./Documentation/xmldoc/idlfiles/init_example.html", "init_example.pro", "", ""); 17 a[15] = new Array("./ForOldVersion/keep_compatibility.html", "keep_compatibility.pro", "", " NAME: keep_compatibility PURPOSE: 1 define key_forgetold 1b keyword_set flag 2 remove all oldcm_used pro found in path 3 define and create myuniquetmpdir and add it to path 4 copy oldcm_full _empty to myuniquetmpdir oldcm_used pro CATEGORY: compatibility with old version CALLING SEQUENCE:keep_compatibility flag INPUTS: flag: 1 or 0 to keep or forget the compatibility dir: the directory where we create oldcm_used pro if omitted is automatically defined to 1b keyword_set key_forgetold COMMON BLOCKS: cm_general SIDE EFFECTS: see purpose RESTRICTIONS: copy oldcm_full or oldcm_empty must be found in the path dir must aslo be in the path MODIFICATION HISTORY:Sebastien Masson smasson lodyc jussieu fr June 2005 PRO keep_compatibility flag cm_general version should be at least 6 0 IF fix strmid version release 0 1 LT 6 THEN BEGIN print print ERROR print print This version of SAXO needs at least IDL version 6 0 print print ERROR print return ENDIF IF n_elements myuniquetmpdir NE 0 THEN BEGIN path path : expand_path myuniquetmpdir return ENDIF if n_elements flag eq 0 then flag 1b keyword_set key_forgetold 1 automatic definition of key_forgetold key_forgetold 1b keyword_set flag 2 remove all oldcm_used pro found in path to_rm find oldcm_used IF to_rm 0 NE NOT FOUND THEN file_delete to_rm 3 define and create myuniquetmpdir and add it to path def_myuniquetmpdir 4 copy oldcm_full _empty to myuniquetmpdir oldcm_used pro select which file should be copied to oldcm_used pro IF key_forgetold THEN BEGIN oldcm find oldcm_empty print We forget the compatibility with the old version ENDIF ELSE BEGIN oldcm find oldcm_full print We keep the compatibility with the old version ENDELSE oldcm oldcm 0 IF oldcm EQ NOT FOUND THEN BEGIN print Error: oldcm_full or oldcm_empty must be found in the path stop ENDIF copy file_copy oldcm myuniquetmpdir oldcm_used pro overwrite make sure we can make the plots enev if we are using the demo mode demomode_compatibility make sure that the common variables are correctly initialized IF size ccmeshparameters type NE 8 THEN BEGIN computegrid 1 1 1 1 1 1 fullcgrid cm_4data varname vargrid T vardate 0 varexp varunit valmask 1 e20 ENDIF return END");17 a[15] = new Array("./ForOldVersion/keep_compatibility.html", "keep_compatibility.pro", "", " file_comments 1 define key_forgetold 1b keyword_set flag 2 remove all oldcm_used pro found in path 3 define and create myuniquetmpdir and add it to path 4 copy oldcm_full _empty to myuniquetmpdir oldcm_used pro categories compatibility with old version examples IDL keep_compatibility flag param flag in optional 1 or 0 to keep or forget the compatibility uses cm_general restrictions copy oldcm_full or oldcm_empty must be found in the path dir must also be in the path history Sebastien Masson smasson lodyc jussieu fr June 2005 PRO keep_compatibility flag cm_general version should be at least 6 0 IF fix strmid version release 0 1 LT 6 THEN BEGIN print print ERROR print print This version of SAXO needs at least IDL version 6 0 print print ERROR print return ENDIF IF n_elements myuniquetmpdir NE 0 THEN BEGIN path path : expand_path myuniquetmpdir return ENDIF if n_elements flag eq 0 then flag 1b keyword_set key_forgetold 1 automatic definition of key_forgetold key_forgetold 1b keyword_set flag 2 remove all oldcm_used pro found in path to_rm find oldcm_used IF to_rm 0 NE NOT FOUND THEN file_delete to_rm 3 define and create myuniquetmpdir and add it to path def_myuniquetmpdir 4 copy oldcm_full _empty to myuniquetmpdir oldcm_used pro select which file should be copied to oldcm_used pro IF key_forgetold THEN BEGIN oldcm find oldcm_empty print We forget the compatibility with the old version ENDIF ELSE BEGIN oldcm find oldcm_full print We keep the compatibility with the old version ENDELSE oldcm oldcm 0 IF oldcm EQ NOT FOUND THEN BEGIN print Error: oldcm_full or oldcm_empty must be found in the path stop ENDIF copy file_copy oldcm myuniquetmpdir oldcm_used pro overwrite make sure we can make the plots enev if we are using the demo mode demomode_compatibility make sure that the common variables are correctly initialized IF size ccmeshparameters type NE 8 THEN BEGIN computegrid 1 1 1 1 1 1 fullcgrid cm_4data varname vargrid T vardate 0 varexp varunit valmask 1 e20 ENDIF return END"); 18 18 a[16] = new Array("./ForOldVersion/oldcm_empty.html", "oldcm_empty.pro", "", ""); 19 19 a[17] = new Array("./ForOldVersion/oldcm_full.html", "oldcm_full.pro", "", ""); -
trunk/SRC/ForOldVersion/keep_compatibility.pro
r76 r102 1 1 ;+ 2 ; NAME: keep_compatibility 3 ; 4 ; PURPOSE: 2 ; @file_comments 5 3 ; 1) define key_forgetold = 1b - keyword_set(flag) 6 4 ; 2) remove all oldcm_used.pro found in !path … … 8 6 ; 4) copy oldcm_full(_empty) to myuniquetmpdir+'oldcm_used.pro' 9 7 ; 10 ; CATEGORY:compatibility with old version8 ; @categories compatibility with old version 11 9 ; 12 ; CALLING SEQUENCE:keep_compatibility [, flag] 10 ; @examples 11 ; IDL> keep_compatibility [, flag] 13 12 ; 14 ; INPUTS:13 ; @param flag {in}{optional} 1 or 0 to keep or forget the compatibility 15 14 ; 16 ; flag: 1 or 0 to keep or forget the compatibility 17 ; dir: the directory where we create oldcm_used.pro. 18 ; if omitted, is automatically defined to 19 ; 1b - keyword_set(key_forgetold) 15 ; uses cm_general 20 16 ; 21 ; COMMON BLOCKS: cm_general 17 ; @restrictions copy oldcm_full or oldcm_empty must be found in the 18 ; !path. dir must also be in the !path 22 19 ; 23 ; SIDE EFFECTS: see purpose 24 ; 25 ; RESTRICTIONS: copy oldcm_full or oldcm_empty must be found in the 26 ; !path. dir must aslo be in the !path 27 ; 28 ; MODIFICATION HISTORY:Sebastien Masson (smasson@lodyc.jussieu.fr) 20 ; @history Sebastien Masson (smasson\@lodyc.jussieu.fr) 29 21 ; June 2005 30 22 ; -
trunk/SRC/ForOldVersion/oldcm_empty.pro
r55 r102 1 1 ;+ 2 2 ; 3 ; MODIFICATION HISTORY: Sebastien Masson (smasson@lodyc.jussieu.fr)3 ; @history Sebastien Masson (smasson\@lodyc.jussieu.fr) 4 4 ; June 2005 5 5 ;- -
trunk/SRC/ForOldVersion/oldcm_full.pro
r55 r102 1 1 ;+ 2 2 ; 3 ; MODIFICATION HISTORY: Sebastien Masson (smasson@lodyc.jussieu.fr)3 ; @history Sebastien Masson (smasson\@lodyc.jussieu.fr) 4 4 ; 14/8/98 5 5 ;- -
trunk/SRC/ForOldVersion/updatekwd.pro
r55 r102 1 1 ;+ 2 ; NAME: updatekwd3 2 ; 4 ; PURPOSE: compatibility with old keywords 3 ; @file_comments 4 ; compatibility with old keywords 5 ; if needed, force the definition of new keywords 6 ; with the old ones. 5 7 ; 6 ; CATEGORY:compatibility with previous version8 ; @categories compatibility with previous version 7 9 ; 8 ; CALLING SEQUENCE: @updatekwd 10 ; @examples 11 ; IDL> \@updatekwd 9 12 ; (must be insert as an include in a procedure or function) 10 13 ; 11 ; SIDE EFFECTS: if needed, force the definition of new keywords12 ; with the old ones.13 14 ; 14 ; RESTRICTIONS:the compatibility can be made only if the keyword15 ; @restrictions the compatibility can be made only if the keyword 15 16 ; given through _extra are given with their complete name 16 17 ; 17 ; MODIFICATION HISTORY:Sebastien Masson (smasson@lodyc.jussieu.fr)18 ; @history Sebastien Masson (smasson\@lodyc.jussieu.fr) 18 19 ; July 2005 19 20 ;- -
trunk/SRC/ForOldVersion/updatenew.pro
r55 r102 1 1 ;+ 2 ; 3 ; MODIFICATION HISTORY: Sebastien Masson (smasson@lodyc.jussieu.fr) 4 ; JUne 2005 5 ;- 6 ; 2 ; file_comments 7 3 ; common declaration 8 4 ; 9 5 ; check that key_forgetold and keep_compatibility are well defined... 6 ; @history Sebastien Masson (smasson\@lodyc.jussieu.fr) 7 ; June 2005 8 ;- 9 ; 10 10 ; 11 11 IF n_elements(key_forgetold) EQ 0 THEN keep_compatibility -
trunk/SRC/ForOldVersion/updateold.pro
r55 r102 1 1 ;+ 2 ; 3 ; MODIFICATION HISTORY: Sebastien Masson (smasson@lodyc.jussieu.fr) 2 ; @file_comments 3 ; check that key_forgetold and keep_compatibility are well defined... 4 ; @history Sebastien Masson (smasson\@lodyc.jussieu.fr) 4 5 ; 14/8/98 5 6 ;- 6 7 ; 7 ;8 ; check that key_forgetold and keep_compatibility are well defined...9 8 ; 10 9 IF n_elements(key_forgetold) EQ 0 THEN keep_compatibility -
trunk/SRC/Interpolation/get_gridparams.pro
r101 r102 31 31 ; 32 32 ; 2) 33 ; @param lon lat {in}{required} 1d or 2D arrays defining longitudes and latitudes. 33 ; @param in1 {in}{required} 1d or 2D arrays defining longitudes and latitudes. 34 ; @param in2 {in}{required} 1d or 2D arrays defining longitudes and latitudes. 34 35 ; Note that these arrays are also outputs and can therefore be modified. 35 36 36 37 ; @param in1 {out} the variable that will contain the longitudes 37 38 ; @param in2 {out} the variable that will contain the latitudes 38 ; @param in3 { out} the number of points in the longitudinal direction39 ; @param in4 { out} the number of points in the latitudinal direction40 ; @param in5 { out} 1 or 2 to specify if lon and lat should be 1D (jpi or jpj)39 ; @param in3 {in} the number of points in the longitudinal direction 40 ; @param in4 {in} the number of points in the latitudinal direction 41 ; @param in5 {in} 1 or 2 to specify if lon and lat should be 1D (jpi or jpj) 41 42 ; arrays or 2D arrays (jpi,jpj). Note that of n_dimensions = 1, then the 42 43 ; grid must be regular (each longitudes must be the same for all latitudes
Note: See TracChangeset
for help on using the changeset viewer.