To add row and column headings to an ascii file

From: Noel Aloysius <noel.aloysius_at_nyahnyahspammersnyahnyah>
Date: Fri Oct 19 2012 - 04:10:00 MDT

Hi NCL,

I want to add row and column heading to a 5x30 matrix and write an ascii
output. The write_matrix function works well if I just want to write only
the numbers.

How can I write the file with the row and column headings?

Here is how I write the ascii file now,

  opt = True
  opt@fout = diro + "pr_extreme_values_count.txt"
  system("rm -f " + opt@fout) ; delete existing file
  write_matrix(transpose(Plarge_ens),"12f12.4",opt)

Thanks,
Noel

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Oct 19 04:10:21 2012

This archive was generated by hypermail 2.1.8 : Tue Oct 23 2012 - 11:10:04 MDT