def symfetch(t_start, t_stop):
    """
    A function to fetch Kyoto SYM-H directly from the Kyoto WDC website.
    Returns raw ascii lines obtained from the website representing the data
    in IAGA 2002 format.  

    Note that, because of the higher density of the data, full datetimes
    are required for the start and stop time.  This is in contrast to
    other fetch functions, where hourly or three-hourly resolution allows
    for only the start and stop years and months are required as integers.

    Parameters
    ----------
    t_start : datetime.datetime
       Start time for range of requested data as a datetime object.
    t_stop : datetime.datetime
       Stop time for range of requested data as a datetime object.

    """
    try:
        import urllib.parse, urllib.request
    except ImportError:
        import urllib
        urllib.parse = urllib
        urllib.request = urllib
    deltaT = t_stop - t_start
    forminfo = {}
    forminfo['Tens'] = int(t_start.year / 10)
    forminfo['Year'] = int(t_start.year - 10 * forminfo['Tens'])
    forminfo['Month'] = t_start.month
    forminfo['Day_Tens'] = int(t_start.day / 10)
    forminfo['Days'] = int(t_start.day - 10 * forminfo['Day_Tens'])
    forminfo['Hour'] = t_start.hour
    forminfo['min'] = t_start.minute
    forminfo['Dur_Day_Tens'] = int(deltaT.days / 10)
    forminfo['Dur_Day'] = int(deltaT.days - 10 * forminfo['Dur_Day_Tens'])
    forminfo['Dur_Hour'] = int(deltaT.seconds / 3600.0)
    forminfo['Dur_Min'] = int(deltaT.seconds / 60.0 - forminfo['Dur_Hour'] *
        60.0)
    forminfo['Output'] = 'ASY'
    forminfo['Out+format'] = 'IAGA2002'
    forminfo['Email'] = urllib.parse.quote('spacepy@lanl.gov')
    target = 'http://wdc.kugi.kyoto-u.ac.jp/cgi-bin/aeasy-cgi'
    data = 'Tens={0[Tens]:03d}&Year={0[Year]:d}&'.format(forminfo)
    data += 'Month={0[Month]:02d}&Day_Tens={0[Day_Tens]:d}&'.format(forminfo)
    data += 'Days={0[Days]:d}&Hour={0[Hour]:02d}&min={0[min]:02d}'.format(
        forminfo)
    data += '&Dur_Day_Tens={0[Dur_Day_Tens]:02d}&'.format(forminfo)
    data += 'Dur_Day={0[Dur_Day]:d}&Dur_Hour={0[Dur_Hour]:02d}&'.format(
        forminfo)
    data += 'Dur_Min={0[Dur_Min]:02d}&Image+Type=GIF&COLOR='.format(forminfo)
    data += 'COLOR&AE+Sensitivity=0&ASY%2FSYM++Sensitivity=0&'
    data += 'Output={0[Output]}&Out+format='.format(forminfo)
    data += 'IAGA2002&Email={0[Email]}'.format(forminfo)
    f = urllib.request.urlopen(target + '?' + data)
    lines = f.readlines()
    return lines
