Hi Jerry,
I do not believe you can write the write_matrix title on multiple lines.
However, using what Mary pointed out yesterday:
> variable : sea surface temperature
> filename : coads_climatology
> subset : 180 x 90 (Longitude x latitude)
atxt = "variable : sea surface temperature"
asciiwrite("file1",atxt)
btxt = "filename : coads_climatology"
asciiwrite("file2",btxt)
ctxt = "subset : 180 x 90 (Longitude x latitude)"
asciiwrite("file3",ctxt)
opt = True
opt@fout = "file4"
write_matrix(x,"7f7.2",opt)
system("cat file2 >> file1")
system("cat file3 >> file1")
system("can file4 >> file1")
system("/bin/rm file2 file3 file4")
The alternative is openening the ascii file in a text editor afterwards
and adding the title that way...
Hope that helps.
Adam
jerry wrote:
> hi
>
> I want to output a ascii file with some information on title like :
>
> variable : sea surface temperature
> filename : coads_climatology
> subset : 180 x 90 (Longitude x latitude)
>
> I use the write_matrix function argument option "title"
>
> opt = ture
> opt@title <mailto:opt@title> = "variable : sea surface temperature
> ~C~ filename : coads_climatology ~C~ subset : 180 x 90 (Longitude x
> latitude)
>
> I use "~C~" to broken the line but it didn't work.
> Does any suggestion to do this ?
>
> Thank you
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk@ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
-- -------------------------------------------------------------- Adam Phillips asphilli@ucar.edu National Center for Atmospheric Research tel: (303) 497-1726 ESSL/CGD/CAS fax: (303) 497-1333 P.O. Box 3000 Boulder, CO 80307-3000 http://www.cgd.ucar.edu/cas/asphilli _______________________________________________ ncl-talk mailing list ncl-talk@ucar.edu http://mailman.ucar.edu/mailman/listinfo/ncl-talk
This archive was generated by hypermail 2b29 : Tue Sep 13 2005 - 10:22:12 MDT