<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Hi Jeff,</span></div><div><span>Thanks so much!</span></div><div><span>Will try it.</span></div><div></div><div>&nbsp;</div><div><font face="times new roman, new york, times, serif">With my kind regards</font></div><div><font face="times new roman, new york, times, serif">Gamal</font></div><div><font face="times new roman, new york, times, serif">_____________________________________________________</font></div><div id="RTEContent"><div id="RTEContent"><div><div><font face="times new roman, new york, times, serif"><b><font size="+0"><font size="+0">Dr.Gamal Salah El Afandi,Senior Researcher.<br>Data to Insight Center<span class="Apple-converted-space">&nbsp;</span>of <span id="lw_1284057523_3" class="yshortcuts"><span id="lw_1284295300_2" class="yshortcuts"><span style="border-bottom-color: currentColor;
 border-bottom-width: medium; border-bottom-style: none;" id="lw_1284901329_11" class="yshortcuts"><span id="lw_1284992610_0" class="yshortcuts">Pervasive Technology Institute</span></span></span></span></font></font></b></font></div><div><font face="times new roman, new york, times, serif"><b><span class="yshortcuts"><span class="yshortcuts"><span style="border-bottom-color: currentColor; border-bottom-width: medium; border-bottom-style: none;" class="yshortcuts"><span class="yshortcuts">Indiana University Bloomington USA</span></span></span></span></b></font></div><div><b><font size="+0">2719 E 10th St.<br>Innovation Center </font></b></div><div><div><b><font size="3">Room 130C.&nbsp;</font></b></div></div><div><b><span style="border-bottom-color: currentColor; border-bottom-width: medium; border-bottom-style: none;" id="lw_1285000288_13" class="yshortcuts"><font size="+0">Bloomington, IN &nbsp;47408,USA</font></span></b></div><div><span
 style="border-bottom-color: currentColor; border-bottom-width: medium; border-bottom-style: none;" class="yshortcuts"><div class="MsoNormal"><span style="color: rgb(118, 146, 60);"><font size="+0"><font size="+0"><font size="+0"><font size="+0"><b><font color="#000000">Phone:+1 <span style="border-bottom-color: rgb(54, 99, 136); border-bottom-width: 2px; border-bottom-style: dotted;" id="lw_1293471561_4" class="yshortcuts">812-856-2146</span></font></b></font></font></font></font></span></div><div class="MsoNormal"><span><span style="border-bottom-color: rgb(54, 99, 136); border-bottom-width: 2px; border-bottom-style: dotted;" class="yshortcuts"></span><font size="+0"><font size="+0"><b><font color="#000000">Fax:&nbsp;+1 812-856-1735</font></b></font></font></span></div><div class="MsoNormal"><span><b></b></span>&nbsp;</div></span></div><div><span class="Apple-converted-space"></span><b><u><font color="#0066cc"><a
 href="http://as.cms.rtinfo.indiana.edu/d2i/people" rel="nofollow" target="_blank">http://as.cms.rtinfo.indiana.edu/d2i/people</a></font></u></b></div><div><b><a href="http://pervasivetechnologylabs.iu.edu/d2i/people" rel="nofollow" target="_blank">http://pervasivetechnologylabs.iu.edu/d2i/people</a></b></div><div><b><font face="times new roman, new york, times, serif">&nbsp;</font></b></div><div><b><font face="times new roman, new york, times, serif">Al Azhar&nbsp;University </font></b></div><div><b><font face="times new roman, new york, times, serif">Faculty of science&nbsp;at Cairo&nbsp;</font></b></div><div><b><font face="times new roman, new york, times, serif">Department of Astronomy and Meteorology</font></b></div><div><b><font face="times new roman, new york, times, serif">Nasr City,Postal Code 11884</font></b></div><div><font face="times new roman, new york, times, serif"><b>Cairo,</b><b>Egypt</b></font></div><div><a
 href="http://maindb.unfccc.int/public/roe/expert_list.pl?id_country=66" rel="nofollow" target="_blank">http://maindb.unfccc.int/public/roe/expert_list.pl?id_country=66</a>&amp;</div><div><u><font color="#0000ff" face="times new roman, new york, times, serif"><a href="http://www.itap.purdue.edu/pto/NATO_KEEO/partCoDir_en.html" rel="nofollow" target="_blank">http://www.itap.purdue.edu/pto/NATO_KEEO/partCoDir_en.html</a></font></u><a href="http://www.itap.purdue.edu/pto/NATO_KEEO/index_en.html" rel="nofollow" target="_blank"></a></div><div><a href="http://www.ucar.edu/governance/iap/iapreps.shtml" rel="nofollow" target="_blank"><font color="#0000ff" face="times new roman, new york, times, serif">http://www.ucar.edu/governance/iap/iapreps.shtml</font></a><br><b><font face="times new roman, new york, times, serif">Tel. 0020238701259 Home&nbsp;&nbsp;&nbsp;Tel. 0020222618163 Work <br>Tel. 0020103770593 Cell&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fax 0020222629356
 Work </font></b></div><div><b><font face="times new roman, new york, times, serif">________________________________________________________<br></font></b></div><b></b></div></div></div><div><br><blockquote style="padding-left: 5px; margin-left: 5px; border-left-color: rgb(16, 16, 255); border-left-width: 2px; border-left-style: solid;"><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><font size="2" face="Arial"><div style="margin: 5px 0px; padding: 0px; border: 1px solid rgb(204, 204, 204); height: 0px; line-height: 0; font-size: 0px;" class="hr" contentEditable="false" readonly="true"></div><b><span style="font-weight: bold;">From:</span></b> Jeffrey Duda &lt;jdduda@iastate.edu&gt;<br><b><span style="font-weight: bold;">To:</span></b> Dr.Gamal El Afandi &lt;gamalafandy@yahoo.com&gt;; GrADS Users Forum
 &lt;gradsusr@gradsusr.org&gt;<br><b><span style="font-weight: bold;">Sent:</span></b> Saturday, September 3, 2011 1:10 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [gradsusr] Back Trajectories<br></font><br><div id="yiv1026138622">Gamal,<br>You can refer to other files using a dot and the file name.&nbsp; For example, if you open several consecutive WRF files such as<br><br>WRF_20110901_1200.ctl<br>WRF_20110901_1800.ctl<br>WRF_20110902_2000.ctl<br><br>(assuming each file contains 6 hours of WRF output), then the variables associated with the second file will have a ".2" appended to them; likewise the variables associated with the nth file will have a ".n" appended to them.)<br>
