'Generator that yields a dict of values corresponding to the
calendar date and time for the internal JD values.'

def str_kwargs(self):

    scale = (self.scale.upper().encode(u'ascii'),)
    (iys, ims, ids, ihmsfs) = erfa.d2dtf(scale, self.precision, self.jd1, self.jd2)
    (_, _, str_fmt) = self._select_subfmts(self.out_subfmt)[0]
    if (u'{yday:' in str_fmt):
        has_yday = True
    else:
        has_yday = False
        yday = None
    ihrs = ihmsfs[..., 0]
    imins = ihmsfs[..., 1]
    isecs = ihmsfs[..., 2]
    ifracs = ihmsfs[..., 3]
    for (iy, im, id, ihr, imin, isec, ifracsec) in np.nditer([iys, ims, ids, ihrs, imins, isecs, ifracs]):
        if has_yday:
            yday = datetime.datetime(iy, im, id).timetuple().tm_yday
        (yield {u'year': int(iy), u'mon': int(im), u'day': int(id), u'hour': int(ihr), u'min': int(imin), u'sec': int(isec), u'fracsec': int(ifracsec), u'yday': yday})
