Re: ncdf + x-connection + many files = crazy. [message #74927 is a reply to message #74926] |
Tue, 08 February 2011 13:58   |
Matt[2]
Messages: 69 Registered: March 2007
|
Member |
|
|
On Feb 8, 2:31 pm, FÖLDY Lajos <fo...@rmki.kfki.hu> wrote:
> On Tue, 8 Feb 2011, Matt wrote:
> ps: you are defining a scalar variable, not an array
>
>> dimidx = ncdf_dimdef( ncid, 'x', 4 )
>> dimidy = ncdf_dimdef( ncid, 'y', 3 )
>> varid = ncdf_vardef( ncid, 'variable', /double )
Look at that, you're right. But the file is still created o.k. even as
a vector and since I'm just opening and closing it it shouldn't effect
it.....
Yup changing the offending line to this has no effect on my errors.
varid = ncdf_vardef( ncid, 'variable', [ dimidx, dimidy ], /double )
But thanks for checking this for me.
Matt
|
|
|