On Mon, 12 Sep 2005, jerry wrote:
> Hi
> Could i append ascii data to the current ascii file ?
>
> Thank you
Jerry,
If you are using the asciiwrite function, you cannot use it to append
to an existing ascii file. However, you can use the "system" procedure
to concatentate one file to the end of another. For example, if
your existing file is "file1.dat", and you want to concatenate some
data to it, you might have something like:
asciiwrite("file2.dat",data)
system("cat file2.dat >> file1.dat")
system("/bin/rm file2.dat")
---Mary
_______________________________________________
ncl-talk mailing list
ncl-talk@ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
This archive was generated by hypermail 2b29 : Mon Sep 12 2005 - 08:31:40 MDT