Hi Prabhakar,
There's no way to use asciiwrite or write_matrix and have it append to a file. We have this on our "enhancement" list of things we hope to improve in the future.
The way I do it now is to read in the current file with asciiread, create a new array that contains both the original data and the new data, and then write the new array back out to the file.
Another way to do this is to write a Fortran subroutine that does what you want, and then use WRAPIT to call this subroutine from NCL.
See:
http://www.ncl.ucar.edu/Document/Tools/WRAPIT.shtml
--Mary
On Dec 5, 2010, at 11:03 PM, p s wrote:
> Hi,
> Is there any option to append outputs using asciiwrite or write_matrix to existing files ?
> Regards,
> Prabhakar
> _______________________________________________
> 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 Dec 6 07:55:34 2010
This archive was generated by hypermail 2.1.8 : Mon Dec 06 2010 - 09:18:09 MST