Missing values in PyNIO

From: Seth McGinnis <mcginnis_at_nyahnyahspammersnyahnyah>
Date: Wed, 20 Aug 2008 13:29:47 -0600

I'm using PyNGL/PyNIO to process data from an ascii file
format into NetCDF.

How do I set _FillValue / missing_value on a variable and
ensure that the variable is pre-filled with that value?
 From the documentation, it seems like most of that happens
automatically, but my resulting NetCDF files don't have a
_FillValue defined, and "data._FillValue = -999" generates
the error message:

 ncendef: ncid 65536: NetCDF: Not a valid data type or
_FillValue type mismatch

Help? Thanks!


Seth McGinnis
Associate Scientist
pyngl-talk mailing list
Received on Wed Aug 20 2008 - 13:29:47 MDT

This archive was generated by hypermail 2.2.0 : Thu Aug 21 2008 - 22:13:03 MDT