{"action":"created","issue":{"url":"https://api.github.com/repos/firelab/windninja/issues/291","repository_url":"https://api.github.com/repos/firelab/windninja","labels_url":"https://api.github.com/repos/firelab/windninja/issues/291/labels{/name}","comments_url":"https://api.github.com/repos/firelab/windninja/issues/291/comments","events_url":"https://api.github.com/repos/firelab/windninja/issues/291/events","html_url":"https://github.com/firelab/windninja/issues/291","id":318538355,"number":291,"title":"Auto-detect potential weather models based on DEM extents","user":{"login":"jforthofer","id":3695983,"avatar_url":"https://avatars0.githubusercontent.com/u/3695983?v=4","gravatar_id":"","url":"https://api.github.com/users/jforthofer","html_url":"https://github.com/jforthofer","followers_url":"https://api.github.com/users/jforthofer/followers","following_url":"https://api.github.com/users/jforthofer/following{/other_user}","gists_url":"https://api.github.com/users/jforthofer/gists{/gist_id}","starred_url":"https://api.github.com/users/jforthofer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jforthofer/subscriptions","organizations_url":"https://api.github.com/users/jforthofer/orgs","repos_url":"https://api.github.com/users/jforthofer/repos","events_url":"https://api.github.com/users/jforthofer/events{/privacy}","received_events_url":"https://api.github.com/users/jforthofer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-04-27T20:22:52Z","updated_at":"2018-04-27T20:55:02Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Thinking about firelab/windninja-mobile#147, which may get done soon in a contract with GCS, it seems like it would make sense to implement code in windninja to test if a given DEM is within a weather model's areal coverage.  This could be useful in WindNinja desktop for other things, as well as the mobile server side.\r\n@ksshannon or @nwagenbrenner, does this already exist?\r\nIn WindNinja desktop, we could potentially modify the weather model choices in the drop down box to only those that are valid for the user's DEM.  Hopefully this could be done fast enough so the GUI isn't bogged down, reading weather model extents from disk might be the issue here, or not?"},"comment":{"url":"https://api.github.com/repos/firelab/windninja/issues/comments/385091553","html_url":"https://github.com/firelab/windninja/issues/291#issuecomment-385091553","issue_url":"https://api.github.com/repos/firelab/windninja/issues/291","id":385091553,"user":{"login":"nwagenbrenner","id":3696653,"avatar_url":"https://avatars0.githubusercontent.com/u/3696653?v=4","gravatar_id":"","url":"https://api.github.com/users/nwagenbrenner","html_url":"https://github.com/nwagenbrenner","followers_url":"https://api.github.com/users/nwagenbrenner/followers","following_url":"https://api.github.com/users/nwagenbrenner/following{/other_user}","gists_url":"https://api.github.com/users/nwagenbrenner/gists{/gist_id}","starred_url":"https://api.github.com/users/nwagenbrenner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nwagenbrenner/subscriptions","organizations_url":"https://api.github.com/users/nwagenbrenner/orgs","repos_url":"https://api.github.com/users/nwagenbrenner/repos","events_url":"https://api.github.com/users/nwagenbrenner/events{/privacy}","received_events_url":"https://api.github.com/users/nwagenbrenner/received_events","type":"User","site_admin":false},"created_at":"2018-04-27T20:55:02Z","updated_at":"2018-04-27T20:55:02Z","author_association":"OWNER","body":"I think we could store the projection and geotransform for each model and warp the DEM to that projection to check if it falls within. Or just transform the corner points. @ksshannon would know the best way.\r\n"}}
{"actor":{"display_login":"nwagenbrenner"}}