Re: [Matplotlib-users] error reading netcdf file

2012-09-27 Thread Michael Rawlins
Subject: Re: [Matplotlib-users] error reading netcdf file Michael:  You can't change an attribute in a read-only dataset.  It should never have worked. -Jeff Thanks Jeff and Ben. Below is a complete version of one such program I use. I was give the program by a colleague and I

Re: [Matplotlib-users] error reading netcdf file

2012-09-27 Thread Benjamin Root
Michael, The .missing_value attribute is not used anymore (It is ._FillValue now). Anyway, if your data had any value that matched ._FillValue, then, by default, netCDF4 will give you a masked array anyway. You will only need to set the mask if the fill value doesn't exist or if it is different

Re: [Matplotlib-users] error reading netcdf file

2012-09-27 Thread Michael Rawlins
From: Benjamin Root ben.r...@ou.edu To: Michael Rawlins rawlin...@yahoo.com Cc: Matplotlib Users matplotlib-users@lists.sourceforge.net Sent: Thursday, September 27, 2012 2:29 PM Subject: Re: [Matplotlib-users] error reading netcdf file Michael

[Matplotlib-users] error reading netcdf file

2012-09-26 Thread Michael Rawlins
Recently built and installed netCDF4-1.0.  I'm running a script that has worked on two other linux OS systems. Error: File test.py, line 96, in module     data.missing_value=-9.99   File netCDF4.pyx, line 2570, in netCDF4.Variable.__setattr__ (netCDF4.c:28242)   File netCDF4.pyx, line 2392, in

Re: [Matplotlib-users] error reading netcdf file

2012-09-26 Thread Benjamin Root
On Wed, Sep 26, 2012 at 10:27 AM, Michael Rawlins rawlin...@yahoo.comwrote: Recently built and installed netCDF4-1.0. I'm running a script that has worked on two other linux OS systems. Error: File test.py, line 96, in module data.missing_value=-9.99 File netCDF4.pyx, line 2570, in

Re: [Matplotlib-users] error reading netcdf file

2012-09-26 Thread Michael Rawlins
From: Benjamin Root ben.r...@ou.edu To: Michael Rawlins rawlin...@yahoo.com Cc: matplotlib-users@lists.sourceforge.net matplotlib-users@lists.sourceforge.net Sent: Wednesday, September 26, 2012 10:33 AM Subject: Re: [Matplotlib-users] error reading netcdf

Re: [Matplotlib-users] error reading netcdf file

2012-09-26 Thread Benjamin Root
:* Wednesday, September 26, 2012 10:33 AM *Subject:* Re: [Matplotlib-users] error reading netcdf file On Wed, Sep 26, 2012 at 10:27 AM, Michael Rawlins rawlin...@yahoo.comwrote: Recently built and installed netCDF4-1.0. I'm running a script that has worked on two other linux OS systems. Error: File

Re: [Matplotlib-users] error reading netcdf file

2012-09-26 Thread Jeff Whitaker
*Sent:* Wednesday, September 26, 2012 10:33 AM *Subject:* Re: [Matplotlib-users] error reading netcdf file On Wed, Sep 26, 2012 at 10:27 AM, Michael Rawlins rawlin...@yahoo.com mailto:rawlin...@yahoo.com wrote: Recently built and installed netCDF4-1.0

Re: [Matplotlib-users] error reading netcdf file

2012-09-26 Thread Michael Rawlins
From: Jeff Whitaker jeffrey.s.whita...@noaa.gov To: Benjamin Root ben.r...@ou.edu; Michael Rawlins rawl...@geo.umass.edu; Matplotlib Users matplotlib-users@lists.sourceforge.net Sent: Wednesday, September 26, 2012 5:10 PM Subject: Re: [Matplotlib-users] error