<div dir="ltr"><div>Setereh: Please read the <b>systemfunc</b> and <b>addfiles</b> documentation<br></div><div><br></div><div>I am sure you have local support to explain linux/unix expansion (re: 200[0-3] )<br></div><div>[i]<br></div><div>diri = "./" ; input directory <br></div><div>fili = "khuzetan_DUST04.200[0-3].nc" ; 2000, 2001, 2002, 2003<br></div><div>pthi = diri+fili</div><div>print("pthi="+pthi)</div><div><br></div><div>fils = <a href="http://www.ncl.ucar.edu/Document/Functions/Built-in/systemfunc.shtml"><b>systemfunc</b></a> ("ls "+pthi) ; file paths</div><div>print(fils)</div><div><br></div><div>[ii]<br></div>a = <a href="http://www.ncl.ucar.edu/Document/Functions/Built-in/addfiles.shtml"><b>addfiles</b></a> (fils, "r") ; eg: example 5<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 8, 2019 at 11:41 AM Rashed Mahmood via ncl-talk <<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>did you look at addfiles function? <br></div><div><a href="https://www.ncl.ucar.edu/Document/Functions/Built-in/addfiles.shtml" target="_blank">https://www.ncl.ucar.edu/Document/Functions/Built-in/addfiles.shtml</a></div><div><br></div><div>Cheers,</div><div>Rashed<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 8, 2019 at 9:32 AM Setareh Rahimi via ncl-talk <<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear all,<div>I need to add some nc files at once. For example 2000,2001,2002,2003 using <br><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0);font-family:Menlo;font-size:14px;background-color:rgb(244,204,204)">systemfunc</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0);font-family:Menlo;font-size:14px;background-color:rgb(255,255,255)"> .</span><span style="font-size:x-small;font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0);font-family:Menlo;background-color:rgb(255,255,255)"> </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0);background-color:rgb(255,255,255)"><font face="arial, sans-serif">Anybody knows how can I do so?</font></span></div><div><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0);background-color:rgb(255,255,255)"><font face="arial, sans-serif">Many thanks in advance,</font></span></div><div><br></div><div>-- <br><div dir="ltr">S.Rahimi<br><br></div></div></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div>