Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

Re: [netcdfgroup] What does nc_open returning 24 mean?

OK, for those who encounter this later it is because despite the files
being open read only they do need to be closed. Thanks to: giuliani,
Hannes, and Timothy for point this out to me so quickly. :-)

I'm brand new at this stuff so I appreciate the help immensely!

On 10/22/07, Nathaniel Nutter <iam@xxxxxxxxxxx> wrote:
> I'm having a hard time searching for this on the mailing list archive
> and Google due to the unhelpfully constraining nature of a number and
> 'return'.
>
> I am running a program that reads in data every 'month' and it goes
> through many years and then mysteriously returns non-zero after
> opening the same files dozens of times.
>
> Every time prior (again dozens) it returns zero. The file is being
> opened read-only, no changes are being made to it.
>
> Debugging info from my program:
> nc_open status = 24
> filename = dat/ts.nc
>
> Nate Nutter
> iam@xxxxxxxxxxx
>


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690