[0] If you are "new to NCL", please read
http://www.ncl.ucar.edu/Document/Manuals/
In particular the *Mini-Language Manual*
--- [1] please read the documentation for the following http://www.ncl.ucar.edu/Document/Functions/Built-in/systemfunc.shtml See examples 3 & 4 diri = "./" fili = systemfunc ("cd " + diri + " ; ls *foo*") nfil = dimsizes(fili) --- [2] http://www.ncl.ucar.edu/Document/Functions/Built-in/fbinrecread.shtml http://www.ncl.ucar.edu/Document/Functions/Built-in/fbindirread.shtml dp nf=0,nfil-1 x = fbinrecread(diri_fili(nf),.......) or x = fbindirread(diri_fili(nf),.......) end do Also of interest if --- [3] http://www.ncl.ucar.edu/Document/Functions/Built-in/setfileoption.shtml read about BigEndian and LittleEndisn On 7/21/13 10:18 AM, Shrikant Pargaonkar wrote: > Hi, > I am new to NCL. I have a very large number (3700) of binary files. I want > to read them and make a climatology. I want to know if it is possible > 1. to make list of names of the files > 2. then open this list and read the file names (in a loop) > 3. assign the name to a variable so that it can open this file and read the > data in it > > If there is any other way to read such a large number of binary files > (using a loop), please suggest. > > Thanks in advance. > > Shrikant > > > > _______________________________________________ > ncl-talk mailing list > List instructions, subscriber options, unsubscribe: > http://mailman.ucar.edu/mailman/listinfo/ncl-talk > _______________________________________________ ncl-talk mailing list List instructions, subscriber options, unsubscribe: http://mailman.ucar.edu/mailman/listinfo/ncl-talkReceived on Sun Jul 21 10:55:44 2013
This archive was generated by hypermail 2.1.8 : Thu Jul 25 2013 - 21:02:42 MDT