This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
>To: address@hidden >From: address@hidden (Ethan Alpert) >Subject: problem with nccreate on IRIX 6.2 using netcdf3.3.1 >Organization: . >Keywords: 199709221820.MAA25471 > > > > Greetings, > > I have an application that uses the netCDF 2 routines. I > read in the NetCDF 2 C Translation Guide: > > "It is not necessary to rewrite programs that use the version 2 C" > "interface, because the netCDF-3 library includes a backward" > "compatibility interface that supports all the old functions," > "globals, and behavior." > > This does not appear to be true with my IRIX6.2 workstation. > The following call: > > NetCreateFileRec: 374 id = nccreate("new.nc",NC_NOCLOBBER); > > worked fine with 2.4.1 but gives me the following with 3.3.1: > > nccreate: filename "new.nc": Permission denied > > The file gets created but the permissions are hosed: > > [chiquita] /data/src/ni/src/ncl 86> ls -l new.nc > - ---------- 1 ethan gp 0 Sep 22 12:14 new.nc > > Any idea how I should proceed? > > Thanks, > > ethan alpert Ethan: Check the process 'umask'. -glenn