Changeset 262
- Timestamp:
- 08/21/07 16:19:32 (17 years ago)
- Location:
- trunk/SRC
- Files:
-
- 84 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Calendar/julday.pro
r258 r262 83 83 ;- 84 84 ; 85 function julday, MONTH, DAY, YEARin, Hour, Minute, Second, NDAYSPM = ndayspm85 function julday, month, day, yearin, hour, minute, second, NDAYSPM = ndayspm 86 86 ; 87 87 @cm_4cal -
trunk/SRC/Colors/xlct.pro
r260 r262 401 401 ; 402 402 ; @file_comments 403 ; Like <proidl>XLOADCT< proidl> but fastest to write and call by default403 ; Like <proidl>XLOADCT</proidl> but fastest to write and call by default 404 404 ; the palette palette.tbl which can be in any directory 405 405 ; -
trunk/SRC/Documentation/xmldoc/pro2href.sh
r259 r262 1 1 #! /bin/sh 2 # replace <pro>ginette</pro> by a sequence like 3 # <a href="./ginette.html">ginette</a> 4 # we have to deal with the path of ginette.html ... 2 # 3 # module : 4 # replace <element>ginette</element> by a sequence like with element given 5 # in argument <a href="./ginette.html">ginette</a> 6 # in all html files in dirhtml given in argument 7 # We have to deal with the path of ginette.html in refhtml also given in 8 # argument. 5 9 # 6 10 # see call in savesaxo.sh … … 8 12 # update : 9 13 # $Id$ 14 # fplod 2007-08-21T09:06:58Z aedon.locean-ipsl.upmc.fr (Darwin) 15 # add -e (element) parameter to define element syntax like 16 # <pro></pro> or <proidl>...</proidl> 17 # add -i parameter : this directory is the one where we are looking for 18 # html files to be modified. so replace output by dirhtml 19 # add -r parameter : this directory is the one where we are looking for 20 # html files to be linked 21 # remove lowercase translation (because of idl help files which are in 22 # uppercase) 10 23 # fplod 2007-08-20T11:25:39Z aedon.locean-ipsl.upmc.fr (Darwin) 11 # correction from 24 # correction from 12 25 # 4.11. How do I match only the first occurrence of a pattern? 13 26 # in sed faq http://www.student.northpark.edu/pemente/sed/sedfaq4.html#s4.11 14 #++ still not working perfectly because path of links on the different occurences of <pro>...</pro> may not be the same 27 #++ still not working perfectly because path of links on the different occurences of <pro>...</pro> may not be the same 15 28 # ex: see restoreboxparam.pro : domdef and saveboxparam 16 29 # fplod 2007-06-26T13:32:06Z aedon.locean-ipsl.upmc.fr (Darwin) 17 30 # improvment for multiple occurences of <pro>...</pro> on one line 18 # see http://www.gentoo.org/doc/en/articles/l-sed2.xml 31 # see http://www.gentoo.org/doc/en/articles/l-sed2.xml 19 32 # Sed by example, Part 2 20 33 # especially for directory-overview files … … 22 35 # creation 23 36 # 37 set -o posix 38 command=$(basename ${0} .sh) 39 log_date=$(date -u +"%Y-%m-%dT%H:%M:%SZ") 40 log=/tmp/${command}.${log_date} 41 # 42 usage=" Usage : ${command} -i dirhtml -r refhtml -e element" 43 # 44 while [ ! -z "${1}" ] 45 do 46 case ${1} in 47 -i) # dirhtml 48 dirhtml=${2} 49 shift 50 ;; 51 -r) # refhtml 52 refhtml=${2} 53 shift 54 ;; 55 -e) # element 56 element=${2} 57 shift 58 ;; 59 -h) 60 echo "${usage}" 61 exit 0 62 ;; 63 *) # other choice 64 echo "${usage}" 65 exit 1 66 ;; 67 esac 68 shift # next flag 69 done 70 # 24 71 set -u 25 output=${1} # ++ parameter26 72 # 27 # first find all files containing <pro>...</pro> 28 list_html_pro=$(find ${output} -name "*.html" -exec grep -l "<pro>.*</pro>" {} \;) 29 if [ "${list_html_pro}" = " " ] 73 # check for dirhtml 74 if [ ! -d ${dirhtml} ] 30 75 then 31 echo "iii : no <pro>...</pro> in html files" 76 echo "eee : ${dirhtml} not found" 77 exit 1 78 fi 79 # ++ check for readable/writable 80 # 81 # check for refhtml 82 if [ ! -d ${refhtml} ] 83 then 84 echo "eee : ${refhtml} not found" 85 exit 1 86 fi 87 # ++ check for readable 88 # 89 # check for element 90 if [ "${element}" == "" ] 91 then 92 echo "eee : ${element} empty" 93 exit 1 94 fi 95 # 96 # first find all files containing <element>...</element> 97 list_html_element=$(find ${dirhtml} -name "*.html" -exec grep -l "<${element}>.*</${element}>" {} \;) 98 if [ "${list_html_element}" == "" ] 99 then 100 echo "iii : no <${element}>...</${element}> in html files" 32 101 else 33 for file_html in ${list_html_ pro}102 for file_html in ${list_html_element} 34 103 do 35 104 # echo "file_html ${file_html}" 36 105 # read a 37 fpath=$(dirname ${file_html} | sed -e "s+\(${output}/\)\(.*\)+\2+") 38 list_link=$(tr -s " " "\n" < ${file_html} | grep "<pro>.*</pro>" | sed -e "s/^.*<pro>//" -e "s/<\/pro>.*$//") 106 fpath=$(dirname ${file_html} | sed -e "s+\(${dirhtml}/\)\(.*\)+\2+") 107 #echo "fpath ${fpath}" 108 #read a 109 list_link=$(tr -s " " "\n" < ${file_html} | grep "<${element}>.*</${element}>" | sed -e "s/^.*<${element}>//" -e "s/<\/${element}>.*$//") 39 110 # echo "liste link" ${list_link} 40 111 # read a 41 112 for link in ${list_link} 42 113 do 43 # replace < pro>something</pro> by114 # replace <element>something</element> by 44 115 #<a href="something.html">something</a> 45 116 # modulehtml is the html file name to be used 46 117 modulehtml=${link}.html 47 modulemin=$(echo ${modulehtml} | tr "[:upper:]" "[:lower:]" )48 118 # lpath is the path on module relatively to the location of 49 # the html file containing the < pro>...</pro>50 lpath=$(find ${ output} -name "${modulemin}")119 # the html file containing the <element>...</element> 120 lpath=$(find ${refhtml} -name "${modulehtml}") 51 121 if [ "${lpath}" = "" ] 52 122 then 53 echo "eee : path of ${module min} not found under ${output}"123 echo "eee : path of ${modulehtml} not found under ${refhtml}" 54 124 echo "eee : ${link} is used in ${file_html}" 55 125 else 56 lpath=$(dirname ${lpath} | sed -e "s+\(${ output}/\)\(.*\)+\2+")126 lpath=$(dirname ${lpath} | sed -e "s+\(${refhtml}/\)\(.*\)+\2+") 57 127 #echo "path du fichier html ${fpath}" 58 128 #echo "lpath ${lpath}" 129 #read a 59 130 if [ "${lpath}" = "${fpath}" ] 60 131 then 61 relpath="./" 132 path="./" 133 fi 134 if [ "${lpath:0:1}" = "/" ] # absolute path 135 then 136 path=${lpath} 62 137 else 63 138 nblev=$(echo ${fpath} | sed -e "s@/\$@@" | awk -F "/" '{print NF}') 64 # nblev=$(( ${nblev} + 1))65 139 relpath="" 66 140 ilev=1 … … 70 144 ilev=$(( ${ilev} + 1 )) 71 145 done 72 relpath=${relpath}/${lpath}146 path=${relpath}/${lpath} 73 147 fi 74 #echo "relpath ${relpath}" 148 #echo "path ${path}" 149 #read a 75 150 cat <<EOF > /tmp/pro2href${$}.sed 76 151 1{x;s@^@first@;x;} 77 1,/< pro>${link}<\/pro>/{x;/first/s///;x;s@<pro>${link}<\/pro>@<a href="${relpath}/${link}.html">${link}<\/a>@;}152 1,/<${element}>${link}<\/${element}>/{x;/first/s///;x;s@<${element}>${link}<\/${element}>@<a href="${path}/${link}.html">${link}<\/a>@;} 78 153 EOF 79 154 sed -f /tmp/pro2href${$}.sed \ 80 155 ${file_html} > ${file_html}_modify 156 #diff ${file_html} ${file_html}_modify 157 #read a 81 158 mv ${file_html}_modify ${file_html} 82 159 rm /tmp/pro2href${$}.sed -
trunk/SRC/Documentation/xmldoc/pro2href_t.sh
r259 r262 13 13 # update : 14 14 # $Id$ 15 # fplod 2007-08-21T09:22:17Z aedon.locean-ipsl.upmc.fr (Darwin) 16 # follow changes (add parameters) of pro2href.sh 15 17 # fplod 2007-08-20T13:33:50Z aedon.locean-ipsl.upmc.fr (Darwin) 16 18 # creation … … 33 35 touch ../pro2href_tp_in/rep2/a1b.html 34 36 touch ../pro2href_tp_in/a2.html 35 ~/SAXO_DIR_ws/SRC/Documentation/xmldoc/pro2href.sh .37 ~/SAXO_DIR_ws/SRC/Documentation/xmldoc/pro2href.sh -i . -r . -e pro 36 38 more tp.html -
trunk/SRC/Documentation/xmldoc/savesaxo.sh
r257 r262 3 3 # update : 4 4 # $Id$ 5 # fplod 2007-08-21T09:29:04Z aedon.locean-ipsl.upmc.fr (Darwin) 6 # follow changes of calling sequence of pro2href.sh 7 # add call to pro2href.sh for replacement of <proidl>...</proidl> 5 8 # fplod 2007-06-26T14:33:12Z aedon.locean-ipsl.upmc.fr (Darwin) 6 9 # copy listings.css in idldoc_assistant_output … … 347 350 # replace <pro>ginette</pro> by a sequence like 348 351 # <a href="./ginette.html">ginette</a> 349 ./pro2href.sh ${output}352 ./pro2href.sh -i ${output} -r ${output} -e pro 350 353 status=${?} 351 354 if [ ${status} -ne 0 ] 352 355 then 353 echo "eee : pb during ./pro2href.sh" 356 echo "eee : pb during ./pro2href.sh for <pro>...</pro>" 357 exit 1 358 fi 359 # replace <proidl>ginette</proidl> by a sequence like 360 # <a href="./ginette.html">ginette</a> 361 ./pro2href.sh -i ${output} -r ${IDL_DIR}/help/online_help -e proidl 362 status=${?} 363 if [ ${status} -ne 0 ] 364 then 365 echo "eee : pb during ./pro2href.sh for <proidl>...</proidl>" 354 366 exit 1 355 367 fi … … 420 432 # replace <pro>ginette</pro> by a sequence like 421 433 # <a href="./ginette.html">ginette</a> 422 ./pro2href.sh ${output} 423 status=0 434 ./pro2href.sh -i ${output} -r ${output} -e pro 424 435 status=${?} 425 436 if [ ${status} -ne 0 ] 426 437 then 427 echo "eee : pb during ./pro2href.sh" 438 echo "eee : pb during ./pro2href.sh for <pro>...</pro>" 439 exit 1 440 fi 441 # replace <proidl>ginette</proidl> by a sequence like 442 # <a href="./ginette.html">ginette</a> 443 ./pro2href.sh -i ${output} -r ${IDL_DIR}/help/online_help -e proidl 444 status=${?} 445 if [ ${status} -ne 0 ] 446 then 447 echo "eee : pb during ./pro2href.sh for <proidl>...</proidl>" 428 448 exit 1 429 449 fi -
trunk/SRC/Interpolation/angle.pro
r259 r262 1 2 1 ;+ 3 2 ; … … 18 17 ; 19 18 ; @returns 20 ; structure: {x:x, y:y} containing the point position in north stereographic polar projection 19 ; structure: {x:x, y:y} containing the point position in north stereographic 20 ; polar projection 21 21 ; 22 22 ; @hidden -
trunk/SRC/Interpolation/compute_fromreg_imoms3_weigaddr.pro
r238 r262 59 59 ; 60 60 PRO compute_fromreg_imoms3_weigaddr, alonin, alatin, olonin, olat, weig, addr $ 61 , NONORTHERNLINE = nonorthernline, NOSOUTHERNLINE = nosouthernline 61 , NONORTHERNLINE = nonorthernline, $ 62 NOSOUTHERNLINE = nosouthernline 62 63 ; 63 64 compile_opt idl2, strictarrsubs -
trunk/SRC/Interpolation/extrapolate.pro
r261 r262 53 53 ;- 54 54 ; 55 FUNCTION extrapolate, zinput, maskinput, nb_iteration, x_periodic= x_periodic $55 FUNCTION extrapolate, zinput, maskinput, nb_iteration, X_PERIODIC = x_periodic $ 56 56 , MINVAL = minval, MAXVAL = maxval, GE0 = ge0 57 57 ; -
trunk/SRC/Interpolation/extrapsmooth.pro
r242 r262 47 47 ;- 48 48 ; 49 FUNCTION extrapsmooth, in, mskin, x_periodic= x_periodic, MINVAL = minval, MAXVAL = maxval, GE0 = ge049 FUNCTION extrapsmooth, in, mskin, X_PERIODIC = x_periodic, MINVAL = minval, MAXVAL = maxval, GE0 = ge0 50 50 ; 51 51 compile_opt strictarr, strictarrsubs -
trunk/SRC/Interpolation/lbcorca.pro
r261 r262 29 29 ; 30 30 ; @examples 31 ; IDL> @tst_initorca231 ; IDL> \@tst_initorca2 32 32 ; IDL> a = dist(jpiglo, jpjglo) 33 33 ; IDL> print, lbcorca(a, 'T') … … 36 36 37 37 ; @history 38 ; Mai 2007: Creation, smasson @locean-ipsl.upmc.fr38 ; Mai 2007: Creation, smasson\@locean-ipsl.upmc.fr 39 39 ; 40 40 ; @version … … 42 42 ; 43 43 ;- 44 FUNCTION lbcorca, arr, grid, psign, verbose = verbose, correction= correction44 FUNCTION lbcorca, arr, grid, psign, VERBOSE = verbose, CORRECTION = correction 45 45 ; 46 46 compile_opt idl2, strictarrsubs -
trunk/SRC/Interpolation/spl_fstdrv.pro
r242 r262 24 24 ; 25 25 ; @param yscd {in}{required} 26 ; The output from <proidl>SPL_INIT</pro > for the specified X and Y.26 ; The output from <proidl>SPL_INIT</proidl> for the specified X and Y. 27 27 ; 28 28 ; @param x2 {in}{required} {type= scalar or array} -
trunk/SRC/Matrix/cmapply.pro
r260 r262 176 176 ; 177 177 ; First example: 178 ; Shows how <pro>cm papply</pro> can be used to total the second dimension of178 ; Shows how <pro>cmapply</pro> can be used to total the second dimension of 179 179 ; the array called IN. This is equivalent to OUT = TOTAL(IN, 2) 180 180 ; … … 235 235 ;- 236 236 ; 237 FUNCTION cmapply, op, array, dimapply, double=dbl, type=type, $238 functargs=functargs, nocatch=nocatch237 FUNCTION cmapply, op, array, dimapply, DOUBLE=dbl, TYPE=type, $ 238 FUNCTARGS=functargs, NOCATCH=nocatch 239 239 ; 240 240 compile_opt idl2, strictarrsubs -
trunk/SRC/Matrix/cmset_op.pro
r238 r262 197 197 ;- 198 198 ; 199 FUNCTION cmset_op, a, op0, b, not1=not1, not2=not2, count=count, $200 empty1=empty1, empty2=empty2, maxarray=ma, index=index199 FUNCTION cmset_op, a, op0, b, NOT1=not1, NOT2=not2, COUNT=count, $ 200 EMPTY1=empty1, EMPTY2=empty2, MAXARRAY=ma, INDEX=index 201 201 ; 202 202 compile_opt idl2, strictarrsubs -
trunk/SRC/Matrix/make_selection.pro
r232 r262 83 83 ;- 84 84 ; 85 FUNCTION make_selection, names,selnames, $86 only_valid=only_valid,required=required, $87 quiet=quiet85 FUNCTION make_selection, names, selnames, $ 86 ONLY_VALID=only_valid, REQUIRED=required, $ 87 QUIET=quiet 88 88 ; 89 89 compile_opt idl2, strictarrsubs -
trunk/SRC/Picture/imdisp.pro
r242 r262 197 197 ; @file_comments 198 198 ; Display an image on the current graphics device. 199 ; IMDISP is an advanced replacement for <pro dil>TV</proidl> and199 ; IMDISP is an advanced replacement for <proidl>TV</proidl> and 200 200 ; <proidl>TVSCL</proidl>. 201 201 ; -
trunk/SRC/ReadWrite/readoldoparestart.pro
r240 r262 137 137 ; $Id$ 138 138 ;- 139 140 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 141 ; 139 ; 140 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 142 141 ; 143 142 compile_opt idl2, strictarrsubs -
trunk/SRC/ToBeReviewed/CALCULS/determ2.pro
r223 r262 39 39 ; 40 40 ;- 41 ; 41 42 FUNCTION determ2, a, b, c, d 42 43 ; -
trunk/SRC/ToBeReviewed/CALCULS/floatlevel2depth.pro
r232 r262 34 34 ; 35 35 ;- 36 ; 36 37 FUNCTION floatlevel2depth, tab, NOMASK = nomask 37 38 ; -
trunk/SRC/ToBeReviewed/CALCULS/remplit.pro
r238 r262 54 54 ;- 55 55 ; 56 FUNCTION remplit, zinput, NAN = nan, NITER = niter, BASIQUE = basique, mask= mask, FILLXDIR = fillxdir, FILLYDIR = fillydir, FILLVAL = fillval, _EXTRA = ex56 FUNCTION remplit, zinput, NAN = nan, NITER = niter, BASIQUE = basique, MASK = mask, FILLXDIR = fillxdir, FILLYDIR = fillydir, FILLVAL = fillval, _EXTRA = ex 57 57 ; 58 58 compile_opt idl2, strictarrsubs -
trunk/SRC/ToBeReviewed/LECTURE/GRIB/bit2int.pro
r163 r262 34 34 ; 35 35 ;- 36 FUNCTION bit2int, bitin, checkneg= checkneg36 FUNCTION bit2int, bitin, CHECKNEG = checkneg 37 37 ; 38 38 compile_opt idl2, strictarrsubs -
trunk/SRC/ToBeReviewed/LECTURE/GRIB/read_grib.pro
r236 r262 28 28 ;- 29 29 ; 30 FUNCTION read_grib, varcode, date1, date2, file= file30 FUNCTION read_grib, varcode, date1, date2, FILE = file 31 31 ; 32 32 compile_opt idl2, strictarrsubs -
trunk/SRC/ToBeReviewed/LECTURE/GRIB/read_grib_bds.pro
r157 r262 33 33 ; $Id$ 34 34 ;- 35 ; 35 36 FUNCTION read_grib_bds, num, recstart, ni, nj 36 37 ; -
trunk/SRC/ToBeReviewed/LECTURE/GRIB/read_grib_end.pro
r157 r262 27 27 ; $Id$ 28 28 ;- 29 ; 29 30 PRO read_grib_end, num, offset 30 31 ; -
trunk/SRC/ToBeReviewed/LECTURE/GRIB/read_grib_gds.pro
r157 r262 27 27 ; $Id$ 28 28 ;- 29 ; 29 30 FUNCTION read_grib_gds, num, recstart 30 31 ; -
trunk/SRC/ToBeReviewed/LECTURE/GRIB/read_grib_is.pro
r157 r262 27 27 ; $Id$ 28 28 ;- 29 ; 29 30 FUNCTION read_grib_is, num, offset 30 31 ; -
trunk/SRC/ToBeReviewed/LECTURE/GRIB/read_grib_pds.pro
r157 r262 27 27 ; $Id$ 28 28 ;- 29 ; 29 30 FUNCTION read_grib_pds, num, recstart 30 31 ; -
trunk/SRC/ToBeReviewed/LECTURE/GRIB/read_gribtable.pro
r226 r262 32 32 ; 33 33 ; @examples 34 ; tablename='ectab_128'34 ; IDL> tablename='ectab_128' 35 35 ; 36 36 ; @history … … 40 40 ; $Id$ 41 41 ;- 42 PRO read_gribtable,tablename,parmtabl=parmtabl,center=center,$ 43 subcenter=subcenter,tablnum=tablnum 42 ; 43 PRO read_gribtable, tablename, PARMTABL=parmtabl, CENTER=center,$ 44 SUBCENTER=subcenter, TABLNUM=tablnum 44 45 ; 45 46 compile_opt idl2, strictarrsubs -
trunk/SRC/ToBeReviewed/LECTURE/GRIB/scan_grib_code.pro
r157 r262 27 27 ; $Id$ 28 28 ;- 29 ; 29 30 FUNCTION scan_grib_code, num, recstart 30 31 ; -
trunk/SRC/ToBeReviewed/LECTURE/GRIB/scan_grib_date.pro
r157 r262 27 27 ; $Id$ 28 28 ;- 29 ; 29 30 FUNCTION scan_grib_date, num, recstart 30 31 ; -
trunk/SRC/ToBeReviewed/LECTURE/GRIB/scan_grib_messize.pro
r157 r262 27 27 ; $Id$ 28 28 ;- 29 ; 29 30 FUNCTION scan_grib_messize, num, recstart 30 31 ; -
trunk/SRC/ToBeReviewed/LECTURE/GRIB/scan_grib_nbits.pro
r157 r262 27 27 ; $Id$ 28 28 ;- 29 ; 29 30 FUNCTION scan_grib_nbits, num, recstart 30 31 ; -
trunk/SRC/ToBeReviewed/LECTURE/GRIB/scan_grib_recstart.pro
r157 r262 24 24 ; $Id$ 25 25 ;- 26 ; 26 27 FUNCTION scan_grib_recstart, num 27 28 ; -
trunk/SRC/ToBeReviewed/PLOTS/DESSINE/bar_plot.pro
r240 r262 132 132 ;- 133 133 ; 134 PRO bar_plot, values,baselines=baselines,colors=colors,barnames=barnames, $135 title=title,xtitle=xtitle,ytitle=ytitle,baserange=baserange, $136 barwidth=barwidth,barspace=barspace,baroffset=baroffset, $137 outline=outline,overplot=overplot,background=background, $138 rotate=rotate, _EXTRA = ex134 PRO bar_plot, values, BASELINES=baselines, COLORS=colors, BARNAMES=barnames, $ 135 TITLE=title, XTITLE=xtitle, YTITLE=ytitle, BASERANGE=baserange, $ 136 BARWIDTH=barwidth, BARSPACE=barspace, BAROFFSET=baroffset, $ 137 OUTLINE=outline, OVERPLOt=overplot, BACKGROUND=background, $ 138 ROTATE=rotate, _EXTRA = ex 139 139 ; 140 140 compile_opt idl2, strictarrsubs -
trunk/SRC/ToBeReviewed/PLOTS/DESSINE/pltbase.pro
r246 r262 114 114 , NOCONTOUR = nocontour, NOFILL = nofill $ 115 115 , TRICHAMP = trichamp, TRIMSK = trimsk $ 116 , REALCONT = realcont, NAN = nan, usetri= usetri $116 , REALCONT = realcont, NAN = nan, USETRI = usetri $ 117 117 , COLORTRICHAMP = colortrichamp, COLORTRIMASK = colortrimask $ 118 118 , COLORTRINAN = colortrinan $ … … 130 130 , MORE = more, EXCHANGE_XY = exchange_xy $ 131 131 , _EXTRA = ex 132 ;---------------------------------------------------------133 132 ; 134 133 compile_opt idl2, strictarrsubs -
trunk/SRC/ToBeReviewed/PLOTS/DESSINE/pltsc.pro
r232 r262 53 53 ;- 54 54 ; 55 PRO pltsc,tab1,tab2, min1, max1, min2, max2, varname2, BOXZOOM = boxzoom, $56 COL1D=col1d, STY1D=sty1d,OV1D=ov1d, _EXTRA = ex55 PRO pltsc, tab1, tab2, min1, max1, min2, max2, varname2, BOXZOOM = boxzoom, $ 56 COL1D=col1d, STY1D=sty1d, OV1D=ov1d, _EXTRA = ex 57 57 ; scatter plot (inspired from plt1d) 58 58 ; -
trunk/SRC/ToBeReviewed/PLOTS/DESSINE/sbar_plot.pro
r237 r262 44 44 ;- 45 45 ; 46 PRO sbar_plot, Values, COLORS = colors, NOREINITPLT = noreinitplt, _EXTRA = ex46 PRO sbar_plot, values, COLORS = colors, NOREINITPLT = noreinitplt, _EXTRA = ex 47 47 ; 48 48 compile_opt idl2, strictarrsubs -
trunk/SRC/ToBeReviewed/PLOTS/DIVERS/determineminmax.pro
r232 r262 52 52 ;- 53 53 ; 54 PRO determineminmax, tab, mask, vraimin, vraimax, glam, gphi, MAXIN = maxin, MININ = minin, INTERVALLE = intervalle, usetri= usetri, ZEROMIDDLE = zeromiddle, _EXTRA = ex54 PRO determineminmax, tab, mask, vraimin, vraimax, glam, gphi, MAXIN = maxin, MININ = minin, INTERVALLE = intervalle, USETRI = usetri, ZEROMIDDLE = zeromiddle, _EXTRA = ex 55 55 ; 56 56 compile_opt idl2, strictarrsubs -
trunk/SRC/ToBeReviewed/PLOTS/VECTEUR/velovect.pro
r238 r262 93 93 ;- 94 94 ; 95 PRO velovect, U,V,X,Y, Missing = Missing, Length = length, Dots= dots, $96 C olor=color, CLIP=clip, NOCLIP=noclip, OVERPLOT=overplot, _EXTRA=extra95 PRO velovect, u,v,x,y, MISSING = missing, LENGTH = length, DOTS = dots, $ 96 COLOR=color, CLIP=clip, NOCLIP=noclip, OVERPLOT=overplot, _EXTRA=extra 97 97 ; 98 98 compile_opt idl2, strictarrsubs -
trunk/SRC/ToBeReviewed/PLOTS/axe.pro
r231 r262 53 53 ;- 54 54 ; 55 PRO axe, coupe, tempsmin,tempsmax, REVERSE_X = reverse_x, REVERSE_Y = reverse_y, SIN = sin, SEPDATE = sepdate, DIGITSYEAR = digitsyear, _EXTRA = ex55 PRO axe, coupe, tempsmin, tempsmax, REVERSE_X = reverse_x, REVERSE_Y = reverse_y, SIN = sin, SEPDATE = sepdate, DIGITSYEAR = digitsyear, _EXTRA = ex 56 56 ; 57 57 compile_opt idl2, strictarrsubs -
trunk/SRC/ToBeReviewed/PLOTS/plotsym.pro
r261 r262 46 46 ;- 47 47 ; 48 FUNCTION plotsym, circle=circle, triangle=triangle, diamond=diamond, $49 angle=angle, box=box, line=line, scale=scale, $48 FUNCTION plotsym, CIRCLE=circle, TRIANGLE=triangle, DIAMOND=diamond, $ 49 ANGLE=angle, BOX=box, LINE=line, SCALE=scale, $ 50 50 _EXTRA=extra 51 51 ; -
trunk/SRC/ToBeReviewed/PLOTS/reinitplt.pro
r231 r262 44 44 ;- 45 45 ; 46 PRO reinitplt, all=all,x=x,y=y,z=z,p=p, invert=invert46 PRO reinitplt, ALL=all, X=x, Y=y, Z=z, P=p, INVERT=invert 47 47 ; 48 48 compile_opt idl2, strictarrsubs -
trunk/SRC/ToBeReviewed/PLOTS/style.pro
r231 r262 35 35 ;- 36 36 ; 37 PRO style, labstyle,level_z2d,linestyle,thick37 PRO style, labstyle, level_z2d, linestyle, thick 38 38 ; 39 39 compile_opt idl2, strictarrsubs -
trunk/SRC/ToBeReviewed/PLOTS/symbols.pro
r231 r262 43 43 ;- 44 44 ; 45 PRO symbols, nsym,scale,color=col45 PRO symbols, nsym, scale, COLOR=col 46 46 ; 47 47 compile_opt idl2, strictarrsubs -
trunk/SRC/ToBeReviewed/STATISTICS/a_correlate2d.pro
r242 r262 29 29 ;- 30 30 ; 31 FUNCTION auto_cov2d, X, Lag, DOUBLE = Double, ZERO2NAN = zero2nan31 FUNCTION auto_cov2d, x, lag, DOUBLE = double, ZERO2NAN = zero2nan 32 32 ; 33 33 compile_opt idl2, strictarrsubs … … 78 78 ; 79 79 ;- 80 81 82 FUNCTION a_correlate2d, X, Lag, Covariance = Covariance, Double = Double 80 ; 81 FUNCTION a_correlate2d, x, lag, COVARIANCE = covariance, DOUBLE = double 83 82 ; 84 83 compile_opt idl2, strictarrsubs -
trunk/SRC/ToBeReviewed/STATISTICS/a_timecorrelate.pro
r242 r262 28 28 ; 29 29 ;- 30 FUNCTION timeauto_cov, X, M, nT, Double = Double, zero2nan= zero2nan30 FUNCTION timeauto_cov, x, m, nt, DOUBLE = double, ZERO2NAN = zero2nan 31 31 ; 32 32 compile_opt idl2, strictarrsubs … … 114 114 ;- 115 115 ; 116 FUNCTION a_timecorrelate, X, Lag, COVARIANCE = Covariance, DOUBLE = Double116 FUNCTION a_timecorrelate, x, lag, COVARIANCE = covariance, DOUBLE = double 117 117 ; 118 118 compile_opt idl2, strictarrsubs -
trunk/SRC/ToBeReviewed/STATISTICS/c_timecorrelate.pro
r242 r262 31 31 ;- 32 32 ; 33 FUNCTION timecross_cov, Xd, Yd, M, nT, Ndim, Double = Double, ZERO2NAN = zero2nan33 FUNCTION timecross_cov, xd, yd, m, nt, ndim, DOUBLE = double, ZERO2NAN = zero2nan 34 34 ; 35 35 compile_opt hidden … … 116 116 ;- 117 117 ; 118 FUNCTION c_timecorrelate, X, Y, Lag, Covariance = Covariance, Double = Double118 FUNCTION c_timecorrelate, x, y, lag, COVARIANCE = covariance, DOUBLE = double 119 119 ; 120 120 -
trunk/SRC/ToBeReviewed/STRING/delchr.pro
r240 r262 34 34 ;- 35 35 ; 36 FUNCTION delchr, OLD, C, help=hlp36 FUNCTION delchr, old, c, HELP=hlp 37 37 ; 38 38 compile_opt idl2, strictarrsubs 39 39 ; 40 40 41 42 43 44 45 46 47 48 41 if (n_params(0) lt 2) or keyword_set(hlp) then begin 42 ras = report(['Delete all occurrences of a character from a text string.', $ 43 ' new = delchr(old, char)', $ 44 ' old = original text string. in' , $ 45 ' char = character to delete. in' , $ 46 ' new = resulting string. out']) 47 return, -1 48 endif 49 49 50 B = BYTE(OLD); convert string to a byte array.51 CB = BYTE(C); convert char to byte.52 53 if w[0] eq -1 then return, ''; Nothing left.54 return, string(b[w]); Return new string.55 50 B = BYTE(OLD) ; convert string to a byte array. 51 CB = BYTE(C) ; convert char to byte. 52 w = where(b ne cb[0]) 53 if w[0] eq -1 then return, '' ; Nothing left. 54 return, string(b[w]) ; Return new string. 55 END -
trunk/SRC/ToBeReviewed/STRING/getfile.pro
r260 r262 52 52 ;- 53 53 ; 54 FUNCTION getfile, filein, error=err, help=hlp, quiet=quiet, lines=lines, find= find54 FUNCTION getfile, filein, error=err, HELP=hlp, QUIET=quiet, LINES=lines, FIND = find 55 55 ; 56 56 compile_opt idl2, strictarrsubs 57 57 ; 58 58 59 60 59 if (n_params(0) lt 1) or keyword_set(hlp) then begin 60 ras = report([ $ 61 61 ' Read a text file into a string array.', $ 62 63 64 65 66 67 68 69 70 71 72 73 62 ' s = getfile(f)', $ 63 ' f = text file name. in', $ 64 ' s = string array. out', $ 65 ' Keywords:', $ 66 ' ERROR=err error flag: 0=ok, 1=file not opened,', $ 67 ' 2=no lines in file.', $ 68 ' /QUIET means give no error message.', $ 69 ' LINES=n Number of lines to read (def=all).', $ 70 ' Much faster if number of lines is known.', $ 71 ' Automatic for IDL 5.6 or later.']) 72 return, -1 73 endif 74 74 ; 75 75 if keyword_set(find) then begin … … 84 84 if (!version.release+0. ge 5.5) then begin 85 85 f = call_function('file_search', file, count = c) 86 87 88 89 90 91 92 86 endif else begin 87 f = findfile(file,count=c) 88 endelse 89 if c eq 0 then begin 90 err = 1 91 return,'' 92 endif 93 93 94 95 96 97 98 99 100 101 102 94 if n_elements(line) eq 0 and (!version.release+0. ge 5.6) then begin 95 lines = file_lines(file) 96 if lines eq 0 then begin 97 if not keyword_set(quiet) then print,' No lines in file.' 98 err = 2 99 return,-1 100 endif 101 minlines = 0 102 endif else minlines=1 103 103 104 105 106 104 get_lun, lun 105 on_ioerror, err 106 openr, lun, file 107 107 108 109 110 111 112 113 114 115 116 117 118 108 if n_elements(lines) ne 0 then begin 109 s = strarr(lines) 110 readf,lun,s 111 endif else begin 112 s = [' '] 113 t = '' 114 while not eof(lun) do begin 115 readf, lun, t 116 s = [s,t] 117 endwhile 118 endelse 119 119 120 121 122 123 124 125 126 127 120 close, lun 121 free_lun, lun 122 if n_elements(s) eq minlines then begin 123 if not keyword_set(quiet) then print,' No lines in file.' 124 err = 2 125 return,-1 126 endif 127 if minlines eq 1 then s=s[1:*] 128 128 129 130 129 err = 0 130 return, s 131 131 132 err: 133 134 135 136 137 138 139 140 141 132 err: if !err eq -168 then begin 133 if not keyword_set(quiet) then print,' Non-standard text file format.' 134 free_lun, lun 135 return, s 136 endif 137 if not keyword_set(quiet) then print,$ 138 ' Error in getfile: File '+file+' not opened.' 139 free_lun, lun 140 err = 1 141 return, -1 142 142 143 143 end -
trunk/SRC/ToBeReviewed/STRING/getwrd.pro
r232 r262 73 73 ; 74 74 75 FUNCTION getwrd, TXTSTR, NTH, MTH, help=hlp, location=ll,$76 delimiter=delim, notrim=notrim, last=last, nwords=nwords75 FUNCTION getwrd, txtstr, nth, mth, HELP=hlp, LOCATION=ll,$ 76 DELIMITER=delim, NOTRIM=notrim, LAST=last, NWORDS=nwords 77 77 78 78 common getwrd_com, txtstr0, nwds, loc, len -
trunk/SRC/ToBeReviewed/STRING/isnumber.pro
r232 r262 40 40 ;- 41 41 ; 42 function isnumber, txt0, x, help=hlp42 FUNCTION isnumber, txt0, x, HELP=hlp 43 43 ; 44 44 compile_opt idl2, strictarrsubs -
trunk/SRC/ToBeReviewed/STRING/lenstr.pro
r142 r262 27 27 ; @todo seb 28 28 ; 29 ; ;-30 31 function lenstr,str29 ;- 30 ; 31 FUNCTION lenstr, str 32 32 ; 33 33 compile_opt idl2, strictarrsubs -
trunk/SRC/ToBeReviewed/STRING/nwrds.pro
r232 r262 36 36 ;- 37 37 ; 38 39 function nwrds,txtstr, help=hlp, delimiter=delim 38 FUNCTION nwrds, txtstr, HELP=hlp, DELIMITER=delim 40 39 ; 41 40 compile_opt idl2, strictarrsubs -
trunk/SRC/ToBeReviewed/STRING/putfile.pro
r232 r262 30 30 ;- 31 31 ; 32 pro putfile, file, s, error=err, help=hlp32 PRO putfile, file, s, ERROR=err, HELP=hlp 33 33 ; 34 34 compile_opt idl2, strictarrsubs -
trunk/SRC/ToBeReviewed/STRING/str_size.pro
r226 r262 51 51 ; 52 52 ;- 53 54 FUNCTION str_size, string, target Width, INITSIZE=initsize, STEP=step53 ; 54 FUNCTION str_size, string, targetwidth, INITSIZE=initsize, STEP=step 55 55 ; 56 56 compile_opt idl2, strictarrsubs -
trunk/SRC/ToBeReviewed/STRING/string2struct.pro
r232 r262 22 22 ;- 23 23 ; 24 FUNCTION too_cool, _EXTRA=extra24 FUNCTION too_cool, _EXTRA=extra 25 25 ; 26 26 compile_opt idl2, strictarrsubs … … 79 79 ; 80 80 ;- 81 82 functionstring2struct,strVal81 ; 82 FUNCTION string2struct,strVal 83 83 ; 84 84 compile_opt idl2, strictarrsubs -
trunk/SRC/ToBeReviewed/STRING/strright.pro
r232 r262 27 27 ; $Id$ 28 28 ; 29 ;-30 29 ; Copyright (C) 1997, Martin Schultz, Harvard University 31 30 ; This software is provided as is without any warranty … … 35 34 ; be used commercially or sold as part of a larger package, 36 35 ; please contact the author to arrange payment. 37 ; Bugs and comments should be directed to mgs @io.harvard.edu36 ; Bugs and comments should be directed to mgs\@io.harvard.edu 38 37 ; with subject "IDL routine strright" 38 ;- 39 39 ; 40 function strright,s,lastn40 FUNCTION strright, s, lastn 41 41 ; 42 42 compile_opt idl2, strictarrsubs -
trunk/SRC/ToBeReviewed/STRING/strsci.pro
r232 r262 81 81 ; $Id$ 82 82 ; 83 ;-84 83 ; Copyright (C) 1998, 1999 Bob Yantosca and Martin Schultz, 85 84 ; Harvard University … … 90 89 ; be used commercially or sold as part of a larger package, 91 90 ; please contact the author to arrange payment. 92 ; Bugs and comments should be directed to bmy@io.harvard.edu 93 ; or mgs@io.harvard.edu with subject "IDL routine strsci" 91 ; Bugs and comments should be directed to bmy\@io.harvard.edu 92 ; or mgs\@io.harvard.edu with subject "IDL routine strsci" 93 ;- 94 94 ; 95 function strsci, Data, Format=Format, POT_Only=POT_Only, $96 MANTISSA_ONLY= MANTISSA_ONLY,SHORT=SHORT,TRIM=TRIM95 FUNCTION strsci, data, FORMAT=format, POT_ONLY=pot_only, $ 96 MANTISSA_ONLY=mantissa_only, SHORT=short, TRIM=trim 97 97 ; 98 98 compile_opt idl2, strictarrsubs -
trunk/SRC/ToBeReviewed/STRING/strtok.pro
r232 r262 65 65 ;- 66 66 ; 67 FUNCTION strtok, string, token, $ 68 TRIM=trim, HELP=Help 67 FUNCTION strtok, string, token, TRIM=trim, HELP=Help 69 68 ; 70 69 compile_opt idl2, strictarrsubs -
trunk/SRC/ToBeReviewed/STRING/strwhere.pro
r238 r262 33 33 ; $Id$ 34 34 ; 35 ;-36 35 ; Copyright (C) 1998, Martin Schultz, Harvard University 37 36 ; This software is provided as is without any warranty … … 41 40 ; be used commercially or sold as part of a larger package, 42 41 ; please contact the author to arrange payment. 43 ; Bugs and comments should be directed to mgs @io.harvard.edu42 ; Bugs and comments should be directed to mgs\@io.harvard.edu 44 43 ; with subject "IDL routine strwhere" 44 ;- 45 45 ; 46 FUNCTION strwhere, str,schar,Count46 FUNCTION strwhere, str, schar,count 47 47 ; 48 48 compile_opt idl2, strictarrsubs -
trunk/SRC/ToBeReviewed/STRUCTURE/chkstru.pro
r232 r262 53 53 ; $Id$ 54 54 ; 55 ;-56 55 ; Copyright (C) 1998, Martin Schultz, Harvard University 57 56 ; This software is provided as is without any warranty … … 61 60 ; be used commercially or sold as part of a larger package, 62 61 ; please contact the author to arrange payment. 63 ; Bugs and comments should be directed to mgs @io.harvard.edu62 ; Bugs and comments should be directed to mgs\@io.harvard.edu 64 63 ; with subject "IDL routine chkstru" 64 ;- 65 65 ; 66 function chkstru,structure,fields,index=index,verbose=verbose, extract= extract66 FUNCTION chkstru, structure, fields, INDEX=index,VERBOSE=verbose, EXTRACT = extract 67 67 ; 68 68 compile_opt idl2, strictarrsubs -
trunk/SRC/ToBeReviewed/STRUCTURE/where_tag.pro
r232 r262 56 56 ; 57 57 ;- 58 function where_tag, Struct, Nfound, TAG_NAME=Tag_Name, $59 TAG_NUMBER= Tag_Num, $58 FUNCTION where_tag, Struct, Nfound, TAG_NAME=tag_name, $ 59 TAG_NUMBER=tag_num, $ 60 60 ISELECT=ipart, NOPRINT=noprint, $ 61 61 RANGE=range, VALUES=values 62 ;First check required parameters...63 62 ; 64 63 compile_opt idl2, strictarrsubs 65 64 ; 66 65 ;First check required parameters... 67 66 Ntag = N_tags( Struct ) 68 67 -
trunk/SRC/ToBeReviewed/TRIANGULATION/ciseauxtri.pro
r231 r262 31 31 ; 32 32 FUNCTION ciseauxtri, triang, glam, gphi, _EXTRA = ex 33 ;---------------------------------------------------------34 33 ; 35 34 compile_opt idl2, strictarrsubs -
trunk/SRC/ToBeReviewed/TRIANGULATION/definetri.pro
r232 r262 82 82 ; $Id$ 83 83 ;- 84 ; 84 85 FUNCTION definetri, nx, ny, downward 85 86 ; -
trunk/SRC/ToBeReviewed/TRIANGULATION/definetri_e.pro
r232 r262 77 77 ; seb: documenter SHIFTED 78 78 ;- 79 ; 79 80 FUNCTION definetri_e, nx, ny, singular, SHIFTED = shifted 80 81 ; -
trunk/SRC/ToBeReviewed/TRIANGULATION/drawcoast_e.pro
r232 r262 51 51 ;- 52 52 ; 53 PRO drawcoast_e, mask, xf, yf, nx, ny, COAST_COLOR = coast_color, COAST_THICK = coast_thick, YSEUIL = yseuil, XSEUIL = xseuil, onemore= onemore, _EXTRA = ex53 PRO drawcoast_e, mask, xf, yf, nx, ny, COAST_COLOR = coast_color, COAST_THICK = coast_thick, YSEUIL = yseuil, XSEUIL = xseuil, ONEMORE = onemore, _EXTRA = ex 54 54 ; 55 55 compile_opt idl2, strictarrsubs -
trunk/SRC/ToBeReviewed/WIDGET/AUTOUR_de_XXX/buildcmd.pro
r254 r262 30 30 ; 31 31 ;- 32 ;------------------------------------------------------------ 33 ;------------------------------------------------------------ 34 ;------------------------------------------------------------ 32 ; 35 33 FUNCTION buildcmd, base, BOXZOOM = boxzoom, FORCETYPE = forcetype 36 34 ; -
trunk/SRC/ToBeReviewed/WIDGET/AUTOUR_de_XXX/buildreadcmd.pro
r254 r262 38 38 ; 39 39 ;- 40 ; 40 41 FUNCTION buildreadcmd, base, snameexp, procedure, type, BOXZOOM = boxzoom $ 41 42 , COMPLETE = complete, NAMEFIELD = namefield -
trunk/SRC/ToBeReviewed/WIDGET/AUTOUR_de_XXX/changefield.pro
r254 r262 40 40 PRO changefield, base, newfieldname, BOXZOOM = boxzoom 41 41 ; 42 ;43 42 compile_opt idl2, strictarrsubs 44 43 ; -
trunk/SRC/ToBeReviewed/WIDGET/AUTOUR_de_XXX/changefile.pro
r254 r262 44 44 ; 45 45 ;- 46 ; 46 47 PRO changefile, base, newfilename, BOXZOOM = boxzoom, DATE1 = date1, DATE2 = date2, FIELDNAME = fieldname 47 48 ; -
trunk/SRC/ToBeReviewed/WIDGET/AUTOUR_de_XXX/createhistory.pro
r231 r262 38 38 ; 39 39 ;- 40 ; 40 41 PRO createhistory, base, small 41 42 ; 42 ;-------------------------------------------------------------43 43 ; we save globalcommand in globaloldcommand 44 44 ; -
trunk/SRC/ToBeReviewed/WIDGET/AUTOUR_de_XXX/doubleclickaction.pro
r231 r262 26 26 ; 27 27 PRO doubleclickaction, event 28 ;------------------------------------------------------------29 28 ; 30 29 compile_opt idl2, strictarrsubs -
trunk/SRC/ToBeReviewed/WIDGET/AUTOUR_de_XXX/tracecadre.pro
r231 r262 33 33 ;- 34 34 ; 35 PRO tracecadre, small, out = out, erase = erase, fill= fill35 PRO tracecadre, small, OUT = out, ERASE = erase, FILL = fill 36 36 ; 37 37 compile_opt idl2, strictarrsubs -
trunk/SRC/ToBeReviewed/WIDGET/COMPOUND_WIDGET/cw_bgroup.pro
r242 r262 80 80 ; $Id$ 81 81 ;- 82 function cw_bgroup_getv, id, value 83 82 ; 83 FUNCTION cw_bgroup_getv, id, value 84 ; 84 85 compile_opt hidden, idl2, strictarrsubs 86 ; 85 87 ON_ERROR, 2 ;return to caller 86 88 … … 129 131 ; $Id$ 130 132 ;- 131 function cw_bgroup_event, ev 133 ; 134 FUNCTION cw_bgroup_event, ev 135 ; 132 136 compile_opt hidden, idl2, strictarrsubs 137 ; 133 138 WIDGET_CONTROL, ev.handler, GET_UVALUE=stash 134 139 WIDGET_CONTROL, stash, GET_UVALUE=state, /NO_COPY … … 333 338 ; 334 339 ;- 335 336 337 338 339 340 function cw_bgroup, parent, names, $ 340 ; 341 FUNCTION cw_bgroup, parent, names, $ 341 342 BUTTON_UVALUE = button_uvalue, COLUMN=column, EVENT_FUNCT = efun, $ 342 343 EXCLUSIVE=excl, FONT=font, FRAME=frame, IDS=ids, LABEL_TOP=label_top, $ … … 349 350 YOFFSET=yoffset, YPAD=ypad, YSIZE=ysize, Y_SCROLL_SIZE=y_scroll_size, $ 350 351 UNAME=uname 351 352 352 ; 353 compile_opt hidden, idl2, strictarrsubs 354 ; 353 355 IF (N_PARAMS() ne 2) THEN ras = report('Incorrect number of arguments') 354 356 -
trunk/SRC/ToBeReviewed/WIDGET/COMPOUND_WIDGET/cw_calendar.pro
r232 r262 67 67 compile_opt strictarr, strictarrsubs 68 68 ; 69 ;70 69 @cm_4cal 71 70 ; get back the calendar and its related informations … … 133 132 ; $Id$ 134 133 ;- 134 ; 135 135 FUNCTION cw_calendar_get_value, id 136 136 ; … … 168 168 ; $Id$ 169 169 ;- 170 ; 170 171 FUNCTION get_cal_value, id, winfoid 171 172 ; -
trunk/SRC/ToBeReviewed/WIDGET/COMPOUND_WIDGET/cw_slide_slice.pro
r254 r262 218 218 ;- 219 219 ; 220 FUNCTION cw_slide_slice, parent, boxzoom= boxzoom, UVALUE = uvalue, UNAME = uname, FRAME = frame, ROW = row, COLUMN = column, _EXTRA = ex220 FUNCTION cw_slide_slice, parent, BOXZOOM = boxzoom, UVALUE = uvalue, UNAME = uname, FRAME = frame, ROW = row, COLUMN = column, _EXTRA = ex 221 221 ; 222 222 compile_opt idl2, strictarrsubs -
trunk/SRC/ToBeReviewed/WIDGET/COMPOUND_WIDGET/cw_slider_pm.pro
r242 r262 338 338 FUNCTION cw_slider_pm, parent, MAXIMUM = maximum, MINIMUM = minimum $ 339 339 , STRMINLEN = strminlen, VALUE = value, UVALUE = uvalue $ 340 , UNAME = uname, title= title, _EXTRA = ex340 , UNAME = uname, TITLE = title, _EXTRA = ex 341 341 ; 342 342 compile_opt idl2, strictarrsubs -
trunk/SRC/ToBeReviewed/WIDGET/COMPOUND_WIDGET/cw_specifie.pro
r232 r262 212 212 ; 213 213 FUNCTION cw_specifie, parent, ROW = row, COLUMN = column, UVALUE = uvalue, UNAME = uname, FRAME = frame, FORXXX = forxxx, _EXTRA = ex 214 ; 215 compile_opt idl2, strictarrsubs 216 ; 214 217 ; checking exclusive keywords 215 ;216 compile_opt idl2, strictarrsubs217 ;218 218 column = keyword_set(column)*(1-keyword_set(row)) 219 219 row = keyword_set(row)*(1-keyword_set(column)) +(keyword_set(row) EQ column) -
trunk/SRC/ToBeReviewed/WIDGET/findtopid.pro
r231 r262 24 24 ;- 25 25 ; 26 FUNCTION findtopid, WIDGET_ID26 FUNCTION findtopid, widget_id 27 27 ; 28 28 compile_opt idl2, strictarrsubs -
trunk/SRC/ToBeReviewed/WIDGET/slec.pro
r254 r262 48 48 ;- 49 49 ; 50 FUNCTION slec, name,debut,fin, nomexp, PARENT =parent, BOXZOOM=boxzoom, _EXTRA = ex50 FUNCTION slec, name, debut, fin, nomexp, PARENT=parent, BOXZOOM=boxzoom, _EXTRA = ex 51 51 ; 52 52 compile_opt idl2, strictarrsubs -
trunk/SRC/ToBeReviewed/WIDGET/xxx.pro
r231 r262 155 155 ;- 156 156 ; 157 PRO xxx, datafilename, idlfile, argspro, CALLERWIDID = CallerWidId $157 PRO xxx, datafilename, idlfile, argspro, CALLERWIDID = callerwidid $ 158 158 , REDRAW = redraw, SEPARATE = separate, UVALUE = uvalue $ 159 159 , RESTORE = restore, _EXTRA = ex -
trunk/SRC/Utilities/testvar.pro
r260 r262 29 29 ;- 30 30 ; 31 FUNCTION testvar, var= var31 FUNCTION testvar, VAR = var 32 32 ; 33 33 compile_opt idl2, strictarrsubs -
trunk/SRC/Utilities/text_box.pro
r242 r262 51 51 ;- 52 52 ; 53 PRO text_box, text,pos=pos,fg_color=fg_color,bg_color=bg_color,$54 center=center,right=right,box=box,vert_space=vert_space, _EXTRA = ex53 PRO text_box, text, POS=pos, FG_COLOR=fg_color, BG_COLOR=bg_color,$ 54 CENTER=center, RIGHT=right, BOX=box, VERT_SPACE=vert_space, _EXTRA = ex 55 55 ; 56 56 compile_opt idl2, strictarrsubs -
trunk/SRC/Utilities/xfile.pro
r260 r262 3 3 ; @file_comments 4 4 ; display an ASCII file in a widget. 5 ; It is the same thing that <proidl>XDISPLAYFILE< proidl> but here, we use it5 ; It is the same thing that <proidl>XDISPLAYFILE</proidl> but here, we use it 6 6 ; to display the content of a procedure or of a function located in the !path 7 7 ; ".pro" suffix will be appended if needed. -
trunk/SRC/Utilities/xhelp.pro
r260 r262 29 29 ; University of California, Santa Barbara 30 30 ; 7/1/99 : legeres mofification par Sebastien Masson : utilisation de 31 ; xdisplayfile, de findfileet de _extra.31 ; <proidl>xdisplayfile</proidl>, de <pro>findfile</pro> et de _extra. 32 32 ; 6/7/1999: compatibility mac and windows 33 33 ;
Note: See TracChangeset
for help on using the changeset viewer.