I created a new file whose handle is fw.

```
fw.create_dataset('grp1/varname',data=arr)

```

The groups are created before this command. arr is a numpy array with dimensions (2,3). The file is created successfully. However, the dimensions are named phony\_0, and phony\_1. How do I change them to say m and n ?

In general how does one create dimensions within a group and then associate variables with them?

I tried,

```
fw['grp1/varname'].dims[0].label = 'm'

```

But this does not have the desired effect.

`ncdump -h` on the created file shows :

```
group: grp1 {

        dimensions:
                phony_dim_0 = 2 ;
                phony_dim_1 = 3 ;

        variables:

                float varname(phony_dim_0, phony_dim_1) ;
                        string varname:DIMENSION_LABELS = "m", NIL, NIL ;
        } // group grp1

```

Thanks

print([ dim.label for dim in fw['grp1/varname'].dims])
does produce consistent output.
[u'm', u'']

It does seem that hdffiles do not have provision to associate dimensions with groups. However varname is a variable. How does one get :

```
   variables:
            float varname(m, phony_dim_1) ;
                    string varname:DIMENSION_LABELS = "m", NIL ;
    } // group grp1

```

in the output of ncdump -h or h5dump ? I did try different options with h5dump.

Thanks.