Subversion Repositories lagranto.um

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
3 michaesp 1
#!/bin/csh
2
 
3
 
4
# Write usage information
5
if ( ${#argv} == 0) then
6
  echo 
7
  echo "--------------------------------------------------------------"
8
  echo "Usage: lsl2list.sh listinp traout       "
9
  echo 
10
  echo "         trainp         : Input trajectory file "
11
  echo "         listout        : Output list [lon,lat,p] file"
12
  echo "--------------------------------------------------------------"
13
  exit 1
14
endif
15
 
16
set inpfile=$1
17
set outfile=$2
18
 
19
set prog1=${LAGRANTO}/goodies/lsl2list
20
 
21
set dim=`${LAGRANTO}/goodies/trainfo.sh ${inpfile} dim` 
22
 
23
\rm -f lsl2list.param
24
echo \"${inpfile}\"       >! lsl2list.param
25
echo \"${outfile}\"       >> lsl2list.param
26
echo ${dim}               >> lsl2list.param
27
 
28
${prog1}
29
 
30
#\rm -f lsl2list.param
31
 
32
exit 0
33