def coords_to_panstarrs(ra, dec):
    """
    Get panstarrs dr1 cutout url at ra, dec coordinates.
    http://ps1images.stsci.edu/cgi-bin/ps1cutouts
    Args:
        ra (float): right ascension in degrees
        dec (float): declination in degrees

    Returns:
        (str): cutout url for objects at ra, dec
    """
    return 'http://ps1images.stsci.edu/cgi-bin/ps1cutouts?pos={}{:+f}&filter=color&filter=g&filter=r&filter=i&filter=z&filter=y&filetypes=stack&auxiliary=data&size=240&output_size=0&verbose=0&autoscale=99.500000&catlist='.format(
        ra, dec)