{"action":"created","issue":{"url":"https://api.github.com/repos/ncsco/pinemap-dss-help/issues/87","repository_url":"https://api.github.com/repos/ncsco/pinemap-dss-help","labels_url":"https://api.github.com/repos/ncsco/pinemap-dss-help/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/ncsco/pinemap-dss-help/issues/87/comments","events_url":"https://api.github.com/repos/ncsco/pinemap-dss-help/issues/87/events","html_url":"https://github.com/ncsco/pinemap-dss-help/issues/87","id":133250491,"number":87,"title":"Add a mask for the PINEMAP region","user":{"login":"daviswx","id":9257580,"avatar_url":"https://avatars.githubusercontent.com/u/9257580?v=3","gravatar_id":"","url":"https://api.github.com/users/daviswx","html_url":"https://github.com/daviswx","followers_url":"https://api.github.com/users/daviswx/followers","following_url":"https://api.github.com/users/daviswx/following{/other_user}","gists_url":"https://api.github.com/users/daviswx/gists{/gist_id}","starred_url":"https://api.github.com/users/daviswx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daviswx/subscriptions","organizations_url":"https://api.github.com/users/daviswx/orgs","repos_url":"https://api.github.com/users/daviswx/repos","events_url":"https://api.github.com/users/daviswx/events{/privacy}","received_events_url":"https://api.github.com/users/daviswx/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ncsco/pinemap-dss-help/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"daviswx","id":9257580,"avatar_url":"https://avatars.githubusercontent.com/u/9257580?v=3","gravatar_id":"","url":"https://api.github.com/users/daviswx","html_url":"https://github.com/daviswx","followers_url":"https://api.github.com/users/daviswx/followers","following_url":"https://api.github.com/users/daviswx/following{/other_user}","gists_url":"https://api.github.com/users/daviswx/gists{/gist_id}","starred_url":"https://api.github.com/users/daviswx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daviswx/subscriptions","organizations_url":"https://api.github.com/users/daviswx/orgs","repos_url":"https://api.github.com/users/daviswx/repos","events_url":"https://api.github.com/users/daviswx/events{/privacy}","received_events_url":"https://api.github.com/users/daviswx/received_events","type":"User","site_admin":false},"milestone":null,"comments":10,"created_at":"2016-02-12T14:06:57Z","updated_at":"2016-02-29T15:20:08Z","closed_at":null,"body":"**Goal:** On the Summer Dryness tool, values from Texas westward should be masked out since the Summer Dryness Index was never intended to be used in those environments.\r\n\r\n**Completed Task:** Ryan created this mask and it has been added to the DSS.  For now, it will just be used for the Summer Dryness Index tool, but it can be easily added to other tools with one line of code.\r\n\r\n**Completed Task:** The map code has been updated so that the mask and boundaries layers are removed and re-added to the map whenever the map display is changed, so they will always be on top.\r\n\r\n**To-Do:** When the map is clicked, use a GetFeatureInfo request to see if the clicked location is within the masked layer.  If so, treat it as invalid/no data available.\r\n\r\n**Discussion Point:** Should the map be re-centered by default so that the masked region does not appear, as shown below?  And should we have tool-specific default map positions?\r\n\r\n![image](https://cloud.githubusercontent.com/assets/9257580/13008938/93f5b280-d167-11e5-8a0b-2429a26c7d8f.png)"},"comment":{"url":"https://api.github.com/repos/ncsco/pinemap-dss-help/issues/comments/190254582","html_url":"https://github.com/ncsco/pinemap-dss-help/issues/87#issuecomment-190254582","issue_url":"https://api.github.com/repos/ncsco/pinemap-dss-help/issues/87","id":190254582,"user":{"login":"hadinon","id":886682,"avatar_url":"https://avatars.githubusercontent.com/u/886682?v=3","gravatar_id":"","url":"https://api.github.com/users/hadinon","html_url":"https://github.com/hadinon","followers_url":"https://api.github.com/users/hadinon/followers","following_url":"https://api.github.com/users/hadinon/following{/other_user}","gists_url":"https://api.github.com/users/hadinon/gists{/gist_id}","starred_url":"https://api.github.com/users/hadinon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hadinon/subscriptions","organizations_url":"https://api.github.com/users/hadinon/orgs","repos_url":"https://api.github.com/users/hadinon/repos","events_url":"https://api.github.com/users/hadinon/events{/privacy}","received_events_url":"https://api.github.com/users/hadinon/received_events","type":"User","site_admin":false},"created_at":"2016-02-29T15:20:08Z","updated_at":"2016-02-29T15:20:08Z","body":"OK, here are a few updates:\r\n\r\n1) Harold says his preference is Option B. \r\n2) The i,j's got redefined with Option A so that probably wouldn't have been a solution either. \r\n3) I noticed the i,j's start with 0,0 in the bottom left part of the original DSS historical grid of summer dryness but 0,0 is defined as top left in the new grid (option B above), which explains why only the j's are off. So, I'm trying to figure out if I can define this before writing out the new netCDF. That should fix things!"}}