<div dir="ltr"><div>Hello:</div><div><br></div><div>On: <a href="https://www.ncl.ucar.edu/Applications/addfiles.shtml" target="_blank">https://www.ncl.ucar.edu/<wbr>Applications/addfiles.shtml</a></div><div><br></div><div>there is the command:</div><div><br></div><div><pre style="margin-top:0px;margin-bottom:0px;padding:0px;font-size:13.3333px;line-height:12pt;font-family:courier;border-style:solid;border-width:0px 0px 15px;border-color:transparent;color:rgb(0,0,0)">all_files = <a href="https://www.ncl.ucar.edu/Document/Functions/Built-in/systemfunc.shtml" style="margin:0px;padding:0px;text-decoration:none;color:rgb(133,45,133);font-family:verdana,sans-serif" target="_blank"><strong style="margin:0px;padding:0px">systemfunc</strong></a> (&quot;ls /fs/cgd/data0/casguest/CLASS/<wbr>ann*.nc&quot;)</pre><div>I want to include a variable in the all_files line.</div><div><br></div><div>Date = &quot;20130208&quot;<br></div><div><br></div><div>all_files = systemfunc (&quot;ls 20130208/nam*grb&quot;&quot;)<br></div><div><br></div><div>Such that it includes the variable &quot;Date.&quot;</div><div><br></div><div>--&gt; all_files = systemfunc (&quot;ls Date + &quot;nam*grb&quot;&quot;)</div><div><br></div><div>However, the line immediately above gives an syntax error and anything</div><div>else I have tried is the same.</div><div><br></div><div>Thank you,</div><div><br></div><div>Barry</div><div><br></div><div><br></div>-- <br><div class="m_-6715655608601859055gmail_signature"><div dir="ltr">Barry H. Lynn, Ph.D<div><div>Senior Lecturer,</div><div><div><span style="color:rgb(136,136,136)">The Institute of the Earth Science, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">The Hebrew University of Jerusalem, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Givat Ram, Jerusalem 91904, Israel </span><br style="color:rgb(136,136,136)"></div><span style="color:rgb(136,136,136)">Tel: 972 547 231 170</span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Fax: (972)-25662581</span></div></div><div><span style="color:rgb(136,136,136)"><br></span></div><div>C.E.O, Weather It Is, LTD<br>Weather and Climate Focus<br><a href="http://weather-it-is.com" target="_blank">http://weather-it-is.com</a><br>Jerusalem, Israel<br>Local: 02 930 9525<br>Cell: 054 7 231 170<br>Int-IS: x972 2 930 9525<br>US <a href="tel:914%20432%203108" value="+19144323108" target="_blank">914 432 3108</a><br></div></div></div>
</div></div>