def create_satellite_string(mission_id):
    """Convert mission_id to scihub's search url platformname attribute

    :param mission_id: an OST scene mission_id attribute (e.g. S1)
    :return: Copernicus' scihub compliant satellite query string
    :rtype: str
    """

    if str(1) in mission_id:
        return f'platformname:Sentinel-1'
    elif str(2) in mission_id:
        return f'platformname:Sentinel-2'
    elif str(3) in mission_id:
        return f'platformname:Sentinel-3'
    elif str(5) in mission_id:
        return f'platformname:Sentinel-5'
    else:
        raise ValueError('No satellite with mission_id')