Create NetCDF string variable?

From: Daniel Gilmore <daniel.gilmore_at_nyahnyahspammersnyahnyah>
Date: Mon Oct 29 2012 - 06:24:38 MDT

Could someone post an example of using PyNio to create a NetCDF string
variable? I've tried:

fh = Nio.open_file('foobar.nc','w')
fh.create_dimension('x',10)
fh.create_dimension('y',10)
fh.create_dimension('z',20)
dims = ('x','y','z')
fh.create_variable('hellostring','s',dims)

And that is giving me an error. What am I doing wrong and what is the right
way I should be doing it?

Dan

-- 
-- 
Daniel Gilmore (AceInfo Solutions)
PGB/MDL/OST/NWS/NOAA
Office #: SSMC2-10357
Phone: 301.713.0224 x101
Cell: 703.232.9603

_______________________________________________
pyngl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
Received on Mon Oct 29 06:24:47 2012

This archive was generated by hypermail 2.1.8 : Thu Nov 01 2012 - 09:04:53 MDT