Re: cbinwrite

From: David Brown <dbrown_at_nyahnyahspammersnyahnyah>
Date: Wed Nov 16 2011 - 15:01:14 MST

cbinwrite("file.bin",data)
do i = 1, number_of_writes -1
   newdata = ....
   cbinwrite("tmp.bin",newdata)
   system("cat tmp.bin >> file.bin")
end do
  
On Nov 16, 2011, at 2:37 PM, Lei Zhao wrote:

> Hi group,
>
> I am using 'cbinwrite' to output some binary data to a file. Since I am writing data in a loop, I found that cbinwrite will overwrite the pervious data every time. Does anybody know how to write the data in the file without overwriting? Thank you very much!
> Best,
> L
> _______________________________________________
> 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 Wed Nov 16 15:01:22 2011

This archive was generated by hypermail 2.1.8 : Thu Nov 17 2011 - 11:50:12 MST