[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDF #KJK-861023]: nc__open() and nc_open() clarification
- Subject: [netCDF #KJK-861023]: nc__open() and nc_open() clarification
- Date: Sun, 15 Apr 2012 11:10:18 -0600
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