{"action":"created","issue":{"url":"https://api.github.com/repos/EarthScientist/alfresco_inputs/issues/17","labels_url":"https://api.github.com/repos/EarthScientist/alfresco_inputs/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/EarthScientist/alfresco_inputs/issues/17/comments","events_url":"https://api.github.com/repos/EarthScientist/alfresco_inputs/issues/17/events","html_url":"https://github.com/EarthScientist/alfresco_inputs/issues/17","id":54120983,"number":17,"title":"Addition of TNF_CoverType mask and reclassification to the LandCarbon domain","user":{"login":"EarthScientist","id":1383084,"avatar_url":"https://avatars.githubusercontent.com/u/1383084?v=3","gravatar_id":"","url":"https://api.github.com/users/EarthScientist","html_url":"https://github.com/EarthScientist","followers_url":"https://api.github.com/users/EarthScientist/followers","following_url":"https://api.github.com/users/EarthScientist/following{/other_user}","gists_url":"https://api.github.com/users/EarthScientist/gists{/gist_id}","starred_url":"https://api.github.com/users/EarthScientist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EarthScientist/subscriptions","organizations_url":"https://api.github.com/users/EarthScientist/orgs","repos_url":"https://api.github.com/users/EarthScientist/repos","events_url":"https://api.github.com/users/EarthScientist/events{/privacy}","received_events_url":"https://api.github.com/users/EarthScientist/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/EarthScientist/alfresco_inputs/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/EarthScientist/alfresco_inputs/labels/in+progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"EarthScientist","id":1383084,"avatar_url":"https://avatars.githubusercontent.com/u/1383084?v=3","gravatar_id":"","url":"https://api.github.com/users/EarthScientist","html_url":"https://github.com/EarthScientist","followers_url":"https://api.github.com/users/EarthScientist/followers","following_url":"https://api.github.com/users/EarthScientist/following{/other_user}","gists_url":"https://api.github.com/users/EarthScientist/gists{/gist_id}","starred_url":"https://api.github.com/users/EarthScientist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EarthScientist/subscriptions","organizations_url":"https://api.github.com/users/EarthScientist/orgs","repos_url":"https://api.github.com/users/EarthScientist/repos","events_url":"https://api.github.com/users/EarthScientist/events{/privacy}","received_events_url":"https://api.github.com/users/EarthScientist/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-01-12T23:10:44Z","updated_at":"2015-01-13T02:48:52Z","closed_at":null,"body":"**Frances suggests that we add back in the steps for processing the TNF CoverType changes.**\r\n\r\nStep7. Using TNFCoverType, identify non-conifer forest areas dominated by alder, brush, willow, slide zones, and optionally, alpine, in the raster output from Step 6.  Change these cell values to Other Veg (5) or Alpine (6) [Optional class].\r\n\r\na. Create a new field in TNFCoverType called “covcls.”    [DONE, fc name is TNFCoverType_OtherVeg_and_Alpine]\r\n* Code covcls = 5 (i.e., Other Veg) where NFCON = A, B, S, T. or W.  Translation: “non-forested condition = alder brush, brush, recurrent slide, willow, or mass wasting.”\r\n\r\nb. OPTIONAL:  Code covcls = 6 (i.e., Alpine) where NFCON = H.  Translation: “non-forested condition = alpine.”  Dave McGuire indicated he had information that TEM could apply to alpine areas.  Skip this step if choosing not to identify alpine areas in the TNF.  [DONE, fc  name is TNFCoverType_OtherVeg_and_Alpine]\r\n\r\nc. Convert the TNFCoverType polygon feature class to a raster.  Choose the covcls field to assign cell values to the output raster. Set the cell size to 30m\r\n* Specify the raster output from Step 6 (or either of the re-projected NLCD rasters) as the snap and extent raster. Use Nearest Neighbor for resample metho. \r\n* All polygons without a covcls value will be assigned a NoData value.\r\n\r\nd. Use the Raster Calculator to enter an expression that will create a new raster where all the cells coincident with a coded value in the TNFCoverType raster will have a value=5 (or 6 if alpine is included).\r\n\r\n*Con(IsNull(NameOfTNFCoverTypeRaster), NameOfRasterFromStep6, NameOfTNFCoverTypeRaster)\r\nThat is, where the TNFCoverType raster is equal to NoData, use the grid cell value from the raster output from Step 6. Otherwise use the grid cell value from the TNFCoverType raster. Don’t forget to specify the snap & extent raster.*\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/EarthScientist/alfresco_inputs/issues/comments/69687473","html_url":"https://github.com/EarthScientist/alfresco_inputs/issues/17#issuecomment-69687473","issue_url":"https://api.github.com/repos/EarthScientist/alfresco_inputs/issues/17","id":69687473,"user":{"login":"EarthScientist","id":1383084,"avatar_url":"https://avatars.githubusercontent.com/u/1383084?v=3","gravatar_id":"","url":"https://api.github.com/users/EarthScientist","html_url":"https://github.com/EarthScientist","followers_url":"https://api.github.com/users/EarthScientist/followers","following_url":"https://api.github.com/users/EarthScientist/following{/other_user}","gists_url":"https://api.github.com/users/EarthScientist/gists{/gist_id}","starred_url":"https://api.github.com/users/EarthScientist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EarthScientist/subscriptions","organizations_url":"https://api.github.com/users/EarthScientist/orgs","repos_url":"https://api.github.com/users/EarthScientist/repos","events_url":"https://api.github.com/users/EarthScientist/events{/privacy}","received_events_url":"https://api.github.com/users/EarthScientist/received_events","type":"User","site_admin":false},"created_at":"2015-01-13T02:48:52Z","updated_at":"2015-01-13T02:48:52Z","body":"In the Python Scripting speak this is what I have done here:\r\n\r\n1. taken the TNF_Cover and rasterized it use in reclassification.\r\n  * this is a simple 3 class map where 0=oob, 1=other_veg, 2=alpine (heath)\r\n\r\n2. clip the new tnf_cover to the ak_only domain (not sure if this is needed since the TNF is entirely within AK, but check on it.)\r\n\r\n3. change all locations that meet criteria and tnf_cover == 5 as Other Veg\r\n\r\n4. change all locations that meet criteria and tnf_cover == 6 as heath ( the old alpine class ).\r\n"}}