<br>In your script you just need to add the ".n" (or the corresponding number) to keep track of which variables to use when computing the trajectories according to the particular file the time is in.&nbsp; It may end up being fairly complex, but I think you can do it.&nbsp; Good luck.<br>
<br>Jeff Duda<br><br><div class="yiv1026138622gmail_quote">On Sat, Sep 3, 2011 at 11:31 AM, Dr.Gamal El Afandi <span dir="ltr">&lt;<a href="mailto:gamalafandy@yahoo.com" rel="nofollow" target="_blank" ymailto="mailto:gamalafandy@yahoo.com">gamalafandy@yahoo.com</a>&gt;</span> wrote:<br><blockquote style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;" class="yiv1026138622gmail_quote">
<div><div style="color: rgb(0, 0, 0); font-family: times new roman, new york, times, serif; font-size: 12pt; background-color: rgb(255, 255, 255);"><div><span>Hi everybody,</span></div><div><span></span>&nbsp;</div><div><span>I was able to use Grads to calculate and plot back-<span><span>trajectories</span></span> but there are 
some limitations related to that script (I can open just one file for each 
calculation) I need to think about. The main issue is that each <span>WRF</span> file 
contains only part of the daily values simulated for Indiana we need to get 24 
hours back trajectories because the <span>WRF</span> output is in <span>UTC</span>.  Therefore in order to 
calculate 24 hours back trajectories I would need to open simultaneously 
multiple files and in some way change the code (if it is possible to manage this 
issue) in order to get all the values and make Grads computing the trajectories. 
My main concern is that once I open 2 files I will have exactly the same 
variable names so I don't know if it is possible within that code to refer to a 
specific value/variable and compute our trajectories correctly.</span></div><div><span>please let me know if you have any suggestions, so that maybe I can try.</span></div><div></div><div>&nbsp;</div><div><font face="times new roman, new york, times, serif">With my kind regards</font></div>
<div><font face="times new roman, new york, times, serif">Gamal</font></div><div><font face="times new roman, new york, times, serif">_____________________________________________________</font></div><div><div><div><div><font face="times new roman, new york, times, serif"><b><font size="+0"><font size="+0">Dr.Gamal <span>Salah</span> El Afandi,Senior Researcher.<br>
Data to Insight Center<span>&nbsp;</span>of <span><span><span style="border-bottom-color: currentColor; border-bottom-width: medium; border-bottom-style: none;"><span>Pervasive Technology Institute</span></span></span></span></font></font></b></font></div>
<div><font face="times new roman, new york, times, serif"><b><span><span><span style="border-bottom-color: currentColor; border-bottom-width: medium; border-bottom-style: none;"><span>Indiana University <span>Bloomington</span> USA</span></span></span></span></b></font></div>
<div><b><font size="+0">2719 E 10<span>th</span> St.<br>Innovation Center </font></b></div><div><div><b><font size="3">Room 130C.&nbsp;</font></b></div></div><div><b><span style="border-bottom-color: currentColor; border-bottom-width: medium; border-bottom-style: none;"><font size="+0"><span>Bloomington</span>, IN &nbsp;47408,USA</font></span></b></div>
<div><span style="border-bottom-color: currentColor; border-bottom-width: medium; border-bottom-style: none;"><div class="yiv1026138622MsoNormal"><span style="color: rgb(118, 146, 60);"><font size="+0"><font size="+0"><font size="+0"><font size="+0"><b><font color="#000000">Phone:+1 <span style="border-bottom-color: rgb(54, 99, 136); border-bottom-width: 2px; border-bottom-style: dotted;"><a rel="nofollow">812-856-2146</a></span></font></b></font></font></font></font></span></div>
<div class="yiv1026138622MsoNormal"><span><span style="border-bottom-color: rgb(54, 99, 136); border-bottom-width: 2px; border-bottom-style: dotted;"></span><font size="+0"><font size="+0"><b><font color="#000000">Fax:&nbsp;<a rel="nofollow">+1 812-856-1735</a></font></b></font></font></span></div>
<div class="yiv1026138622MsoNormal"><span><b></b></span>&nbsp;</div></span></div><div><span></span><b><u><font color="#0066cc"><a href="http://as.cms.rtinfo.indiana.edu/d2i/people" rel="nofollow" target="_blank">http://as.cms.rtinfo.indiana.edu/d2i/people</a></font></u></b></div>
<div><b><a href="http://pervasivetechnologylabs.iu.edu/d2i/people" rel="nofollow" target="_blank">http://pervasivetechnologylabs.iu.edu/d2i/people</a></b></div><div><b><font face="times new roman, new york, times, serif">&nbsp;</font></b></div>
<div><b><font face="times new roman, new york, times, serif">Al <span>Azhar</span>&nbsp;University </font></b></div><div><b><font face="times new roman, new york, times, serif">Faculty of science&nbsp;at Cairo&nbsp;</font></b></div><div>
<b><font face="times new roman, new york, times, serif">Department of Astronomy and Meteorology</font></b></div><div><b><font face="times new roman, new york, times, serif"><span>Nasr</span> City,Postal Code
 11884</font></b></div><div><font face="times new roman, new york, times, serif"><b>Cairo,</b><b>Egypt</b></font></div><div><a href="http://maindb.unfccc.int/public/roe/expert_list.pl?id_country=66" rel="nofollow" target="_blank">http://maindb.unfccc.int/public/roe/expert_list.pl?id_country=66</a>&amp;</div>
