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: [netcdfgroup] NF90_SYNC question

On Fri, Feb 22, 2013 at 2:59 PM, Russ Rew <russ@xxxxxxxxxxxxxxxx> wrote:

> > And I override these defaults by providing a chunksizes array when
> calling
> > NF90_DEF_VAR?
>
> Not quite.  You have to call nc_def_var_chunking(..., chunkshape) for
> each variable *before* calling nc_enddef().


I don't see a Fortran 90 equivalent of nc_def_var_chunking, and providing a
chunksizes array when calling NF90_DEF_VAR seems to have the desired
effect. For example:

dimensions:
        step = UNLIMITED ;
        cell = 100 ;
variables:
        float temperature(step, cell) ;
                temperature:_Storage = "chunked" ;
                temperature:_ChunkSizes = 1000, 100 ;
...

Am I missing something by doing it this way?
-Leon
  • 2013 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: