geetools.Asset.Asset.is_user_project#

geetools.Asset.Asset.is_user_project(raised=False)#

Check if the current asset is in the same project as the user.

Parameters:

raised (bool) – If True, raise an exception if the asset is not in the same project. Defaults to False.

Return type:

bool

Examples

asset = ee.Asset("projects/ee-geetools/assets/folder/image")
asset.is_user_project()