NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: reserve header space in advance (Matlab)

No problem, that's easily implemented as well.  


On Friday 15 July 2005 11:57 am, Ed Hartnett wrote:
> Whoops! As my boss Russ just pointed out to me, what you want is in
> the nc__enddef function, not nc__create. Here's what Russ sez:
>
> "What you want is to provide a non-zero argument for the "h_minfree"
> parameter of the nc__enddef() call, as documented here, for example:
>
>  
> http://www.unidata.ucar.edu/packages/netcdf/docs/netcdf-c/nc_005f_005fen
>ddef.html
>
> which specifies the amount of extra space to reserve in the header for
> future additions.  There is an equivalent function in the Fortran and
> C++ interfaces, but I'm also not sure whether the Matlab interface
> exposes the "underbar underbar" functions such as nc__create(),
> nc__open(), and nc__enddef()."
>
> Sorry about the confusion!
>
> Thanks,
>
> Ed
>
> > --
> > John Evans: IMCS Rutgers University
> > 71 Dudley Rd, New Brunswick, NJ 08901-8521
> > ph: 732-932-3435

-- 
John Evans: IMCS Rutgers University 
71 Dudley Rd, New Brunswick, NJ 08901-8521
ph: 732-932-3435





  • 2005 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: