def get_planet_product_type(img_path):
    """
    return if file is scene or OrthoTile"""
    split = img_path.stem.split('_')
    # check if 4th last imagename segment is BGRN
    if split[-4] == 'BGRN':
        pl_type = 'OrthoTile'
    else:
        pl_type = 'Scene'
    
    return pl_type