[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20010626: need help with ncvdef call



Devon,

> To: netCDF support at UCAR <address@hidden>
> From: "Devon S. Prichard" <address@hidden>
> Subject: need help with ncvdef call
> Organization: Virginia Tech/VCES
> Keywords: 200106261656.f5QGuH126144

The above message contained the following:

> Hello, I am using netCDF 3.5 on various
> unix workstations,and have run into a
> problem with a call to ncvdef in one
> of my Fortran programs.
> 
> I can use ncvdef in my test programs
> just fine, and the resulting *.nc file
> is correct. However, in the big messy
> application to which I am adding 
> netCDF output, I get the following
> error message;
> 
> NCVDEF: : NC_UNLIMITED in the wrong index

This means that the dimension index vector to the NCVDEF function has the
unlimited dimension index in something other than the last element of
the vector.

Check the dimension index vector of the NCVDEF function.  What is the
value of the last element?  Which element has the value -1?

Regards,
Steve Emmerson   <http://www.unidata.ucar.edu>