Re: len() of unsized object - ks test

2014-04-25 Thread Jamie Mitchell
On Friday, April 25, 2014 3:07:54 PM UTC+1, Jamie Mitchell wrote: > Hello all, > > > > I am trying to perform a Kolmogorov-Smirnov test in Python but I'm having a > few difficulties. > > > > # My files are netCDF so I import them as follows: > > > > control=netCDF4.Dataset('/data/cr1/jmit

Re: len() of unsized object - ks test

2014-04-25 Thread Steven D'Aprano
On Fri, 25 Apr 2014 07:07:54 -0700, Jamie Mitchell wrote: > Hello all, > > I am trying to perform a Kolmogorov-Smirnov test in Python but I'm > having a few difficulties. > > # My files are netCDF so I import them as follows: > > control=netCDF4.Dataset('/data/cr1/jmitchel/Q0/swh/controlperiod/

Re: len() of unsized object - ks test

2014-04-25 Thread MRAB
On 2014-04-25 15:07, Jamie Mitchell wrote: Hello all, I am trying to perform a Kolmogorov-Smirnov test in Python but I'm having a few difficulties. # My files are netCDF so I import them as follows: control=netCDF4.Dataset('/data/cr1/jmitchel/Q0/swh/controlperiod/south_west/swhcontrol_swest_c