<div dir="ltr"><div dir="ltr"><div>[1] PLEASE put appropriate text in the "Subject" Henceforth, no one will answer your question(s).</div><div><br></div><div>[2] PLEASE read ncl documentation <b>including the examples:</b><br></div><div><br></div><div> diri = "./" ; input directory</div><div> fils = <a href="http://www.ncl.ucar.edu/Document/Functions/Built-in/systemfunc.shtml"><b>systemfunc</b></a>("cd "+diri+" ; ls foo*nc") ; 'foo' is a core name</div><div> nfils = <a href="http://www.ncl.ucar.edu/Document/Functions/Built-in/dimsizes.shtml"><b>dimsizes</b></a>(fils)</div><div> print("nfils="+nfils)</div><div><br></div><div> do nf=0,nfils-1</div><div> f = <a href="https://www.ncl.ucar.edu/Document/Functions/Built-in/addfile.shtml"><b>addfile</b></a>(diri+fili(nf), "r")<br></div><div> x <b>:=</b> f->Variable_Name ; Use := if size may change</div><div> ...</div><div> ...</div><div> end do<br></div><div> <br></div><div>=====</div><div><br></div><div>There is also <a href="http://www.ncl.ucar.edu/Document/Functions/Built-in/addfiles.shtml"><b>addfiles</b></a> <br></div><div> <br></div><div><div> diri = "./" ; input directory</div><div> fils = <a href="http://www.ncl.ucar.edu/Document/Functions/Built-in/systemfunc.shtml"><b>systemfunc</b></a>("cd "+diri+" ; ls foo*nc") ; 'foo' is a core name</div><div> nfils = <a href="http://www.ncl.ucar.edu/Document/Functions/Built-in/dimsizes.shtml"><b>dimsizes</b></a>(fils)</div><div> print("nfils="+nfils)</div><div><br></div><div> f = <b>addfiles</b>(diri+fili, "r")</div><div> x = f[:]->Variable_Name</div><div><br></div><div>====</div><div>We do expect you to put in the effort to learn the language rather than hust sending email after email.</div><div><br></div><div>Please reads: <a href="https://www.ncl.ucar.edu/Document/Manuals/NCL_User_Guide/">https://www.ncl.ucar.edu/Document/Manuals/NCL_User_Guide/</a></div><div><br></div><div><br></div><div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 25, 2019 at 9:27 PM Smrati Purwar <<a href="mailto:ritipurwar@gmail.com">ritipurwar@gmail.com</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 dir="ltr"><br clear="all"><div>hello i want to run same ncl script for multiple .nc file (approx 100 ). Its showing error for leap year like</div><div><div>fatal:Dimension sizes of left hand side and right hand side of assignment do not match</div></div><div> </div><div>can i run all files in one time???</div>-- <br><div dir="ltr" class="gmail-m_-1601985789387893738gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><font size="2"><span style="color:rgb(0,0,255)"><span style="font-family:georgia,serif">With Thanks & Regards</span></span></font></div><div><font size="2"><span style="color:rgb(0,0,255)"><span style="font-family:georgia,serif">Smrati Purwar</span></span></font></div><div><font size="2"><span style="color:rgb(0,0,255)"><span style="font-family:georgia,serif">Ph.D Scholar(CSIR-JRF<span style="background-color:rgb(153,0,255)"></span>)<br></span></span></font></div><div><font size="2"><span style="color:rgb(0,0,255)"><span style="font-family:georgia,serif">CSIR- 4th Paradigm Institute(CMMACS)<br></span></span></font></div><div><font size="2"><span style="color:rgb(0,0,255)"><span style="font-family:georgia,serif">NAL Belur Campus, Wind tunnel road<br></span></span></font></div><div><font size="2"><span style="color:rgb(0,0,255)"><span style="font-family:georgia,serif">Bangalore, India-560037</span></span></font></div></div></div></div></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><br>
</blockquote></div>