Subversion Repositories lagranto.icon

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
3 michaesp 1
#!/bin/csh
2
 
3
# Set Lagranto 
4
set LAGRANTO = ${LAGRANTOBASE}.${MODEL}/
5
 
6
# Write usage information
7
if ( ${#argv} == 0) then
8
  echo 
9
  ${LAGRANTO}/bin/lagrantohelp lsl2list short
10
  echo  
11
  exit 0
12
endif
13
 
14
set inpfile=$1
15
set outfile=$2
16
 
17
set prog1=${LAGRANTO}/goodies/lsl2list
18
 
19
set dim=`${LAGRANTO}/goodies/trainfo.sh ${inpfile} dim` 
20
 
21
\rm -f lsl2list.param
22
echo \"${inpfile}\"       >! lsl2list.param
23
echo \"${outfile}\"       >> lsl2list.param
24
echo ${dim}               >> lsl2list.param
25
 
26
${prog1}
27
 
28
\rm -f lsl2list.param
29
 
30
exit 0
31