Subversion Repositories lagranto.ecmwf

Rev

Rev 19 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 19 Rev 38
Line 1... Line -...
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
 
-