Subversion Repositories lagranto.wrf

Rev

Rev 2 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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