<div><u><font color="#0000ff" face="times new roman, new york, times, serif"><a href="http://www.itap.purdue.edu/pto/NATO_KEEO/partCoDir_en.html" rel="nofollow" target="_blank">http://www.itap.purdue.edu/pto/NATO_KEEO/partCoDir_en.html</a></font></u><a href="http://www.itap.purdue.edu/pto/NATO_KEEO/index_en.html" rel="nofollow" target="_blank"></a></div>
<div><a href="http://www.ucar.edu/governance/iap/iapreps.shtml" rel="nofollow" target="_blank"><font color="#0000ff" face="times new roman, new york, times, serif">http://www.ucar.edu/governance/iap/iapreps.shtml</font></a><br>
<b><font face="times new roman, new york, times, serif">Tel. 0020238701259
 Home&nbsp;&nbsp;&nbsp;Tel. 0020222618163 Work <br>Tel. 0020103770593 Cell&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fax 0020222629356 Work </font></b></div><div><b><font face="times new roman, new york, times, serif">________________________________________________________<br>
</font></b></div></div></div></div></div></div><br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" rel="nofollow" target="_blank" ymailto="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="nofollow" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Jeff Duda<br>Iowa State University<br>Meteorology Graduate Student<br><a href="http://www.meteor.iastate.edu/%7Ejdduda" rel="nofollow" target="_blank">www.meteor.iastate.edu/~jdduda</a><br>

</div><br><br></div></div></blockquote></div></div></body></html>