to_numpy_dtype ignores dimensions

This is useful if the dimension is var, and so would raise an error in
`to_numpy`