[ncl-talk] write_table and headers

Alyce Sala Tenna alsalte at gmail.com
Sat Jun 15 01:33:07 MDT 2019


Hello,

New to NCL. What would be the reason why my headers won’t write with the write_table function?
; write table
headers = [/" timestamp "," T2 "/]
strings = [/time1,t1C/]
file = “1hr_T2.txt”
system("/bin/rm -f "+file)                              ; remove any pre-existing file

write_table(file, "w", [/"moolort wrf data"/], "%s ")
write_table(file, "a", [/"timestamp","T2"/], "%s %s ")
write_table(file, "a", strings, "%s %f")

Hope it’s any easy one! 

Many thanks
Alyce
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190615/f0cc4fc0/attachment.html>


More information about the ncl-talk mailing list