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