{"action":"created","comment":{"url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/pulls/comments/51440672","id":51440672,"diff_hunk":"@@ -0,0 +1,1413 @@\n+\n+#ifdef _OPENMP\n+    #include <omp.h>\n+#endif\n+\n+\n+#include <stdio.h>\n+#include <stdbool.h>\n+\n+\n+#include \"espa_geoloc.h\"\n+\n+\n+#include \"const.h\"\n+#include \"error.h\"\n+#include \"cfmask.h\"\n+#include \"input.h\"\n+#include \"misc.h\"\n+#include \"fill_local_minima_in_image.h\"\n+#include \"potential_cloud_shadow_snow_mask.h\"\n+\n+\n+bool is_fill_data\n+(\n+    Input_t * input, /* I: input structure */\n+    int column,      /* I: column in the input data array */\n+    bool use_thermal /* I: use the thermal data or not */\n+)\n+{\n+    if (input->buf[BI_BLUE][column] == FILL_PIXEL\n+        || input->buf[BI_GREEN][column] == FILL_PIXEL\n+        || input->buf[BI_RED][column] == FILL_PIXEL\n+        || input->buf[BI_NIR][column] == FILL_PIXEL\n+        || input->buf[BI_SWIR_1][column] == FILL_PIXEL\n+        || input->buf[BI_SWIR_2][column] == FILL_PIXEL)\n+    {\n+        return true;\n+    }\n+","path":"cfmask/src/potential_cloud_shadow_snow_mask.c","position":39,"original_position":39,"commit_id":"6b6ca0fd3c8839be09b71635eb2d24c13dee08ef","original_commit_id":"6b6ca0fd3c8839be09b71635eb2d24c13dee08ef","user":{"login":"ronaldddilley","id":12140146,"avatar_url":"https://avatars.githubusercontent.com/u/12140146?v=3","gravatar_id":"","url":"https://api.github.com/users/ronaldddilley","html_url":"https://github.com/ronaldddilley","followers_url":"https://api.github.com/users/ronaldddilley/followers","following_url":"https://api.github.com/users/ronaldddilley/following{/other_user}","gists_url":"https://api.github.com/users/ronaldddilley/gists{/gist_id}","starred_url":"https://api.github.com/users/ronaldddilley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ronaldddilley/subscriptions","organizations_url":"https://api.github.com/users/ronaldddilley/orgs","repos_url":"https://api.github.com/users/ronaldddilley/repos","events_url":"https://api.github.com/users/ronaldddilley/events{/privacy}","received_events_url":"https://api.github.com/users/ronaldddilley/received_events","type":"User","site_admin":false},"body":"Should add CIRRUS in here?  It is not excluded elsewhere.","created_at":"2016-02-01T16:28:40Z","updated_at":"2016-02-01T16:28:40Z","html_url":"https://github.com/USGS-EROS/espa-cloud-masking/pull/45#discussion_r51440672","pull_request_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/pulls/45","_links":{"self":{"href":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/pulls/comments/51440672"},"html":{"href":"https://github.com/USGS-EROS/espa-cloud-masking/pull/45#discussion_r51440672"},"pull_request":{"href":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/pulls/45"}}},"pull_request":{"url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/pulls/45","id":57565097,"html_url":"https://github.com/USGS-EROS/espa-cloud-masking/pull/45","diff_url":"https://github.com/USGS-EROS/espa-cloud-masking/pull/45.diff","patch_url":"https://github.com/USGS-EROS/espa-cloud-masking/pull/45.patch","issue_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/issues/45","number":45,"state":"open","locked":false,"title":"Dev mar2016","user":{"login":"ronaldddilley","id":12140146,"avatar_url":"https://avatars.githubusercontent.com/u/12140146?v=3","gravatar_id":"","url":"https://api.github.com/users/ronaldddilley","html_url":"https://github.com/ronaldddilley","followers_url":"https://api.github.com/users/ronaldddilley/followers","following_url":"https://api.github.com/users/ronaldddilley/following{/other_user}","gists_url":"https://api.github.com/users/ronaldddilley/gists{/gist_id}","starred_url":"https://api.github.com/users/ronaldddilley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ronaldddilley/subscriptions","organizations_url":"https://api.github.com/users/ronaldddilley/orgs","repos_url":"https://api.github.com/users/ronaldddilley/repos","events_url":"https://api.github.com/users/ronaldddilley/events{/privacy}","received_events_url":"https://api.github.com/users/ronaldddilley/received_events","type":"User","site_admin":false},"body":"For March release\r\n","created_at":"2016-01-28T21:01:42Z","updated_at":"2016-02-01T16:28:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"56a5e13e8654c2cb4e20b4262ac018f4af3c585a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/pulls/45/commits","review_comments_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/pulls/45/comments","review_comment_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/pulls/comments{/number}","comments_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/issues/45/comments","statuses_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/statuses/6b6ca0fd3c8839be09b71635eb2d24c13dee08ef","head":{"label":"USGS-EROS:dev_mar2016","ref":"dev_mar2016","sha":"6b6ca0fd3c8839be09b71635eb2d24c13dee08ef","user":{"login":"USGS-EROS","id":12549192,"avatar_url":"https://avatars.githubusercontent.com/u/12549192?v=3","gravatar_id":"","url":"https://api.github.com/users/USGS-EROS","html_url":"https://github.com/USGS-EROS","followers_url":"https://api.github.com/users/USGS-EROS/followers","following_url":"https://api.github.com/users/USGS-EROS/following{/other_user}","gists_url":"https://api.github.com/users/USGS-EROS/gists{/gist_id}","starred_url":"https://api.github.com/users/USGS-EROS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/USGS-EROS/subscriptions","organizations_url":"https://api.github.com/users/USGS-EROS/orgs","repos_url":"https://api.github.com/users/USGS-EROS/repos","events_url":"https://api.github.com/users/USGS-EROS/events{/privacy}","received_events_url":"https://api.github.com/users/USGS-EROS/received_events","type":"Organization","site_admin":false},"repo":{"id":36523887,"name":"espa-cloud-masking","full_name":"USGS-EROS/espa-cloud-masking","owner":{"login":"USGS-EROS","id":12549192,"avatar_url":"https://avatars.githubusercontent.com/u/12549192?v=3","gravatar_id":"","url":"https://api.github.com/users/USGS-EROS","html_url":"https://github.com/USGS-EROS","followers_url":"https://api.github.com/users/USGS-EROS/followers","following_url":"https://api.github.com/users/USGS-EROS/following{/other_user}","gists_url":"https://api.github.com/users/USGS-EROS/gists{/gist_id}","starred_url":"https://api.github.com/users/USGS-EROS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/USGS-EROS/subscriptions","organizations_url":"https://api.github.com/users/USGS-EROS/orgs","repos_url":"https://api.github.com/users/USGS-EROS/repos","events_url":"https://api.github.com/users/USGS-EROS/events{/privacy}","received_events_url":"https://api.github.com/users/USGS-EROS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/USGS-EROS/espa-cloud-masking","description":"ESPA modules for cloud masking","fork":false,"url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking","forks_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/forks","keys_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/keys{/key_id}","collaborators_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/teams","hooks_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/hooks","issue_events_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/issues/events{/number}","events_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/events","assignees_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/assignees{/user}","branches_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/branches{/branch}","tags_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/tags","blobs_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/git/refs{/sha}","trees_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/git/trees{/sha}","statuses_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/statuses/{sha}","languages_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/languages","stargazers_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/stargazers","contributors_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/contributors","subscribers_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/subscribers","subscription_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/subscription","commits_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/commits{/sha}","git_commits_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/git/commits{/sha}","comments_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/comments{/number}","issue_comment_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/issues/comments{/number}","contents_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/contents/{+path}","compare_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/compare/{base}...{head}","merges_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/merges","archive_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/downloads","issues_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/issues{/number}","pulls_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/pulls{/number}","milestones_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/milestones{/number}","notifications_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/labels{/name}","releases_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/releases{/id}","deployments_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/deployments","created_at":"2015-05-29T19:09:53Z","updated_at":"2016-01-28T21:05:37Z","pushed_at":"2016-01-28T21:01:44Z","git_url":"git://github.com/USGS-EROS/espa-cloud-masking.git","ssh_url":"git@github.com:USGS-EROS/espa-cloud-masking.git","clone_url":"https://github.com/USGS-EROS/espa-cloud-masking.git","svn_url":"https://github.com/USGS-EROS/espa-cloud-masking","homepage":null,"size":596,"stargazers_count":13,"watchers_count":13,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":13,"forks":7,"open_issues":13,"watchers":13,"default_branch":"master"}},"base":{"label":"USGS-EROS:master","ref":"master","sha":"f435b5fa146b1f10e9d97eac4b514928695a052d","user":{"login":"USGS-EROS","id":12549192,"avatar_url":"https://avatars.githubusercontent.com/u/12549192?v=3","gravatar_id":"","url":"https://api.github.com/users/USGS-EROS","html_url":"https://github.com/USGS-EROS","followers_url":"https://api.github.com/users/USGS-EROS/followers","following_url":"https://api.github.com/users/USGS-EROS/following{/other_user}","gists_url":"https://api.github.com/users/USGS-EROS/gists{/gist_id}","starred_url":"https://api.github.com/users/USGS-EROS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/USGS-EROS/subscriptions","organizations_url":"https://api.github.com/users/USGS-EROS/orgs","repos_url":"https://api.github.com/users/USGS-EROS/repos","events_url":"https://api.github.com/users/USGS-EROS/events{/privacy}","received_events_url":"https://api.github.com/users/USGS-EROS/received_events","type":"Organization","site_admin":false},"repo":{"id":36523887,"name":"espa-cloud-masking","full_name":"USGS-EROS/espa-cloud-masking","owner":{"login":"USGS-EROS","id":12549192,"avatar_url":"https://avatars.githubusercontent.com/u/12549192?v=3","gravatar_id":"","url":"https://api.github.com/users/USGS-EROS","html_url":"https://github.com/USGS-EROS","followers_url":"https://api.github.com/users/USGS-EROS/followers","following_url":"https://api.github.com/users/USGS-EROS/following{/other_user}","gists_url":"https://api.github.com/users/USGS-EROS/gists{/gist_id}","starred_url":"https://api.github.com/users/USGS-EROS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/USGS-EROS/subscriptions","organizations_url":"https://api.github.com/users/USGS-EROS/orgs","repos_url":"https://api.github.com/users/USGS-EROS/repos","events_url":"https://api.github.com/users/USGS-EROS/events{/privacy}","received_events_url":"https://api.github.com/users/USGS-EROS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/USGS-EROS/espa-cloud-masking","description":"ESPA modules for cloud masking","fork":false,"url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking","forks_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/forks","keys_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/keys{/key_id}","collaborators_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/teams","hooks_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/hooks","issue_events_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/issues/events{/number}","events_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/events","assignees_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/assignees{/user}","branches_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/branches{/branch}","tags_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/tags","blobs_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/git/refs{/sha}","trees_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/git/trees{/sha}","statuses_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/statuses/{sha}","languages_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/languages","stargazers_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/stargazers","contributors_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/contributors","subscribers_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/subscribers","subscription_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/subscription","commits_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/commits{/sha}","git_commits_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/git/commits{/sha}","comments_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/comments{/number}","issue_comment_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/issues/comments{/number}","contents_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/contents/{+path}","compare_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/compare/{base}...{head}","merges_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/merges","archive_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/downloads","issues_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/issues{/number}","pulls_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/pulls{/number}","milestones_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/milestones{/number}","notifications_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/labels{/name}","releases_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/releases{/id}","deployments_url":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/deployments","created_at":"2015-05-29T19:09:53Z","updated_at":"2016-01-28T21:05:37Z","pushed_at":"2016-01-28T21:01:44Z","git_url":"git://github.com/USGS-EROS/espa-cloud-masking.git","ssh_url":"git@github.com:USGS-EROS/espa-cloud-masking.git","clone_url":"https://github.com/USGS-EROS/espa-cloud-masking.git","svn_url":"https://github.com/USGS-EROS/espa-cloud-masking","homepage":null,"size":596,"stargazers_count":13,"watchers_count":13,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":13,"forks":7,"open_issues":13,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/pulls/45"},"html":{"href":"https://github.com/USGS-EROS/espa-cloud-masking/pull/45"},"issue":{"href":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/issues/45"},"comments":{"href":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/issues/45/comments"},"review_comments":{"href":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/pulls/45/comments"},"review_comment":{"href":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/pulls/45/commits"},"statuses":{"href":"https://api.github.com/repos/USGS-EROS/espa-cloud-masking/statuses/6b6ca0fd3c8839be09b71635eb2d24c13dee08ef"}}}}