<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(11,83,148)">Hi Arturo,</div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(11,83,148)"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(11,83,148)">

You need to define each file, no matter how many files you&#39;re gonna open! Based on your script, you have 3-variables. Therefore, do as follows:</div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(11,83,148)">

<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(11,83,148)">******************************************</div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(11,83,148)">

<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">&#39;sdfopen D:/NETCDF/LEVEL_PRESURE.nc&#39;</span></div><div class="gmail_default"><font color="#0b5394" face="tahoma, sans-serif">     &#39;set dfile 1&#39; </font></div>

<div class="gmail_default"><font color="#0b5394" face="tahoma, sans-serif">*</font></div><div class="gmail_default"><font color="#0b5394" face="tahoma, sans-serif">*</font></div><div class="gmail_default"><font color="#0b5394" face="tahoma, sans-serif">*</font></div>

<div class="gmail_default"><font color="#0b5394" face="tahoma, sans-serif">*</font></div><div class="gmail_default"><font color="#0b5394" face="tahoma, sans-serif">*</font></div><div class="gmail_default"><font color="#0b5394" face="tahoma, sans-serif">*</font></div>

<div class="gmail_default"><font color="#0b5394"><span style="font-family:arial,sans-serif;font-size:13px">&#39;display pres&#39;</span><font face="tahoma, sans-serif"><br></font></font></div><div class="gmail_default"><font color="#0b5394" face="tahoma, sans-serif">*************</font></div>

<div class="gmail_default"><span style="font-family:arial,sans-serif;font-size:13px">&#39;sdfopen D:/NETCDF/USURFACEWIND.nc&#39;</span></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><span style="font-family:arial,sans-serif"><font color="#0b5394">     &#39;set dfile 2&#39; </font></span><br>

</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><span style="font-family:arial,sans-serif"><font color="#0b5394">*</font></span></div><div class="gmail_default" style="font-family:tahoma,sans-serif">

<span style="font-family:arial,sans-serif"><font color="#0b5394">*</font></span></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><span style="font-family:arial,sans-serif"><font color="#0b5394">*</font></span></div>

<div class="gmail_default" style="font-family:tahoma,sans-serif"><span style="font-family:arial,sans-serif"><font color="#0b5394">*</font></span></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><span style="font-family:arial,sans-serif"><font color="#0b5394">*</font></span></div>

<div class="gmail_default" style="font-family:tahoma,sans-serif"><font color="#0b5394"><span style="font-family:arial,sans-serif;font-size:13px">&#39;display uwnd&#39;</span><span style="font-family:arial,sans-serif"><br>

</span></font></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><span style="font-family:arial,sans-serif"><font color="#0b5394">******************</font></span></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(11,83,148)">

<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">&#39;sdfopen D:/NETCDF/</span><a href="http://t_mar2003.nc/" target="_blank" style="font-family:arial,sans-serif;font-size:13px">t_mar2003.nc</a><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">&#39;</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif"><br>

</span></div><div class="gmail_default"><font color="#0b5394"><font face="arial, sans-serif">    &#39;set dfile 3&#39; </font><br></font></div><div class="gmail_default"><font face="arial, sans-serif" color="#0b5394">*</font></div>

<div class="gmail_default"><font face="arial, sans-serif" color="#0b5394">*</font></div><div class="gmail_default"><font face="arial, sans-serif" color="#0b5394">*</font></div><div class="gmail_default"><font face="arial, sans-serif" color="#0b5394">*</font></div>

<div class="gmail_default"><font face="arial, sans-serif" color="#0b5394">*</font></div><div class="gmail_default"><font color="#0b5394"><span style="font-family:arial,sans-serif;font-size:13px">&#39;display (air-273.4)&#39;</span><font face="arial, sans-serif"><br>

</font></font></div><div class="gmail_default"><font face="arial, sans-serif" color="#0b5394">**************************************</font></div><div class="gmail_default" style><font color="#0b5394"><br></font></div><div class="gmail_default" style>

<font color="#0b5394">Good luck,</font></div><div class="gmail_default" style><font color="#0b5394">Mohsen</font></div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><span><span style="font-size:11.0pt;line-height:115%;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#888888"></span></span><span><span dir="RTL" style="font-size:11.0pt;line-height:115%;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#888888" lang="AR-SA"><span></span></span></span>--<div>

<span style="font-family:arial;font-size:12px;background-color:rgb(255,255,255)"><font color="#274e13">April showers bring May flowers!</font></span><br></div><div>--<font color="#b45f06">                                      <br>

<b>Mohsen Soltani, M.Sc.</b><br>Climatology Grad Student,<br>Department of Climatology, Faculty of Geography,</font></div><div><font color="#b45f06">University of Tehran, </font><span style="color:rgb(180,95,6)">Tehran, Iran</span></div>

<div><font color="#b45f06">voice: (+98) 9119772934<br>e-mail</font><font color="#bf9000">:</font> <a href="mailto:soltani.clima@gmail.com" target="_blank">soltani.clima@gmail.com</a><br></div></div></div>
<br><br><div class="gmail_quote">On Fri, Jul 5, 2013 at 1:40 PM, Abatan Abayomi <span dir="ltr">&lt;<a href="mailto:yomiabatan69@gmail.com" target="_blank">yomiabatan69@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr">Arturo,<div><br></div><div>In which of the files is air and uwnd? If for example the variable air is located in file 2, then you need to type:</div><div><br></div><div> <span style="font-family:arial,sans-serif;font-size:13px">&#39;display (air.2 - 273.4)&#39;, </span></div>


