I am having more problems with 24.0b2. Consider the NetCDF file:
netcdf very_simple {
dimensions:
num = 2 ;
variables:
float T(num) ;
T:mv = 5.0f ;
data:
T = 1., 2. ;
}
and the python script:
import Numeric
from Scientific.IO.NetCDF import NetCDFFile
file = NetCDFFile
Thanks again. I will take your advice. My concern is in not knowing
where in all
my python code I am assuming a scalar return in certain circumstances.
But I
guess I can take care of the errors as they come up.
Fred
--
http://mail.python.org/mailman/listinfo/python-list
bandw wrote:
> Robert,
>
> Thanks for your reply. However, I am still having problems. Sometimes
> I get a scalar return
> and sometimes I get an array. For example, using the netCDF file:
>
> netcdf simple {
>dimensions:
>num = 3 ;
>variables:
>float temp0(num)
Robert,
Thanks for your reply. However, I am still having problems. Sometimes
I get a scalar return
and sometimes I get an array. For example, using the netCDF file:
netcdf simple {
dimensions:
num = 3 ;
variables:
float temp0(num) ;
int temp1(num) ;
bandw wrote:
> I am having a problem using Numeric-24.0b2 in conjunction with
> the NetCDF module from ScientificPython (version 2.4.9).
> This problem does not surface using Numeric-23.8. The problem
> arises in using the "min" function on a NetCDF floating array.
> In 23.8, the "min" function ret
I am having a problem using Numeric-24.0b2 in conjunction with
the NetCDF module from ScientificPython (version 2.4.9).
This problem does not surface using Numeric-23.8. The problem
arises in using the "min" function on a NetCDF floating array.
In 23.8, the "min" function returns a floating scalar,