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

Re: NCREF problem



> To:       address@hidden
> From: "DASA Airbus Bremen" <address@hidden>
> Organization: .
> Keywords: 199510050852.AA13993
>
> Hallo again!
> The problem with NCREDF occurs on a HP-Unix-Workstation.
> The used version is "netcdf 2.3.2", and every testing after the installing of
> this package were successfull.
> My first experience with netcdf in another program was also successfull, but
> without the use of the subroutine NCREDF!
> Now i tried only a call of this routine in the WORKING program:
> after "CALL NCENDF(NCID, RCODE)" i insert
>       "CALL NCREDF(NCID, RCODE)" and i get once more the error message:
> "ncredef: filename "": No such file or directory!", while RUNNING the
program,
> the compiling and linking is everytime with NCREDF successfull.
>
> My second try to solve the error was to call "NCCLOS" and open the file again
> to call "NCREDF" like:
> .
> .
> PATH = '..../test.nc'
> NCID = NCCRE(PATH, NCCLOB, RCODE)
> .
> .
> CALL NCCLOS(NCID, RCODE)
> .
> NCID = NCOPN(PATH, NCWRITE, RCODE)  *after this call the file is in
data-mode,
>                                        you discribe in the handbook*
> CALL NCREDF(NCID, RCODE)
> .
> .
> The RCODE is after every routine-call "0" and the program brakes down while
the
> NCREDF-call.
>
> I hope it is only a stupid fault of me, but i cann't find it.
> Thanks

I think this might be a known bug, which is fixed in netcdf 2.4.
I can't be sure since you didn't send enough of a program example to
duplicate your problem.

netcdf 2.4 will be out shortly, so give that a try when it comes out.


-glenn