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

960328: netCDF 2.4.1 for Unicos 7.0.6



John,

>Date: Thu, 28 Mar 1996 12:35:30 -0500 (EST) 
>From: address@hidden (John Sheldon)
>Organization: NOAA/GFDL
>Subject: Re: 960328: netCDF 2.4.1 for Unicos 7.0.6 
>Keywords: 199603281505.AA27313

In the above message you wrote:

> I'm afraid I'm not going to be of much help there - I'm a fair FORTRAN
> programmer, but it's been 10 (15?) years since my C experiences (however
> intense they were...).  Want to write me some lines to stick in there?
> That I can do!

Coward!  :-)

Try the following around line 321 (not 285 as I previously mentioned):

    #else
            fprintf(stderr, "NCxdrfile_create(): path=\"%s\"\n", path);
            fprintf(stderr, "NCxdrfile_create(): fmode=0x%x\n", fmode);
            fprintf(stderr, "NCxdrfile_create(): ControlString=\"%s\"\n",
                    ControlString);
            fd = ffopens(path, fmode, 0666, 0, &stat, ControlString) ;
    #endif
            if( fd == -1 ) {
                    perror("ffopens()");
                    nc_serror("filename \"%s\"", path) ;
                    return (-1);
            }

If you can, send me your manual page on ffopens().

--------
Steve Emmerson   <address@hidden>