load query output into array

From: donna Cote <d-cote_at_nyahnyahspammersnyahnyah>
Date: Wed Aug 24 2011 - 12:53:54 MDT

I'm familiar with asciiread but I'm stumped about how to go about taking
the output of a PostgreSQL query (text, rows of data) and loading those
columns into NCL arrays. How might I approach this idea?

Sample query:
select datadatetime, longitude, latitude, depth, temperature, axbtidtext
from axbtdata order by axbtidtext, datadatetime limit 3;

Sample output (comma-separated or can be space separated):
2010-05-08 05:40:39-05,-85.051,28.341,0,23.07,2010-129-15:57:28
2010-05-08 05:40:39-05,-85.051,28.341,-3,22.97,2010-129-15:57:28
2010-05-08 05:40:39-05,-85.051,28.341,-1.5,23.07,2010-129-15:57:28


ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Wed Aug 24 12:54:28 2011

This archive was generated by hypermail 2.1.8 : Thu Aug 25 2011 - 09:54:48 MDT