hi list ,<br />i faced the same problem as   Syntax Error:  Invalid Operand<br />    'eofudf' not a variable or function name<br />    Error ocurred at column 1<br />  DISPLAY error:  Invalid expression<br />    Expression = eofudf(ra,1,12,-1,70,_)<br />     eof.gs: First call of eofudf returned Error. STOP<br /><br /><br /><br />GRADSUSR@LIST.CINECA.IT wrote<br />  Hi friends,<br />     I meet with the same problems when installing eofgrads in station. I did add eofudf entry and set GARDFT variable, what's the matter? I have been troubled for days, Can you help me? Thanks in advance!<br />    my steps are:<br />  <br />  1. Our machine is SGI,so i download<br />  eofgrads_sgi.tar.gz and unpack it at my home path<br />  <br />  2. follow suggestions by the web<br />  chdd@weather:~&gt; pwd<br />  /weather4/chdd/<br />  chdd@weather:~&gt; tar -zxvf eofgrads_sgi.tar.gz<br />  chdd@weather:~&gt; mkdir -p GrADS/GrADSscript<br />  chdd@weather:~&gt; cp eof.gs GrADS/GrADSscript<br />  chdd@weather:~&gt; mkdir -p GrADS/UDF<br />  chdd@weather:~&gt; cp eofudf GrADS/UDF<br />  chdd@weather:~&gt; vi GrADS/udft<br />  eofudf 2 6 expr value value value value char<br />  sequential<br />  /climate4/chdd/GrADS/UDF/eofudf<br />  /climate4/chdd/GrADS/UDF/eofudf.out<br />  /climate4/chdd/GrADS/UDF/eofudf.in<br />  chdd@weather:~&gt; vi .bash_profile<br />  export GASCRP=/weather4/chdd/GrADS/GrADSscript/<br />  export GAUDFT=/weather4/chdd/GrADS/udft<br />  export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/lib<br />  <br />    After that, I did eof analysis in GrADS and it comes with a warning.<br />  ga-&gt; q file<br />  File 1 : data.uvq.ERA/q%y4.grb<br />    Descriptor: q.ctl<br />    Binary: data.uvq.ERA/q%y4.grb<br />    Type = Gridded<br />    Xsize = 144  Ysize = 73  Zsize = 23  Tsize = 540<br />    Number of Variables = 1<br />      qprs 23 133 ** Specific humidity kg kg**-1<br />  ga-&gt;<br />  ga-&gt; q dim<br />  Default file number is: 1<br />  X is varying   Lon = 70 to 140   X = 29 to 57<br />  Y is varying   Lat = 0 to 60   Y = 37 to 61<br />  Z is fixed     Lev = 1000  Z = 1<br />  T is varying   Time = 00Z01SEP1957 to 00Z01AUG1958  T<br />  = 1 to 12<br />  ga-&gt;<br />  ga-&gt; eof qprs<br />        Writing data to transfer file...<br />        Executing eof binary ...<br />  Syntax Error:  Invalid Operand<br />    'eofudf' not a variable or function name<br />    Error ocurred at column 1<br />  DISPLAY error:  Invalid expression<br />    Expression = eofudf(qprs,12,12,-1,70,qprs_)<br />     eof.gs: First call of eofudf returned Error. STOP<br />  ga-&gt;<br />  <br />  <br />  ----- 原始邮件 ----<br />  发件人: Diane Stokes <br />  收件人: GRADSUSR@LIST.CINECA.IT<br />  已发送: 2006/10/26(周四), 下午11:50:12<br />  主题: Re: eof in grads<br />  <br />  <br />  Dear Suha,<br />  <br />  It's possible you didn't add the eofudf entry to your UDF table file (or<br />  create that file if you didn't already have one) and/or you didn't set<br />  environment variable GAUDFT to point to your UDF table file.  In Win2k,<br />  you can set env vars from the Control Panel:<br />     Control Panel-&gt;System-&gt;Advanced<br />  <br />        Diane<br />  <br />  <br />  suha aslam wrote:<br />  &gt; Dear Gradsusers,<br />  &gt;         Following the website<br />  &gt; http://www.atmos.ucla.edu/~munnich/grads/EOF/index.html<br />  &gt; i tried to install the tool to compute eof in grads on my Windows2000<br />  &gt; computer. The site does not clearly tells how to install it in a windows<br />  &gt; machine. I tried it and the following error messages pop up.<br />  &gt;<br />  &gt; ga-&gt; sdfopen d:rhum.mon.mean.nc<br />  &gt;         Scanning self-describing file:  d:rhum.mon.mean.nc<br />  &gt;         Found 1 data variables in SDF file.<br />  &gt;         Found displayable variable rhum with 8 levels in SDF file.<br />  &gt;         SDF file d:rhum.mon.mean.nc is open as file 1<br />  &gt;         LON set to 0 360<br />  &gt;         LAT set to -90 90<br />  &gt;         LEV set to 1000 1000<br />  &gt;         Time values set: 1948:1:1:0 1948:1:1:0<br />  &gt; ga-&gt; set t 1 20<br />  &gt;         Time values set: 1948:1:1:0 1949:8:1:0<br />  &gt; ga-&gt; eof rhum<br />  &gt;        Writing data to transfer file...<br />  &gt;        Executing eof binary ...<br />  &gt;<br />  &gt;        Syntax Error:  Invalid Operand<br />  &gt;        'eofudf' not a variable or function name<br />  &gt;        Error ocurred at column 1<br />  &gt;        DISPLAY error:  Invalid expression<br />  &gt;        Expression = eofudf(rhum,20,12,-1,70,rhum_)<br />  &gt;        eof.gs: First call of eofudf returned Error. STOP<br />  &gt; ga-&gt;<br />  &gt;          what could have been wrong?  can anybody used to this tool help<br />  &gt; me? when i tried to install it on linux (Redhat enterprise workstation)<br />  &gt; the situation was even worse. A help would be appreciated.<br />  &gt; Thanks,<br />  &gt; suha<br />  &gt;<br />  <br />  <br />  <br />  <br />  <br />  <br />  ___________________________________________________________<br />  Mp3疯狂搜-新歌热歌高速下<br />  http://music.yahoo.com.cn/?source=mail_mailbox_footer<br />  
<br><a href="http://adworks.rediff.com/cgi-bin/AdWorks/sigclick.cgi/www.rediff.com/signature-home.htm/1507191490@Middle5?PARTNER=3"><IMG SRC="http://adworks.rediff.com/cgi-bin/AdWorks/sigimpress.cgi/www.rediff.com/signature-home.htm/1963059423@Middle5?OAS_query=null&PARTNER=3" BORDER=0 VSPACE=0 HSPACE=0></a>