<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">and if uwnd is located in file 3, then type:</span></div><div>
<span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px"> </span><span style="font-family:arial,sans-serif;font-size:13px">&#39;display uwnd.3&#39;</span></div>


<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Hope that work for you.</span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br>


</span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Abayomi</span></div></div><div class="gmail_extra"><div><div class="h5"><br><br><div class="gmail_quote">On Fri, Jul 5, 2013 at 3:29 PM, Arturo Hernandez Rosales <span dir="ltr">&lt;<a href="mailto:ahernandezro@ipn.mx" target="_blank">ahernandezro@ipn.mx</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">DEAR USERS<br>
<br>
HELLO DEAR USERS GRADS, ANYONE CAN TELL ME HOW TO OPEN MORE THAN TWO<br>
FILES IN MY SCRIPTS, I HAVE THE FOLLOWING MISTAKE, THANKS FOR YOUR<br>
HELP.<br>
<br>
MY SCRIPTS<br>
<br>
&#39;sdfopen D:/NETCDF/LEVEL_PRESURE.nc&#39;<br>
&#39;sdfopen D:/NETCDF/USURFACEWIND.nc&#39;<br>
&#39;sdfopen D:/NETCDF/<a href="http://t_mar2003.nc" target="_blank">t_mar2003.nc</a>&#39;<br>
<br>
<br>
&#39;set font 5&#39;<br>
&#39;set display color white&#39;<br>
&#39;display pres&#39;<br>
*&#39;display pr_wtr&#39;<br>
&#39;display (air-273.4)&#39;<br>
&#39;display uwnd&#39;<br>
&#39;run cbarn&#39;<br>
&#39;set grads on&#39;<br>
<br>
&#39;printim SURFACEWIND.png&#39;<br>
<br>
&#39;end&#39;<br>
<br>
AND MY MISTAKE<br>
<br>
Syntax Error:  Invalid Operand<br>
   &#39;air&#39; not a variable or function name<br>
   Error ocurred at column 2<br>
DISPLAY error:  Invalid expression<br>
   Expression = (air-273.4)<br>
Syntax Error:  Invalid Operand<br>
   &#39;uwnd&#39; not a variable or function name<br>
   Error ocurred at column 1<br>
DISPLAY error:  Invalid expression<br>
   Expression = uwnd<br>
Syntax Error:  Invalid Operand<br>
   &#39;uwnd&#39; not a variable or function name<br>
   Error ocurred at column 1<br>
DISPLAY error:  Invalid expression<br>
   Expression = uwnd<br>
ga-&gt;<br>
<br>
<br>
SOMEONE PLEASE HELP ME!!, THANKS<br>
<br>
ATT:<br>
M. en C. ARTURO HERNANDEZ ROSALES<br>
ESIA TICOMAN CIENCIAS DE LA TIERRA IPN<br>
DEPARTAMENTO DE GEOFISICA<br>
AREA: DINAMICA Y ESTABILIDAD DE FLUJOS<br>
              ATMOSFERICOS<br>
TEL: 57296000, EXT. 56125<br>
MEXICO. D.F<br>
<br>
&lt;font color=&quot;Gray&quot; face=&quot;Arial&quot; size=&quot;1&quot;&gt; La informaci&amp;oacute;n  de  este  correo  as&amp;iacute;  como  la  contenida  en  los documentos que se adjuntan, pueden ser objeto de solicitudes de acceso a la informaci&amp;oacute;n. Vis&amp;iacute;tanos:&lt;a href=&quot;<a href="http://www.ipn.mx" target="_blank">http://www.ipn.mx</a>&quot;&gt; <a href="http://www.ipn.mx" target="_blank">www.ipn.mx</a>&lt;/a&gt;&lt;/font&gt;<br>



<br>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</blockquote></div><br><br clear="all"><div><br></div></div></div>-- <br><br><br>          Trust in the Lord......<br>*******************************************************************************************<br>*   Abayomi A. Abatan                             *   <a href="tel:%2B1%20515%20572%204490" value="+15155724490" target="_blank">+1 515 572 4490</a> (Home)       *<br>


*   Geo. and Atmos. Sci.                           *   <a href="tel:%2B1%20515%20294%201321" value="+15152941321" target="_blank">+1 515 294 1321</a> (Office)       *<br>*   Iowa State University, Ames                 *   <a href="tel:%2B1%20515%20203%209020" value="+15152039020" target="_blank">+1 515 203 9020</a> (Cell)          *<br>

*   Iowa. USA.                                          *                                                 *<br>
*******************************************************************************************          <br><br>****************************************************************************************************<br>*   Abayomi A. Abatan                             *   234-802-724-7846 (out of service)     *<br>


*   Fed. Univ. of Tech.,                              *   234-803-217-8815 (out of service)    *<br>*   SEMS, PMB 704 Akure                        *                                                           *<br>*   Ondo Nigeria.                                      *                                                           *<br>


****************************************************************************************************       <br>
</div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br></div>