geetools.Asset.is_relative_to#
- geetools.Asset.is_relative_to(other)#
Return True if the asset is relative to another asset.
- Parameters:
other (geetools.types.pathlike) – The other asset to compare with.
- Return type:
bool
Examples
asset = ee.Asset("projects/ee-geetools/assets/folder/image") asset.is_relative_to("projects/ee-geetools/assets")