<div dir="ltr"><div><div><div><div><div><div><div><div><div><div>Well, as I noted before, I just don&#39;t get what you are requesting.The question(s) are ambiguously worded.<br><br></div>Please do *not* start a separate thread. That gets confusing.<br><br>==<br></div><div>              ; absolute path<br></div>  dir_wrf = &quot;/<span style="font-family:tahoma;font-size:13px">media/mughal/Seagate/ECMWF_W<wbr>RF_RUNS2/&quot;<br><br></span></div><span style="font-family:tahoma;font-size:13px">  do n=6,9<br></span></div><div><span style="font-family:tahoma;font-size:13px">       print(&quot;==============&quot;)<br></span></div><span style="font-family:tahoma;font-size:13px"></span></div><span style="font-family:tahoma;font-size:13px">       dirPath = dir_wrf + </span><span style="font-family:tahoma;font-size:13px">&quot;run&quot;+n + &quot;/&quot;<br></span></div><span style="font-family:tahoma;font-size:13px">       print(&quot;dirPath=&quot;+</span><span style="font-family:tahoma;font-size:13px">dirPath)<br><br></span></div><span style="font-family:tahoma;font-size:13px">       fils =: systemfunc(&quot;cd &quot;+dirPath+&quot; ; ls </span><span style="font-family:tahoma;font-size:13px">wrfout_d04*)<br></span></div><div><span style="font-family:tahoma;font-size:13px">; if you run into a problem here, it is a path issue.<br><br></span></div><span style="font-family:tahoma;font-size:13px">       print(fils)<br></span></div><div><span style="font-family:tahoma;font-size:13px">       print(&quot;---&quot;)<br></span></div><div><span style="font-family:tahoma;font-size:13px">       fullPath = dirPath+fils<br></span></div><div><span style="font-family:tahoma;font-size:13px">       print(fullPath)<br></span></div><div><span style="font-family:tahoma;font-size:13px">       print(&quot;---&quot;)<br></span></div><div><span style="font-family:tahoma;font-size:13px"><br></span></div><span style="font-family:tahoma;font-size:13px">       wrf = addfiles(fullPath, &quot;r&quot;)<br>             ;<br></span></div><span style="font-family:tahoma;font-size:13px">  end do<br></span><div><div><div><div><div><span style="font-family:tahoma;font-size:13px"><br>       <br></span></div><div><span style="font-family:tahoma;font-size:13px">  As noted by Barry., the following should be preceded by /    <br></span></div><div><div><div><div><div><div><p><span style="font-family:tahoma;font-size:13px">media/mughal/Seagate/ECMWF_WRF<wbr>_RUNS2/run6/wrfout_d04*</span><br>
</p>
<p><span style="font-family:tahoma;font-size:13px">media/mughal/Seagate/ECMWF_WRF<wbr>_RUNS2/run7/wrfout_d04*</span><br>
</p>
<p><span style="font-family:tahoma;font-size:13px"><span style="font-family:tahoma;font-size:13px">media/mughal/Seagate/ECMWF_WRF<wbr>_RUNS2/run8/wrfout_d04*</span><br>
</span></p>
<span style="font-family:tahoma;font-size:13px"><span style="font-family:tahoma;font-size:13px"><span style="font-family:tahoma;font-size:13px">media/mughal/Seagate/ECMWF_WRF<wbr>_RUNS2/run6/wrfout_d04*</span></span></span><br><div><div><div><div><div><div><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 21, 2016 at 8:45 AM, Muhammad Omer Mughal <span dir="ltr">&lt;<a href="mailto:m.mughal1@postgrad.curtin.edu.au" target="_blank">m.mughal1@postgrad.curtin.edu.au</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">
<div id="m_-8254548889268538131divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hi Everyone </p>
<p><br>
</p>
<p>I posted a problem a couple of days ago. Barry was kind enough to help me chasing this problem. I received the following email from him a few moments ago</p>
<p><br>
</p>
<p><span style="color:rgb(33,33,33);font-size:15px">One more quick thing:</span></p>
<div style="color:rgb(33,33,33);font-size:15px"><br>
</div>
<div style="color:rgb(33,33,33);font-size:15px">I think you can confirm that if you ls -ltr the directory you showed me you will see the files within.</div>
<div style="color:rgb(33,33,33);font-size:15px"><br>
</div>
<div style="color:rgb(33,33,33);font-size:15px">If this is correct, you can let ncl-talk know that the program finds the directories but not the files within.</div>
<div style="color:rgb(33,33,33);font-size:15px"><br>
</div>
<div style="color:rgb(33,33,33);font-size:15px">Barry</div>
<br>
<p></p>
<p><br>
</p>
<p>I therefore did ls -ltr and the files are shown so do you guys also think that <font color="#212121"><span style="font-size:15px">the program finds the directories but not the files within. Can you please help me to sort the problem . Dennis was intially
 helping me with the problem . Dennis can you please recommend something here I would appreciate your help.</span></font></p>
