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