def processingLevel(metainfo):
    """
    Return processing Level based on satellite and productType.
    """
    if metainfo.satId.startswith('S1'):
        if metainfo.productType in ['RAW']: return 'LEVEL-0'
        elif metainfo.productType in ['OCN']: return 'LEVEL-2'
        else: return 'LEVEL-1'
    elif metainfo.satId.startswith('S2'): return "L" + metainfo.processingLevel[-2:]
    elif metainfo.satId.startswith('S3'): return 'LEVEL-{}'.format(metainfo.processingLevel)
    elif metainfo.satId.startswith('S5'): return 'LEVEL-{}'.format(metainfo.processingLevel)
    else:
        return 'LEVEL-1'