{"action":"created","issue":{"url":"https://api.github.com/repos/PSU-CSAR/vb-bagis-p/issues/7","labels_url":"https://api.github.com/repos/PSU-CSAR/vb-bagis-p/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/PSU-CSAR/vb-bagis-p/issues/7/comments","events_url":"https://api.github.com/repos/PSU-CSAR/vb-bagis-p/issues/7/events","html_url":"https://github.com/PSU-CSAR/vb-bagis-p/issues/7","id":106113150,"number":7,"title":"What happens when a layer is clipped to an aoi a second time?","user":{"login":"lbross","id":11527966,"avatar_url":"https://avatars.githubusercontent.com/u/11527966?v=3","gravatar_id":"","url":"https://api.github.com/users/lbross","html_url":"https://github.com/lbross","followers_url":"https://api.github.com/users/lbross/followers","following_url":"https://api.github.com/users/lbross/following{/other_user}","gists_url":"https://api.github.com/users/lbross/gists{/gist_id}","starred_url":"https://api.github.com/users/lbross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbross/subscriptions","organizations_url":"https://api.github.com/users/lbross/orgs","repos_url":"https://api.github.com/users/lbross/repos","events_url":"https://api.github.com/users/lbross/events{/privacy}","received_events_url":"https://api.github.com/users/lbross/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PSU-CSAR/vb-bagis-p/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"lbross","id":11527966,"avatar_url":"https://avatars.githubusercontent.com/u/11527966?v=3","gravatar_id":"","url":"https://api.github.com/users/lbross","html_url":"https://github.com/lbross","followers_url":"https://api.github.com/users/lbross/followers","following_url":"https://api.github.com/users/lbross/following{/other_user}","gists_url":"https://api.github.com/users/lbross/gists{/gist_id}","starred_url":"https://api.github.com/users/lbross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbross/subscriptions","organizations_url":"https://api.github.com/users/lbross/orgs","repos_url":"https://api.github.com/users/lbross/repos","events_url":"https://api.github.com/users/lbross/events{/privacy}","received_events_url":"https://api.github.com/users/lbross/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-09-11T23:42:36Z","updated_at":"2015-09-16T22:26:45Z","closed_at":null,"body":"Forgot to define units the first time. Redefined data layer in public manager. Reclipped. But units were still not there. Preferred behavior is to silently overwrite but there may be a file lock issue where it can't be replaced in the same session."},"comment":{"url":"https://api.github.com/repos/PSU-CSAR/vb-bagis-p/issues/comments/140911860","html_url":"https://github.com/PSU-CSAR/vb-bagis-p/issues/7#issuecomment-140911860","issue_url":"https://api.github.com/repos/PSU-CSAR/vb-bagis-p/issues/7","id":140911860,"user":{"login":"jdduh","id":11510708,"avatar_url":"https://avatars.githubusercontent.com/u/11510708?v=3","gravatar_id":"","url":"https://api.github.com/users/jdduh","html_url":"https://github.com/jdduh","followers_url":"https://api.github.com/users/jdduh/followers","following_url":"https://api.github.com/users/jdduh/following{/other_user}","gists_url":"https://api.github.com/users/jdduh/gists{/gist_id}","starred_url":"https://api.github.com/users/jdduh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdduh/subscriptions","organizations_url":"https://api.github.com/users/jdduh/orgs","repos_url":"https://api.github.com/users/jdduh/repos","events_url":"https://api.github.com/users/jdduh/events{/privacy}","received_events_url":"https://api.github.com/users/jdduh/received_events","type":"User","site_admin":false},"created_at":"2015-09-16T22:26:45Z","updated_at":"2015-09-16T22:26:45Z","body":"How about just modify the warning message and instruct the user to manually delete the layers in Catalog? You can list the path and layer name in the warning message so that it's easier to locate these files. So, you don't have to worry about file lock issues when deleting layers programmatically."}}