ronnyhdez / reclaimed_sites_ab

https://ronnyhdez.github.io/reclaimed_sites_ab/
0 stars 0 forks source link

Create function to check and load asset #147

Closed ronnyhdez closed 1 month ago

ronnyhdez commented 1 month ago

If the asset_id does not exist, the python code does not raise a message until it's evaluated. I can combine the asset_exists own function to assess if or not exists and raise a message.

For example, if I run the following: abandoned_wells = ee.FeatureCollection("projects/ee-ronnyale/assets/selected_polygonses") which has an error in the asset name, until I evaluate the asset further down it will raise the error.

ronnyhdez commented 1 month ago

Ref #146