ee-runner
ee-runner copied to clipboard
data.js does not implement "rm" command to delete EE assets/collections
Is this implemented somewhere else ? I could not find any reference or call to the /rm command
https://developers.google.com/earth-engine/command_line#rm
Is it possible this gets implemented at some point or you show us how to add it to data.js by calling ee.data.send_('/rm',.... using the right set of parameters ?
Thanks
It should be possible to delete assets using ee.data.deleteAsset(asset_id)
, maybe it makes sense to include a new example to demonstrate how this can be done.
It'd be good to see how you build the call to ee.data.deleteAsset() to recursively delete assets within a collection, similar to what you'd do by calling:
earthengine rm -r "users/username/folder_id"
using the EE python command line
Thanks