geetools.Asset.is_project#

geetools.Asset.is_project(raised=False)#

Return True if the asset is a project.

As project path are not assets, we cannot check their existence. We only check the path structure.

Parameters:

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

Return type:

bool

Examples

asset = ee.Asset("projects/ee-geetools/assets")
asset.is_project()