<div><br>
</div>
<p></p>
<p><br>
</p>
<div id="m_-8254548889268538131Signature">
<div id="m_-8254548889268538131divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<div style="font-family:Tahoma;font-size:13px">
<div style="font-family:Tahoma;font-size:13px"><b><br>
</b></div>
<div style="color:rgb(33,33,33);font-family:wf_segoe-ui_normal,&#39;Segoe UI&#39;,&#39;Segoe WP&#39;,Tahoma,Arial,sans-serif;font-size:15.4545450210571px;margin:0px;background-color:rgb(255,255,255)">
<font face="Times New Roman,serif" size="3"><span style="font-size:12pt"><font face="Arial Bold" color="#1F497D" size="2"><span style="font-size:11pt">Muhammad Omer Mughal</span></font></span></font></div>
<div style="color:rgb(33,33,33);font-family:wf_segoe-ui_normal,&#39;Segoe UI&#39;,&#39;Segoe WP&#39;,Tahoma,Arial,sans-serif;font-size:15.4545450210571px;margin:0px;background-color:rgb(255,255,255)">
<font face="Times New Roman,serif" size="3"><span style="font-size:12pt"><font face="Arial Bold" color="#1F497D" size="2"><span style="font-size:11pt">MSc BSc Mechanical Engineering</span></font><font face="Arial,sans-serif" color="#1F497D" size="1"><span style="font-size:8pt"><br>
</span></font><font face="Arial Bold" color="#AB8303" size="2"><span style="font-size:9pt">PhD  Research Scholar</span></font></span></font></div>
<div style="color:rgb(33,33,33);font-family:wf_segoe-ui_normal,&#39;Segoe UI&#39;,&#39;Segoe WP&#39;,Tahoma,Arial,sans-serif;font-size:15.4545450210571px;margin:0px;background-color:rgb(255,255,255)">
<font face="Times New Roman,serif" size="3"><span style="font-size:12pt"><font face="Arial Bold" color="#AB8303" size="2"><span style="font-size:9pt">Remote Sensing and Satellite Research Group</span></font></span></font></div>
<div style="color:rgb(33,33,33);font-family:wf_segoe-ui_normal,&#39;Segoe UI&#39;,&#39;Segoe WP&#39;,Tahoma,Arial,sans-serif;font-size:15.4545450210571px;margin:0px;background-color:rgb(255,255,255)">
<font face="Times New Roman,serif" size="3"><span style="font-size:12pt"><font face="Arial Bold" color="#AB8303" size="2"><span style="font-size:9pt">Department of Imaging and Applied Physics</span></font><font face="Arial Bold" color="#AB8303" size="2"><span style="font-size:9pt"><br>
Curtin University</span></font><font face="Arial Bold" color="#AB8303" size="2"><span style="font-size:9pt"><br>
</span></font><font face="Calibri,sans-serif" color="#1F497D" size="2"><span style="font-size:11pt"><br>
</span></font><font face="Arial Bold" color="#1F497D" size="2"><span style="font-size:9pt">Curtin University</span></font><font face="Arial Bold" color="#1F497D" size="2"><span style="font-size:9pt"><br>
</span></font><font face="Arial Bold" color="#AB8303" size="2"><span style="font-size:9pt">Tel |</span></font><font face="Arial Bold" color="#1F497D" size="2"><span style="font-size:9pt"> </span></font><font face="Arial,sans-serif" color="#1F497D" size="2"><span style="font-size:9pt">+61
 8 9266 7962</span></font><font face="Calibri,sans-serif" color="#1F497D" size="2"><span style="font-size:9pt"> </span></font><font face="Calibri,sans-serif" color="#1F497D" size="1"><span style="font-size:7pt"><br>
</span></font><font face="Arial Bold" color="#AB8303" size="2"><span style="font-size:9pt">Fax |</span></font><font face="Arial Bold" color="#1F497D" size="2"><span style="font-size:9pt"> </span></font><font face="Arial,sans-serif" color="#1F497D" size="2"><span style="font-size:9pt">+61
 8 9266 2377</span></font><font face="Arial,sans-serif" color="#1F497D" size="2"><span style="font-size:9pt"><br>
