Changeset 808 for trunk/UTIL/NCL/visu-ncl
- Timestamp:
- Oct 16, 2012, 12:57:35 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/NCL/visu-ncl
r500 r808 1 1 #!/bin/bash 2 2 3 # Directory where the NCL files are located ** EDIT **3 # Directory where the NCL files are located ** EDIT ** 4 4 5 5 export NCLDIR=~/LMDZ5/UTIL/NCL … … 11 11 inFile="nofile" 12 12 var="liste" 13 labelvar="dummy" 13 14 var2="dummy" 14 15 media="x11" … … 56 57 inFile=$2 ; shift ; shift ;; 57 58 "-v") 58 var=$2 ; shift ; shift ;; 59 var=${2%%,*} 60 tmp=${2#*,} 61 labelvar=${tmp%%,*} 62 if [ $labelvar != $var ]; then 63 labelvar=${tmp#*,} 64 fi 65 shift ; shift ;; 59 66 "-v2") 60 67 var2=$2 ; shift ; shift ;; … … 190 197 ncl inFile=\"$inFile\" \ 191 198 var=\"$var\" \ 199 labelvar=\"$labelvar\" \ 192 200 var2=\"$var2\" \ 193 201 media=\"$media\" \ … … 220 228 planeto.ncl 221 229 222 if [ -f *pdf ]; then 230 if [ -f *pdf ]; then 223 231 mv *pdf $SIMUDIR 224 232 fi 225 233 226 if [ -f *ps ]; then 234 if [ -f *ps ]; then 227 235 mv *ps $SIMUDIR 228 236 fi
Note: See TracChangeset
for help on using the changeset viewer.