Re: Stride error message [message #28781] |
Fri, 11 January 2002 09:07  |
k-bowman
Messages: 12 Registered: December 2001
|
Junior Member |
|
|
In article <610ef65b.0201100914.5dac3ee5@posting.google.com>, ksonntag@ou.edu (Karen) wrote:
> While using the ncdf_varput command (writing a 3-d file), I received
> the following error message: 'Non-positive stride not allowed'. I
> read the online help and looked at the example program, but can not
> determine a solution. Has anyone encountered this problem? Thanks.
I seem to recall getting "stride error" messages even when I had not set the STRIDE keyword. The error was in my specifications for the OFFSET and COUNT (e.g, trying to get more data than there is, using a negative count, etc.)
Check your OFFSET and COUNT vectors carefully.
Ken
|
|
|
|
|
Re: Stride error message [message #28845 is a reply to message #28781] |
Mon, 14 January 2002 11:14  |
ksonntag
Messages: 2 Registered: January 2002
|
Junior Member |
|
|
Thank you Ken! I adjusted offset and count. I left stride
unspecified and it worked. Thanks to all.
Karen Sonntag
Cooperative Institute for Mesoscale Meteorological Studies
Universtiy of Oklahoma
k-bowman@null.com (Kenneth Bowman) wrote in message news:<k-bowman-1101021107270001@bowman.tamu.edu>...
> In article <610ef65b.0201100914.5dac3ee5@posting.google.com>, ksonntag@ou.edu (Karen) wrote:
>
>> While using the ncdf_varput command (writing a 3-d file), I received
>> the following error message: 'Non-positive stride not allowed'. I
>> read the online help and looked at the example program, but can not
>> determine a solution. Has anyone encountered this problem? Thanks.
>
> I seem to recall getting "stride error" messages even when I had not set the STRIDE keyword. The error was in my specifications for the OFFSET and COUNT (e.g, trying to get more data than there is, using a negative count, etc.)
>
> Check your OFFSET and COUNT vectors carefully.
>
> Ken
|
|
|