</span></font><font face="Arial Bold" color="#AB8303" size="2"><span style="font-size:9pt">Mobile |</span></font><font face="Calibri,sans-serif" color="#1F497D" size="2"><span style="font-size:9pt"> </span></font><font face="Arial,sans-serif" color="#1F497D" size="2"><span style="font-size:9pt">0470 237 525</span></font><font face="Calibri,sans-serif" color="#1F497D" size="2"><span style="font-size:9pt">  </span></font><font face="Calibri,sans-serif" color="#1F497D" size="2"><span style="font-size:9pt"><br>
</span></font><font face="Calibri,sans-serif" color="#1F497D" size="2"><span style="font-size:9pt"><br>
</span></font><font face="Arial Bold" color="#AB8303" size="2"><span style="font-size:9pt">Email |</span></font><font face="Calibri,sans-serif" color="#1F497D" size="2"><span style="font-size:9pt"> </span></font><a href="mailto:m.lynch@curtin.edu.au" id="m_-8254548889268538131LPNoLP" target="_blank"><font face="Arial,sans-serif" size="2"><span style="font-size:9pt">m.mughal1@postgrad.curtin.<wbr>edu.au</span></font></a><font face="Arial,sans-serif" color="#1F497D" size="2"><span style="font-size:9pt"> </span></font><font face="Arial,sans-serif" color="#1F497D" size="2"><span style="font-size:9pt"><br>
</span></font><font face="Arial Bold" color="#AB8303" size="2"><span style="font-size:9pt">Web |</span></font><font face="Calibri,sans-serif" color="#AB8303" size="2"><span style="font-size:9pt"> </span></font><a href="http://curtin.edu.au/" id="m_-8254548889268538131LPNoLP" target="_blank"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt"><font face="Arial,sans-serif" size="2"><span style="font-size:9pt">http://curtin.edu.au</span></font></span></font></a><font face="Arial,sans-serif" color="#1F497D" size="2"><span style="font-size:9pt"><br>
</span></font><font face="Calibri,sans-serif" color="#1F497D" size="1"><span style="font-size:7pt"><br>
</span></font></span></font></div>
<div style="color:rgb(33,33,33);font-family:wf_segoe-ui_normal,&#39;Segoe UI&#39;,&#39;Segoe WP&#39;,Tahoma,Arial,sans-serif;font-size:15.4545450210571px;margin:0px;background-color:rgb(255,255,255)">
<font face="Calibri,sans-serif" color="#1F497D" size="1"><span style="font-size:6pt"></span></font><font face="Arial,sans-serif" color="#1F497D" size="1"><span style="font-size:6pt">Curtin University is a trademark of Curtin University of Technology. </span></font><br>
</div>
<div style="color:rgb(33,33,33);font-family:wf_segoe-ui_normal,&#39;Segoe UI&#39;,&#39;Segoe WP&#39;,Tahoma,Arial,sans-serif;font-size:15.4545450210571px;margin:0px;background-color:rgb(255,255,255)">
<font face="Times New Roman,serif" size="3"><span style="font-size:12pt"><font face="Arial,sans-serif" color="#1F497D" size="1"><span style="font-size:6pt">CRICOS Provider Code 00301J (WA), 02637B (NSW)</span></font></span></font></div>
<div style="color:rgb(33,33,33);font-family:wf_segoe-ui_normal,&#39;Segoe UI&#39;,&#39;Segoe WP&#39;,Tahoma,Arial,sans-serif;font-size:15.4545450210571px;margin:0px;background-color:rgb(255,255,255)">
<font face="Times New Roman,serif" size="3"><span style="font-size:12pt"><font face="Arial,sans-serif" color="#1F497D" size="1"><span style="font-size:6pt"><br>
</span></font></span></font></div>
<div style="color:rgb(33,33,33);font-family:wf_segoe-ui_normal,&#39;Segoe UI&#39;,&#39;Segoe WP&#39;,Tahoma,Arial,sans-serif;font-size:15.4545450210571px;margin:0px;background-color:rgb(255,255,255)">
<font face="Times New Roman,serif" size="3"><span style="font-size:12pt"><font face="Arial,sans-serif" color="#1F497D" size="1"><span style="font-size:6pt"><br>
</span></font></span></font></div>
</div>
</div>
</div>
</div>
</div>

</blockquote></div><br></div>