write out a 2D variable to a file

From: cheryl Ma <xiaoyancloud_at_nyahnyahspammersnyahnyah>
Date: Thu Jun 13 2013 - 11:45:08 MDT

Hi all,

We can use asciiwrite to write out a 1D variable to a ascii file. e.g.
a(100), so the command like

lines = sprintf ("%10.2f",a)
asciiwrite("outfile",lines)

now I want to write out a 2D variable, e.g. b(100,150), how to write it out
to a ascii file?

Thanks in advance,
Xiaoyan

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Jun 13 11:45:17 2013

This archive was generated by hypermail 2.1.8 : Mon Jun 24 2013 - 11:46:47 MDT