Re: requirements for anonymous dimensions (and question for John)

Quincey Koziol wrote:

ed@xxxxxxxxxxxxxxxx wrote:

From our requirements on anonymous dimensions:

* Dimensions do not always require a name.
By this do we mearly mean that I can accept a dimension with a zero
length name, and that's it?

Otherwise it acts exactly like a regular dimension?

If so, this will be an easy one!

John, was there something else you had in mind for this that I am missing?
Ed


anonymous dimensions are local to the variable, as opposed to globally scoped dimensions which can be shared across variables. anonymous dimensions can be nameless, but it would be ok if they had a name if someone had an idea why that would be useful.
   Hmm, why not just call them "private dimensions" then?

       Quincey
yeah "private" is better. i think that they are what HDF5 currently has, if we leave them nameless. we need to extend the netcdf model to allow them.

From owner-netcdf-hdf@xxxxxxxxxxxxxxxx 28 2003 Dec -0700 09:24:45
Message-ID: <wrxn09cq59u.fsf@xxxxxxxxxxxxxxxxxxxxxxx>
Date: 28 Dec 2003 09:24:45 -0700
From: Ed Hartnett <ed@xxxxxxxxxxxxxxxx>
In-Reply-To: <3FEDCE5E.1050207@xxxxxxxxxxxxxxxx>
To: netcdf-hdf@xxxxxxxxxxxxxxxx
Subject: Re: requirements for anonymous dimensions (and question for John)
Received: (from majordo@localhost)
        by unidata.ucar.edu (UCAR/Unidata) id hBSGOlYX027750
        for netcdf-hdf-out; Sun, 28 Dec 2003 09:24:47 -0700 (MST)
Received: from rodney.unidata.ucar.edu (rodney.unidata.ucar.edu 
[128.117.140.88])
        by unidata.ucar.edu (UCAR/Unidata) with ESMTP id hBSGOkp2027719
        for <netcdf-hdf@xxxxxxxxxxxxxxxx>; Sun, 28 Dec 2003 09:24:46 -0700 (MST)
Organization: UCAR/Unidata
Keywords: 200312281624.hBSGOkp2027719
References: <200312191527.hBJFRXK2055896@xxxxxxxxxxxxxxxxxxxxxx>
        <3FEDCE5E.1050207@xxxxxxxxxxxxxxxx>
Lines: 13
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-netcdf-hdf@xxxxxxxxxxxxxxxx
Precedence: bulk
Reply-To: netcdf-hdf@xxxxxxxxxxxxxxxx

John,

How would you like the ids of private dimensions to work?

For example, if I define two public dimensions (0, 1), then a private
dimension, does it get id 2?

What problem is this intended to solve? What I mean is, how is this
feature intended to be used in the real universe?

Thanks!

Ed

From owner-netcdf-hdf@xxxxxxxxxxxxxxxx 29 2003 Dec -0700 07:10:43
Message-ID: <wrxpte7ww7w.fsf@xxxxxxxxxxxxxxxxxxxxxxx>
Date: 29 Dec 2003 07:10:43 -0700
From: Ed Hartnett <ed@xxxxxxxxxxxxxxxx>
To: netcdf-hdf@xxxxxxxxxxxxxxxx
Subject: question for HDF5 programmers about automatic error printing...
Received: (from majordo@localhost)
        by unidata.ucar.edu (UCAR/Unidata) id hBTEAi3W006802
        for netcdf-hdf-out; Mon, 29 Dec 2003 07:10:44 -0700 (MST)
Received: from rodney.unidata.ucar.edu (rodney.unidata.ucar.edu 
[128.117.140.88])
        by unidata.ucar.edu (UCAR/Unidata) with ESMTP id hBTEAhp2006796
        for <netcdf-hdf@unidata>; Mon, 29 Dec 2003 07:10:43 -0700 (MST)
Organization: UCAR/Unidata
Keywords: 200312291410.hBTEAhp2006796
Lines: 28
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-netcdf-hdf@xxxxxxxxxxxxxxxx
Precedence: bulk
Reply-To: netcdf-hdf@xxxxxxxxxxxxxxxx

Hello HDF5 People!

When I cause an HDF5 error  get this kind of printout:

HDF5-DIAG: Error detected in HDF5 library version: 1.6.1 thread 0.  Back trace 
follows.
 #000: H5F.c line 2357 in H5Fcreate(): unable to create file
   major(04): File interface
   minor(15): Unable to open file
 #001: H5F.c line 1914 in H5F_open(): unable to open file
   major(04): File interface
   minor(15): Unable to open file
 #002: H5FD.c line 830 in H5FD_open(): open failed
   major(22): Virtual File Layer
   minor(27): Unable to initialize object
 #003: H5FDsec2.c line 321 in H5FD_sec2_open(): unable to open file
   major(04): File interface
   minor(15): Unable to open file

This has been very helpful to me, but I would like to turn it off. I
see the H5Eset_auto() function, but I wonder if I really have to turn
this off every time I use the HDF5 library?

Or did I somehow turn this on by default when I built my copy of HDF5,
and for other people it will be off by default?

Thanks!

Ed