{"action":"created","comment":{"url":"https://api.github.com/repos/UW-Hydro/VIC/pulls/comments/56858749","id":56858749,"diff_hunk":"@@ -0,0 +1,454 @@\n+/******************************************************************************\n+ * @section DESCRIPTION\n+ *\n+ * This routine displays the current settings of options defined in the header\n+ * files and the global parameter file.\n+ *\n+ * @section LICENSE\n+ *\n+ * The Variable Infiltration Capacity (VIC) macroscale hydrological model\n+ * Copyright (C) 2014 The Land Surface Hydrology Group, Department of Civil\n+ * and Environmental Engineering, University of Washington.\n+ *\n+ * The VIC model is free software; you can redistribute it and/or\n+ * modify it under the terms of the GNU General Public License\n+ * as published by the Free Software Foundation; either version 2\n+ * of the License, or (at your option) any later version.\n+ *\n+ * This program is distributed in the hope that it will be useful,\n+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\n+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n+ * GNU General Public License for more details.\n+ *\n+ * You should have received a copy of the GNU General Public License along with\n+ * this program; if not, write to the Free Software Foundation, Inc.,\n+ * 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.\n+ *****************************************************************************/\n+\n+#include <vic_driver_cesm.h>\n+\n+/******************************************************************************\n+ * @brief    Display the current settings of options defined in the header\n+ *           files and the global parameter file.\n+ *****************************************************************************/\n+void\n+display_current_settings(int mode)\n+{","path":"vic/drivers/cesm/src/display_current_settings.c","position":36,"original_position":36,"commit_id":"00c1cc7e33645dd8a7b1fabfe3a9f7f086e26ee2","original_commit_id":"00c1cc7e33645dd8a7b1fabfe3a9f7f086e26ee2","user":{"login":"tbohn","id":3496314,"avatar_url":"https://avatars.githubusercontent.com/u/3496314?v=3","gravatar_id":"","url":"https://api.github.com/users/tbohn","html_url":"https://github.com/tbohn","followers_url":"https://api.github.com/users/tbohn/followers","following_url":"https://api.github.com/users/tbohn/following{/other_user}","gists_url":"https://api.github.com/users/tbohn/gists{/gist_id}","starred_url":"https://api.github.com/users/tbohn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbohn/subscriptions","organizations_url":"https://api.github.com/users/tbohn/orgs","repos_url":"https://api.github.com/users/tbohn/repos","events_url":"https://api.github.com/users/tbohn/events{/privacy}","received_events_url":"https://api.github.com/users/tbohn/received_events","type":"User","site_admin":false},"body":"Again, some duplication of code here.  But I guess there's already an issue open about breaking up the code in this function into more atomic pieces and making most of them shared among drivers.","created_at":"2016-03-21T17:04:44Z","updated_at":"2016-03-21T17:04:44Z","html_url":"https://github.com/UW-Hydro/VIC/pull/397#discussion_r56858749","pull_request_url":"https://api.github.com/repos/UW-Hydro/VIC/pulls/397","_links":{"self":{"href":"https://api.github.com/repos/UW-Hydro/VIC/pulls/comments/56858749"},"html":{"href":"https://github.com/UW-Hydro/VIC/pull/397#discussion_r56858749"},"pull_request":{"href":"https://api.github.com/repos/UW-Hydro/VIC/pulls/397"}}},"pull_request":{"url":"https://api.github.com/repos/UW-Hydro/VIC/pulls/397","id":62320242,"html_url":"https://github.com/UW-Hydro/VIC/pull/397","diff_url":"https://github.com/UW-Hydro/VIC/pull/397.diff","patch_url":"https://github.com/UW-Hydro/VIC/pull/397.patch","issue_url":"https://api.github.com/repos/UW-Hydro/VIC/issues/397","number":397,"state":"open","locked":false,"title":"Initial commit of CESM driver using mct coupling","user":{"login":"jhamman","id":2443309,"avatar_url":"https://avatars.githubusercontent.com/u/2443309?v=3","gravatar_id":"","url":"https://api.github.com/users/jhamman","html_url":"https://github.com/jhamman","followers_url":"https://api.github.com/users/jhamman/followers","following_url":"https://api.github.com/users/jhamman/following{/other_user}","gists_url":"https://api.github.com/users/jhamman/gists{/gist_id}","starred_url":"https://api.github.com/users/jhamman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhamman/subscriptions","organizations_url":"https://api.github.com/users/jhamman/orgs","repos_url":"https://api.github.com/users/jhamman/repos","events_url":"https://api.github.com/users/jhamman/events{/privacy}","received_events_url":"https://api.github.com/users/jhamman/received_events","type":"User","site_admin":false},"body":"This PR is a clean version of #265.  The commit history on the original branch has been squashed here. There will be follow up commits in the coming weeks but this has progressed to the point to be merged into the `develop` branch.\r\n\r\ncloses #196\r\ncloses #265\r\n\r\nAs for code review:\r\n- [x] @apcraig - Can you take one more look at the Fortran code here.\r\n- [ ] @tbohn - Since you'll be using this as a starting point for the development of other drivers, I think it would be good for you to give this the closest look. You can ignore anything in the `bld` and `esmf` directories.\r\n- [x] @dgergel - Since you'll be using this more than anyone, maybe take a look through and see if anything pops out at you.  Maybe focus mainly on the documentation but you're welcome to make comments on the code itself. \r\n- [ ] @bartnijssen - you get the final say!","created_at":"2016-03-10T00:25:21Z","updated_at":"2016-03-21T17:04:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"693f36b2e5b576d9f1ebcfb938e4b4966e9d074d","assignee":{"login":"jhamman","id":2443309,"avatar_url":"https://avatars.githubusercontent.com/u/2443309?v=3","gravatar_id":"","url":"https://api.github.com/users/jhamman","html_url":"https://github.com/jhamman","followers_url":"https://api.github.com/users/jhamman/followers","following_url":"https://api.github.com/users/jhamman/following{/other_user}","gists_url":"https://api.github.com/users/jhamman/gists{/gist_id}","starred_url":"https://api.github.com/users/jhamman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhamman/subscriptions","organizations_url":"https://api.github.com/users/jhamman/orgs","repos_url":"https://api.github.com/users/jhamman/repos","events_url":"https://api.github.com/users/jhamman/events{/privacy}","received_events_url":"https://api.github.com/users/jhamman/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/UW-Hydro/VIC/milestones/2","html_url":"https://github.com/UW-Hydro/VIC/milestones/5.0","labels_url":"https://api.github.com/repos/UW-Hydro/VIC/milestones/2/labels","id":391482,"number":2,"title":"5.0","description":"VIC code reorganization, image mode driver with MPI.  No science changes from VIC.4.2 ","creator":{"login":"jhamman","id":2443309,"avatar_url":"https://avatars.githubusercontent.com/u/2443309?v=3","gravatar_id":"","url":"https://api.github.com/users/jhamman","html_url":"https://github.com/jhamman","followers_url":"https://api.github.com/users/jhamman/followers","following_url":"https://api.github.com/users/jhamman/following{/other_user}","gists_url":"https://api.github.com/users/jhamman/gists{/gist_id}","starred_url":"https://api.github.com/users/jhamman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhamman/subscriptions","organizations_url":"https://api.github.com/users/jhamman/orgs","repos_url":"https://api.github.com/users/jhamman/repos","events_url":"https://api.github.com/users/jhamman/events{/privacy}","received_events_url":"https://api.github.com/users/jhamman/received_events","type":"User","site_admin":false},"open_issues":25,"closed_issues":91,"state":"open","created_at":"2013-07-31T19:03:06Z","updated_at":"2016-03-20T17:44:32Z","due_on":"2015-12-11T08:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/UW-Hydro/VIC/pulls/397/commits","review_comments_url":"https://api.github.com/repos/UW-Hydro/VIC/pulls/397/comments","review_comment_url":"https://api.github.com/repos/UW-Hydro/VIC/pulls/comments{/number}","comments_url":"https://api.github.com/repos/UW-Hydro/VIC/issues/397/comments","statuses_url":"https://api.github.com/repos/UW-Hydro/VIC/statuses/00c1cc7e33645dd8a7b1fabfe3a9f7f086e26ee2","head":{"label":"jhamman:driver/cesm_squash","ref":"driver/cesm_squash","sha":"00c1cc7e33645dd8a7b1fabfe3a9f7f086e26ee2","user":{"login":"jhamman","id":2443309,"avatar_url":"https://avatars.githubusercontent.com/u/2443309?v=3","gravatar_id":"","url":"https://api.github.com/users/jhamman","html_url":"https://github.com/jhamman","followers_url":"https://api.github.com/users/jhamman/followers","following_url":"https://api.github.com/users/jhamman/following{/other_user}","gists_url":"https://api.github.com/users/jhamman/gists{/gist_id}","starred_url":"https://api.github.com/users/jhamman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhamman/subscriptions","organizations_url":"https://api.github.com/users/jhamman/orgs","repos_url":"https://api.github.com/users/jhamman/repos","events_url":"https://api.github.com/users/jhamman/events{/privacy}","received_events_url":"https://api.github.com/users/jhamman/received_events","type":"User","site_admin":false},"repo":{"id":8168561,"name":"VIC","full_name":"jhamman/VIC","owner":{"login":"jhamman","id":2443309,"avatar_url":"https://avatars.githubusercontent.com/u/2443309?v=3","gravatar_id":"","url":"https://api.github.com/users/jhamman","html_url":"https://github.com/jhamman","followers_url":"https://api.github.com/users/jhamman/followers","following_url":"https://api.github.com/users/jhamman/following{/other_user}","gists_url":"https://api.github.com/users/jhamman/gists{/gist_id}","starred_url":"https://api.github.com/users/jhamman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhamman/subscriptions","organizations_url":"https://api.github.com/users/jhamman/orgs","repos_url":"https://api.github.com/users/jhamman/repos","events_url":"https://api.github.com/users/jhamman/events{/privacy}","received_events_url":"https://api.github.com/users/jhamman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jhamman/VIC","description":"The Variable Infiltration Capacity (VIC) Macroscale Hydrologic Model","fork":true,"url":"https://api.github.com/repos/jhamman/VIC","forks_url":"https://api.github.com/repos/jhamman/VIC/forks","keys_url":"https://api.github.com/repos/jhamman/VIC/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jhamman/VIC/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jhamman/VIC/teams","hooks_url":"https://api.github.com/repos/jhamman/VIC/hooks","issue_events_url":"https://api.github.com/repos/jhamman/VIC/issues/events{/number}","events_url":"https://api.github.com/repos/jhamman/VIC/events","assignees_url":"https://api.github.com/repos/jhamman/VIC/assignees{/user}","branches_url":"https://api.github.com/repos/jhamman/VIC/branches{/branch}","tags_url":"https://api.github.com/repos/jhamman/VIC/tags","blobs_url":"https://api.github.com/repos/jhamman/VIC/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jhamman/VIC/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jhamman/VIC/git/refs{/sha}","trees_url":"https://api.github.com/repos/jhamman/VIC/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jhamman/VIC/statuses/{sha}","languages_url":"https://api.github.com/repos/jhamman/VIC/languages","stargazers_url":"https://api.github.com/repos/jhamman/VIC/stargazers","contributors_url":"https://api.github.com/repos/jhamman/VIC/contributors","subscribers_url":"https://api.github.com/repos/jhamman/VIC/subscribers","subscription_url":"https://api.github.com/repos/jhamman/VIC/subscription","commits_url":"https://api.github.com/repos/jhamman/VIC/commits{/sha}","git_commits_url":"https://api.github.com/repos/jhamman/VIC/git/commits{/sha}","comments_url":"https://api.github.com/repos/jhamman/VIC/comments{/number}","issue_comment_url":"https://api.github.com/repos/jhamman/VIC/issues/comments{/number}","contents_url":"https://api.github.com/repos/jhamman/VIC/contents/{+path}","compare_url":"https://api.github.com/repos/jhamman/VIC/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jhamman/VIC/merges","archive_url":"https://api.github.com/repos/jhamman/VIC/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jhamman/VIC/downloads","issues_url":"https://api.github.com/repos/jhamman/VIC/issues{/number}","pulls_url":"https://api.github.com/repos/jhamman/VIC/pulls{/number}","milestones_url":"https://api.github.com/repos/jhamman/VIC/milestones{/number}","notifications_url":"https://api.github.com/repos/jhamman/VIC/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jhamman/VIC/labels{/name}","releases_url":"https://api.github.com/repos/jhamman/VIC/releases{/id}","deployments_url":"https://api.github.com/repos/jhamman/VIC/deployments","created_at":"2013-02-12T22:13:59Z","updated_at":"2015-05-23T15:49:22Z","pushed_at":"2016-03-21T15:10:15Z","git_url":"git://github.com/jhamman/VIC.git","ssh_url":"git@github.com:jhamman/VIC.git","clone_url":"https://github.com/jhamman/VIC.git","svn_url":"https://github.com/jhamman/VIC","homepage":null,"size":14135,"stargazers_count":1,"watchers_count":1,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":1,"default_branch":"develop"}},"base":{"label":"UW-Hydro:develop","ref":"develop","sha":"118463ccaa005dc3197a1ad4c98cf41d2e0f60e0","user":{"login":"UW-Hydro","id":3475662,"avatar_url":"https://avatars.githubusercontent.com/u/3475662?v=3","gravatar_id":"","url":"https://api.github.com/users/UW-Hydro","html_url":"https://github.com/UW-Hydro","followers_url":"https://api.github.com/users/UW-Hydro/followers","following_url":"https://api.github.com/users/UW-Hydro/following{/other_user}","gists_url":"https://api.github.com/users/UW-Hydro/gists{/gist_id}","starred_url":"https://api.github.com/users/UW-Hydro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UW-Hydro/subscriptions","organizations_url":"https://api.github.com/users/UW-Hydro/orgs","repos_url":"https://api.github.com/users/UW-Hydro/repos","events_url":"https://api.github.com/users/UW-Hydro/events{/privacy}","received_events_url":"https://api.github.com/users/UW-Hydro/received_events","type":"Organization","site_admin":false},"repo":{"id":8064928,"name":"VIC","full_name":"UW-Hydro/VIC","owner":{"login":"UW-Hydro","id":3475662,"avatar_url":"https://avatars.githubusercontent.com/u/3475662?v=3","gravatar_id":"","url":"https://api.github.com/users/UW-Hydro","html_url":"https://github.com/UW-Hydro","followers_url":"https://api.github.com/users/UW-Hydro/followers","following_url":"https://api.github.com/users/UW-Hydro/following{/other_user}","gists_url":"https://api.github.com/users/UW-Hydro/gists{/gist_id}","starred_url":"https://api.github.com/users/UW-Hydro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UW-Hydro/subscriptions","organizations_url":"https://api.github.com/users/UW-Hydro/orgs","repos_url":"https://api.github.com/users/UW-Hydro/repos","events_url":"https://api.github.com/users/UW-Hydro/events{/privacy}","received_events_url":"https://api.github.com/users/UW-Hydro/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/UW-Hydro/VIC","description":"The Variable Infiltration Capacity (VIC) Macroscale Hydrologic Model","fork":false,"url":"https://api.github.com/repos/UW-Hydro/VIC","forks_url":"https://api.github.com/repos/UW-Hydro/VIC/forks","keys_url":"https://api.github.com/repos/UW-Hydro/VIC/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UW-Hydro/VIC/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UW-Hydro/VIC/teams","hooks_url":"https://api.github.com/repos/UW-Hydro/VIC/hooks","issue_events_url":"https://api.github.com/repos/UW-Hydro/VIC/issues/events{/number}","events_url":"https://api.github.com/repos/UW-Hydro/VIC/events","assignees_url":"https://api.github.com/repos/UW-Hydro/VIC/assignees{/user}","branches_url":"https://api.github.com/repos/UW-Hydro/VIC/branches{/branch}","tags_url":"https://api.github.com/repos/UW-Hydro/VIC/tags","blobs_url":"https://api.github.com/repos/UW-Hydro/VIC/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UW-Hydro/VIC/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UW-Hydro/VIC/git/refs{/sha}","trees_url":"https://api.github.com/repos/UW-Hydro/VIC/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UW-Hydro/VIC/statuses/{sha}","languages_url":"https://api.github.com/repos/UW-Hydro/VIC/languages","stargazers_url":"https://api.github.com/repos/UW-Hydro/VIC/stargazers","contributors_url":"https://api.github.com/repos/UW-Hydro/VIC/contributors","subscribers_url":"https://api.github.com/repos/UW-Hydro/VIC/subscribers","subscription_url":"https://api.github.com/repos/UW-Hydro/VIC/subscription","commits_url":"https://api.github.com/repos/UW-Hydro/VIC/commits{/sha}","git_commits_url":"https://api.github.com/repos/UW-Hydro/VIC/git/commits{/sha}","comments_url":"https://api.github.com/repos/UW-Hydro/VIC/comments{/number}","issue_comment_url":"https://api.github.com/repos/UW-Hydro/VIC/issues/comments{/number}","contents_url":"https://api.github.com/repos/UW-Hydro/VIC/contents/{+path}","compare_url":"https://api.github.com/repos/UW-Hydro/VIC/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UW-Hydro/VIC/merges","archive_url":"https://api.github.com/repos/UW-Hydro/VIC/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UW-Hydro/VIC/downloads","issues_url":"https://api.github.com/repos/UW-Hydro/VIC/issues{/number}","pulls_url":"https://api.github.com/repos/UW-Hydro/VIC/pulls{/number}","milestones_url":"https://api.github.com/repos/UW-Hydro/VIC/milestones{/number}","notifications_url":"https://api.github.com/repos/UW-Hydro/VIC/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UW-Hydro/VIC/labels{/name}","releases_url":"https://api.github.com/repos/UW-Hydro/VIC/releases{/id}","deployments_url":"https://api.github.com/repos/UW-Hydro/VIC/deployments","created_at":"2013-02-07T02:30:14Z","updated_at":"2016-03-14T16:15:23Z","pushed_at":"2016-03-21T14:55:26Z","git_url":"git://github.com/UW-Hydro/VIC.git","ssh_url":"git@github.com:UW-Hydro/VIC.git","clone_url":"https://github.com/UW-Hydro/VIC.git","svn_url":"https://github.com/UW-Hydro/VIC","homepage":"http://vic.readthedocs.org","size":20898,"stargazers_count":30,"watchers_count":30,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":108,"mirror_url":null,"open_issues_count":53,"forks":108,"open_issues":53,"watchers":30,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/UW-Hydro/VIC/pulls/397"},"html":{"href":"https://github.com/UW-Hydro/VIC/pull/397"},"issue":{"href":"https://api.github.com/repos/UW-Hydro/VIC/issues/397"},"comments":{"href":"https://api.github.com/repos/UW-Hydro/VIC/issues/397/comments"},"review_comments":{"href":"https://api.github.com/repos/UW-Hydro/VIC/pulls/397/comments"},"review_comment":{"href":"https://api.github.com/repos/UW-Hydro/VIC/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/UW-Hydro/VIC/pulls/397/commits"},"statuses":{"href":"https://api.github.com/repos/UW-Hydro/VIC/statuses/00c1cc7e33645dd8a7b1fabfe3a9f7f086e26ee2"}}}}