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.
Note that nc_create(path,cmode,ncidp) is equivalent to the invocation of nc__create(path,cmode,NC_SIZEHINT_DEFAULT,NULL,ncidp). =Dennis Charlie Zender wrote: > New Client Reply: nc__open() and nc_open() clarification > > Thank you, Dennis. > > What would be the equivalent for nc__create()? > > in particular, what can one use to indicate the > default value for initialsz? > > is > > nc_create(path,cmode,ncidp) > > the same as > > nc__create(path,cmode,0,NULL,ncidp)? > > ? > > On 04/03/2012 09:47 PM, Unidata netCDF Support wrote: >> Charlie- >> Yes, the default is that >> nc_open(path,cmode,ncidp) >> is the same as >> nc__open(path,cmode,NULL,ncidp) >> or equivalently >> size_t bfr_sz_hnt=NC_SIZEHINT_DEFAULT; >> nc__open(path,cmode,&bfr_sz_hnt,ncidp) >> >> I have added a note about this into >> the documentation of nc_open() >> (and nc_create()). >> =Dennis Heimbigner >> Unidata >> >> >> Ticket Details >> =================== >> Ticket ID: KJK-861023 >> Department: Support netCDF >> Priority: Normal >> Status: Closed >> >> > > Ticket Details =================== Ticket ID: KJK-861023 Department: Support netCDF Priority: Normal Status: Open