Returns a mapping of dimension name to upper_extent

def dim_upper_extent_dict(self):
        """ Returns a mapping of dimension name to upper_extent """
        return { d.name: d.upper_extent for d in self._dims.itervalues()}