iterdir#

geetools.ee_asset.Asset.iterdir(recursive=False)#

Get the list of children of a container.

Note

A container is an asset containing other assets, it can be a Folder or an ImageCollection.

Parameters:

recursive (bool) – If True, get all the children recursively. Defaults to False.

Return type:

list

See also

  • glob: Return a list of assets matching the pattern.

  • rglob: Return a list of assets matching the pattern recursively.

Examples

asset = ee.Asset("projects/ee-geetools/assets/folder")
asset.iterdir(recursive=True)