Subversion Repositories lagranto.ecmwf

Rev

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

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