assigning a fill value

From: Gary Bates <gary.bates_at_nyahnyahspammersnyahnyah>
Date: Mon, 08 Dec 2008 17:12:58 -0700

How does one assign a fill value to an array in PyNGL?

Here's what I tried and the error I got:

y= numpy.zeros((plot_len+15),'f')
y._FillValue = -999.9

AttributeError: 'numpy.ndarray' object has no attribute '_FillValue'

-Gary
_______________________________________________
pyngl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
Received on Mon Dec 08 2008 - 17:12:58 MST

This archive was generated by hypermail 2.2.0 : Thu Jan 01 2009 - 08:39:20 MST