Re: netCDF4 variable manipulation

2012-02-21 Thread Chris Rebert
On Tue, Feb 21, 2012 at 12:29 AM, Sheldon wrote: > On Feb 21, 12:53 am, Steven D'Aprano +comp.lang.pyt...@pearwood.info> wrote: >> On Mon, 20 Feb 2012 12:37:22 -0800, Sheldon wrote: >> > Hi, >> >> > I'm trying to read a netCDF4 variable from a file (no problem) and then >> > scale it before writi

Re: netCDF4 variable manipulation

2012-02-21 Thread Sheldon
On Feb 21, 12:53 am, Steven D'Aprano wrote: > On Mon, 20 Feb 2012 12:37:22 -0800, Sheldon wrote: > > Hi, > > > I'm trying to read a netCDF4 variable from a file (no problem) and then > > scale it before writing over the original variable in the file. > > > I'm using python 2.7 and the latest netCD

Re: netCDF4 variable manipulation

2012-02-20 Thread Steven D'Aprano
On Mon, 20 Feb 2012 12:37:22 -0800, Sheldon wrote: > Hi, > > I'm trying to read a netCDF4 variable from a file (no problem) and then > scale it before writing over the original variable in the file. > > I'm using python 2.7 and the latest netCDF4 module. It's not that I keep > getting an error m

Re: netCDF4 variable manipulation

2012-02-20 Thread Dave Angel
On 02/20/2012 03:37 PM, Sheldon wrote: Hi, I'm trying to read a netCDF4 variable from a file (no problem) and then scale it before writing over the original variable in the file. I'm using python 2.7 and the latest netCDF4 module. It's not that I keep getting an error message but I want to do t

netCDF4 variable manipulation

2012-02-20 Thread Sheldon
Hi, I'm trying to read a netCDF4 variable from a file (no problem) and then scale it before writing over the original variable in the file. I'm using python 2.7 and the latest netCDF4 module. It's not that I keep getting an error message but I want to do this without using for loops and all the m