In *nx, if you have files named a, b, c, d you can concatenate
%> cat a b c d foo
to create file 'foo'
-------
In NCL,
ftxt = "foo"
system("/bin/rm -f "+ftxt)
system("cat a b c d "+ftxt)
allData = asciireread(ftxt,...)
:
If the files you want begin with APPLE
fili = systemfunc("FOO*")
fstr = ""
do nf=0,nfili-1
fstr = fstr + fili(nf)+" "+
end do
print(fstr)
system("cat "+fstr+" "+ftxt)
allData = asciireread(ftxt,..."
On 08/06/2012 01:10 PM, Soumik Basu wrote:
> Hi,
>
> I am trying to plot some points on a map. I have 60 ascii files each
> having different number of data in it. I am attaching a sample file of
> my dataset in which columns are time, storm count, lon,lat,pressure
> respectively. I am trying to read only the generation point i.e. the 1st
> lat lon point of each storm count.
> My question is how can I store the unequal numbers of lat lon points
> from each of the 60 files together under the same variable so that I can
> add polymarkers for all the files together on one map.
>
> Thanks,
> Soumik
>
>
>
> _______________________________________________
> 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-talk
Received on Mon Aug 6 13:36:45 2012
This archive was generated by hypermail 2.1.8 : Wed Aug 15 2012 - 08:12:08 MDT