Subversion Repositories lagranto.um

Rev

Rev 3 | Details | Compare with Previous | Last modification | View Log | RSS feed

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