Dimensions with size 0

Netcdf-3 does not allow dimensions (apart from unlimited dimension) to
have a size of 0 (although I recall a decision at a netcdf-3 design
meeting in 1996 to allow size 0).

It is probably not worthwhile fixing this in netcdf-3, given the
immanent change to netcdf-4.  Does netcdf-4 allow dimensions with size
0?  If not, then I urge the developers to allow them.

Things like empty strings and empty sets are useful.  Zero is one of
man's great inventions!

Harvey Davies
CSIRO Marine and Atmospheric Research


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