{"action":"created","comment":{"url":"https://api.github.com/repos/E3SM-Project/a-prime/pulls/comments/185944281","pull_request_review_id":117439984,"id":185944281,"diff_hunk":"@@ -353,35 +343,48 @@ if [ ! -d $www_dir/$plots_dir_name ]; then\n else\n   rm -f $www_dir/$plots_dir_name/*\n fi\n+# Check on MPAS-Analysis www_dir, permissions included\n+# Create it if it does not exist, purge it if it does\n+export mpas_www_link=mpas-analysis # mpas_www_link is used by generate_html to define\n+                                   # the html link to the MPAS-Analysis web interface\n+if [ ! -d $www_dir/$mpas_www_link ]; then\n+  mkdir -p $www_dir/$mpas_www_link\n+  chmod -R ga+rX $www_dir/$mpas_www_link\n+fi\n+export mpas_www_link=$mpas_www_link/$plots_dir_name\n+export mpas_www_dir=$www_dir/$mpas_www_link\n+if [ ! -d $mpas_www_dir ]; then\n+  mkdir -p $mpas_www_dir\n+else\n+  rm -rf $mpas_www_dir/*\n+fi\n \n # LOAD THE MACHINE-SPECIFIC ANACONDA-2.7 ENVIRONMENT\n source $MODULESHOME/init/bash  \n if [ $machname == \"nersc\" ]; then\n   module unload python\n   module unload python_base\n   module use /global/project/projectdirs/acme/software/modulefiles/all\n-  module load python/anaconda-2.7-acme\n-  export NCO_PATH_OVERRIDE=No\n+  module load e3sm-unified/1.1.3\n+  #export NCO_PATH_OVERRIDE=No","path":"run_aprime.bash","position":66,"original_position":66,"commit_id":"df37fef10b16f67ee6a33324962f66eeaccc60fe","original_commit_id":"df37fef10b16f67ee6a33324962f66eeaccc60fe","user":{"login":"milenaveneziani","id":8237579,"avatar_url":"https://avatars1.githubusercontent.com/u/8237579?v=4","gravatar_id":"","url":"https://api.github.com/users/milenaveneziani","html_url":"https://github.com/milenaveneziani","followers_url":"https://api.github.com/users/milenaveneziani/followers","following_url":"https://api.github.com/users/milenaveneziani/following{/other_user}","gists_url":"https://api.github.com/users/milenaveneziani/gists{/gist_id}","starred_url":"https://api.github.com/users/milenaveneziani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milenaveneziani/subscriptions","organizations_url":"https://api.github.com/users/milenaveneziani/orgs","repos_url":"https://api.github.com/users/milenaveneziani/repos","events_url":"https://api.github.com/users/milenaveneziani/events{/privacy}","received_events_url":"https://api.github.com/users/milenaveneziani/received_events","type":"User","site_admin":false},"body":"commenting this out has worked for me on edison, so perhaps it is no longer necessary.","created_at":"2018-05-03T21:40:16Z","updated_at":"2018-05-03T21:40:17Z","html_url":"https://github.com/E3SM-Project/a-prime/pull/35#discussion_r185944281","pull_request_url":"https://api.github.com/repos/E3SM-Project/a-prime/pulls/35","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/E3SM-Project/a-prime/pulls/comments/185944281"},"html":{"href":"https://github.com/E3SM-Project/a-prime/pull/35#discussion_r185944281"},"pull_request":{"href":"https://api.github.com/repos/E3SM-Project/a-prime/pulls/35"}}},"pull_request":{"url":"https://api.github.com/repos/E3SM-Project/a-prime/pulls/35","id":185843832,"html_url":"https://github.com/E3SM-Project/a-prime/pull/35","diff_url":"https://github.com/E3SM-Project/a-prime/pull/35.diff","patch_url":"https://github.com/E3SM-Project/a-prime/pull/35.patch","issue_url":"https://api.github.com/repos/E3SM-Project/a-prime/issues/35","number":35,"state":"open","locked":false,"title":"Add MPAS-Analysis v0.7.5","user":{"login":"milenaveneziani","id":8237579,"avatar_url":"https://avatars1.githubusercontent.com/u/8237579?v=4","gravatar_id":"","url":"https://api.github.com/users/milenaveneziani","html_url":"https://github.com/milenaveneziani","followers_url":"https://api.github.com/users/milenaveneziani/followers","following_url":"https://api.github.com/users/milenaveneziani/following{/other_user}","gists_url":"https://api.github.com/users/milenaveneziani/gists{/gist_id}","starred_url":"https://api.github.com/users/milenaveneziani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milenaveneziani/subscriptions","organizations_url":"https://api.github.com/users/milenaveneziani/orgs","repos_url":"https://api.github.com/users/milenaveneziani/repos","events_url":"https://api.github.com/users/milenaveneziani/events{/privacy}","received_events_url":"https://api.github.com/users/milenaveneziani/received_events","type":"User","site_admin":false},"body":"This pull request does the following:\r\n- updates the MPAS-Analysis submodule to pull in version 0.7.5\r\n- enables the plotting of subsurface temperature and salinity slices from the model and from Argo-derived observations \r\n- adds a link to the a-prime web interface that points to the MPAS-Analysis web interface, for ease of visualizing the ocean and sea-ice plots\r\n- deals with the change in the mpas-cice name\r\n- updates the conda environments to e3sm-unified on the supported machines\r\n- solves #32, #27 ","created_at":"2018-05-03T21:32:05Z","updated_at":"2018-05-03T21:40:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"50771219c6a25d4f18eee186f24674015ee0ac6a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":628320806,"url":"https://api.github.com/repos/E3SM-Project/a-prime/labels/Do%20not%20merge%20(yet)","name":"Do not merge (yet)","color":"b60205","default":false},{"id":617166443,"url":"https://api.github.com/repos/E3SM-Project/a-prime/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/E3SM-Project/a-prime/pulls/35/commits","review_comments_url":"https://api.github.com/repos/E3SM-Project/a-prime/pulls/35/comments","review_comment_url":"https://api.github.com/repos/E3SM-Project/a-prime/pulls/comments{/number}","comments_url":"https://api.github.com/repos/E3SM-Project/a-prime/issues/35/comments","statuses_url":"https://api.github.com/repos/E3SM-Project/a-prime/statuses/df37fef10b16f67ee6a33324962f66eeaccc60fe","head":{"label":"E3SM-Project:add_mpasAnalysis_v0.7.5","ref":"add_mpasAnalysis_v0.7.5","sha":"df37fef10b16f67ee6a33324962f66eeaccc60fe","user":{"login":"E3SM-Project","id":7558558,"avatar_url":"https://avatars3.githubusercontent.com/u/7558558?v=4","gravatar_id":"","url":"https://api.github.com/users/E3SM-Project","html_url":"https://github.com/E3SM-Project","followers_url":"https://api.github.com/users/E3SM-Project/followers","following_url":"https://api.github.com/users/E3SM-Project/following{/other_user}","gists_url":"https://api.github.com/users/E3SM-Project/gists{/gist_id}","starred_url":"https://api.github.com/users/E3SM-Project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/E3SM-Project/subscriptions","organizations_url":"https://api.github.com/users/E3SM-Project/orgs","repos_url":"https://api.github.com/users/E3SM-Project/repos","events_url":"https://api.github.com/users/E3SM-Project/events{/privacy}","received_events_url":"https://api.github.com/users/E3SM-Project/received_events","type":"Organization","site_admin":false},"repo":{"id":92997342,"name":"a-prime","full_name":"E3SM-Project/a-prime","owner":{"login":"E3SM-Project","id":7558558,"avatar_url":"https://avatars3.githubusercontent.com/u/7558558?v=4","gravatar_id":"","url":"https://api.github.com/users/E3SM-Project","html_url":"https://github.com/E3SM-Project","followers_url":"https://api.github.com/users/E3SM-Project/followers","following_url":"https://api.github.com/users/E3SM-Project/following{/other_user}","gists_url":"https://api.github.com/users/E3SM-Project/gists{/gist_id}","starred_url":"https://api.github.com/users/E3SM-Project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/E3SM-Project/subscriptions","organizations_url":"https://api.github.com/users/E3SM-Project/orgs","repos_url":"https://api.github.com/users/E3SM-Project/repos","events_url":"https://api.github.com/users/E3SM-Project/events{/privacy}","received_events_url":"https://api.github.com/users/E3SM-Project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/E3SM-Project/a-prime","description":"ACME Priority Metrics","fork":false,"url":"https://api.github.com/repos/E3SM-Project/a-prime","forks_url":"https://api.github.com/repos/E3SM-Project/a-prime/forks","keys_url":"https://api.github.com/repos/E3SM-Project/a-prime/keys{/key_id}","collaborators_url":"https://api.github.com/repos/E3SM-Project/a-prime/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/E3SM-Project/a-prime/teams","hooks_url":"https://api.github.com/repos/E3SM-Project/a-prime/hooks","issue_events_url":"https://api.github.com/repos/E3SM-Project/a-prime/issues/events{/number}","events_url":"https://api.github.com/repos/E3SM-Project/a-prime/events","assignees_url":"https://api.github.com/repos/E3SM-Project/a-prime/assignees{/user}","branches_url":"https://api.github.com/repos/E3SM-Project/a-prime/branches{/branch}","tags_url":"https://api.github.com/repos/E3SM-Project/a-prime/tags","blobs_url":"https://api.github.com/repos/E3SM-Project/a-prime/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/E3SM-Project/a-prime/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/E3SM-Project/a-prime/git/refs{/sha}","trees_url":"https://api.github.com/repos/E3SM-Project/a-prime/git/trees{/sha}","statuses_url":"https://api.github.com/repos/E3SM-Project/a-prime/statuses/{sha}","languages_url":"https://api.github.com/repos/E3SM-Project/a-prime/languages","stargazers_url":"https://api.github.com/repos/E3SM-Project/a-prime/stargazers","contributors_url":"https://api.github.com/repos/E3SM-Project/a-prime/contributors","subscribers_url":"https://api.github.com/repos/E3SM-Project/a-prime/subscribers","subscription_url":"https://api.github.com/repos/E3SM-Project/a-prime/subscription","commits_url":"https://api.github.com/repos/E3SM-Project/a-prime/commits{/sha}","git_commits_url":"https://api.github.com/repos/E3SM-Project/a-prime/git/commits{/sha}","comments_url":"https://api.github.com/repos/E3SM-Project/a-prime/comments{/number}","issue_comment_url":"https://api.github.com/repos/E3SM-Project/a-prime/issues/comments{/number}","contents_url":"https://api.github.com/repos/E3SM-Project/a-prime/contents/{+path}","compare_url":"https://api.github.com/repos/E3SM-Project/a-prime/compare/{base}...{head}","merges_url":"https://api.github.com/repos/E3SM-Project/a-prime/merges","archive_url":"https://api.github.com/repos/E3SM-Project/a-prime/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/E3SM-Project/a-prime/downloads","issues_url":"https://api.github.com/repos/E3SM-Project/a-prime/issues{/number}","pulls_url":"https://api.github.com/repos/E3SM-Project/a-prime/pulls{/number}","milestones_url":"https://api.github.com/repos/E3SM-Project/a-prime/milestones{/number}","notifications_url":"https://api.github.com/repos/E3SM-Project/a-prime/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/E3SM-Project/a-prime/labels{/name}","releases_url":"https://api.github.com/repos/E3SM-Project/a-prime/releases{/id}","deployments_url":"https://api.github.com/repos/E3SM-Project/a-prime/deployments","created_at":"2017-05-31T23:28:20Z","updated_at":"2018-03-04T01:01:49Z","pushed_at":"2018-05-03T21:32:07Z","git_url":"git://github.com/E3SM-Project/a-prime.git","ssh_url":"git@github.com:E3SM-Project/a-prime.git","clone_url":"https://github.com/E3SM-Project/a-prime.git","svn_url":"https://github.com/E3SM-Project/a-prime","homepage":null,"size":690,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":14,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause"},"forks":0,"open_issues":14,"watchers":1,"default_branch":"master"}},"base":{"label":"E3SM-Project:master","ref":"master","sha":"2bef0597c3ab9a6d28f6a041fe6ba5aa8faba4fc","user":{"login":"E3SM-Project","id":7558558,"avatar_url":"https://avatars3.githubusercontent.com/u/7558558?v=4","gravatar_id":"","url":"https://api.github.com/users/E3SM-Project","html_url":"https://github.com/E3SM-Project","followers_url":"https://api.github.com/users/E3SM-Project/followers","following_url":"https://api.github.com/users/E3SM-Project/following{/other_user}","gists_url":"https://api.github.com/users/E3SM-Project/gists{/gist_id}","starred_url":"https://api.github.com/users/E3SM-Project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/E3SM-Project/subscriptions","organizations_url":"https://api.github.com/users/E3SM-Project/orgs","repos_url":"https://api.github.com/users/E3SM-Project/repos","events_url":"https://api.github.com/users/E3SM-Project/events{/privacy}","received_events_url":"https://api.github.com/users/E3SM-Project/received_events","type":"Organization","site_admin":false},"repo":{"id":92997342,"name":"a-prime","full_name":"E3SM-Project/a-prime","owner":{"login":"E3SM-Project","id":7558558,"avatar_url":"https://avatars3.githubusercontent.com/u/7558558?v=4","gravatar_id":"","url":"https://api.github.com/users/E3SM-Project","html_url":"https://github.com/E3SM-Project","followers_url":"https://api.github.com/users/E3SM-Project/followers","following_url":"https://api.github.com/users/E3SM-Project/following{/other_user}","gists_url":"https://api.github.com/users/E3SM-Project/gists{/gist_id}","starred_url":"https://api.github.com/users/E3SM-Project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/E3SM-Project/subscriptions","organizations_url":"https://api.github.com/users/E3SM-Project/orgs","repos_url":"https://api.github.com/users/E3SM-Project/repos","events_url":"https://api.github.com/users/E3SM-Project/events{/privacy}","received_events_url":"https://api.github.com/users/E3SM-Project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/E3SM-Project/a-prime","description":"ACME Priority Metrics","fork":false,"url":"https://api.github.com/repos/E3SM-Project/a-prime","forks_url":"https://api.github.com/repos/E3SM-Project/a-prime/forks","keys_url":"https://api.github.com/repos/E3SM-Project/a-prime/keys{/key_id}","collaborators_url":"https://api.github.com/repos/E3SM-Project/a-prime/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/E3SM-Project/a-prime/teams","hooks_url":"https://api.github.com/repos/E3SM-Project/a-prime/hooks","issue_events_url":"https://api.github.com/repos/E3SM-Project/a-prime/issues/events{/number}","events_url":"https://api.github.com/repos/E3SM-Project/a-prime/events","assignees_url":"https://api.github.com/repos/E3SM-Project/a-prime/assignees{/user}","branches_url":"https://api.github.com/repos/E3SM-Project/a-prime/branches{/branch}","tags_url":"https://api.github.com/repos/E3SM-Project/a-prime/tags","blobs_url":"https://api.github.com/repos/E3SM-Project/a-prime/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/E3SM-Project/a-prime/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/E3SM-Project/a-prime/git/refs{/sha}","trees_url":"https://api.github.com/repos/E3SM-Project/a-prime/git/trees{/sha}","statuses_url":"https://api.github.com/repos/E3SM-Project/a-prime/statuses/{sha}","languages_url":"https://api.github.com/repos/E3SM-Project/a-prime/languages","stargazers_url":"https://api.github.com/repos/E3SM-Project/a-prime/stargazers","contributors_url":"https://api.github.com/repos/E3SM-Project/a-prime/contributors","subscribers_url":"https://api.github.com/repos/E3SM-Project/a-prime/subscribers","subscription_url":"https://api.github.com/repos/E3SM-Project/a-prime/subscription","commits_url":"https://api.github.com/repos/E3SM-Project/a-prime/commits{/sha}","git_commits_url":"https://api.github.com/repos/E3SM-Project/a-prime/git/commits{/sha}","comments_url":"https://api.github.com/repos/E3SM-Project/a-prime/comments{/number}","issue_comment_url":"https://api.github.com/repos/E3SM-Project/a-prime/issues/comments{/number}","contents_url":"https://api.github.com/repos/E3SM-Project/a-prime/contents/{+path}","compare_url":"https://api.github.com/repos/E3SM-Project/a-prime/compare/{base}...{head}","merges_url":"https://api.github.com/repos/E3SM-Project/a-prime/merges","archive_url":"https://api.github.com/repos/E3SM-Project/a-prime/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/E3SM-Project/a-prime/downloads","issues_url":"https://api.github.com/repos/E3SM-Project/a-prime/issues{/number}","pulls_url":"https://api.github.com/repos/E3SM-Project/a-prime/pulls{/number}","milestones_url":"https://api.github.com/repos/E3SM-Project/a-prime/milestones{/number}","notifications_url":"https://api.github.com/repos/E3SM-Project/a-prime/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/E3SM-Project/a-prime/labels{/name}","releases_url":"https://api.github.com/repos/E3SM-Project/a-prime/releases{/id}","deployments_url":"https://api.github.com/repos/E3SM-Project/a-prime/deployments","created_at":"2017-05-31T23:28:20Z","updated_at":"2018-03-04T01:01:49Z","pushed_at":"2018-05-03T21:32:07Z","git_url":"git://github.com/E3SM-Project/a-prime.git","ssh_url":"git@github.com:E3SM-Project/a-prime.git","clone_url":"https://github.com/E3SM-Project/a-prime.git","svn_url":"https://github.com/E3SM-Project/a-prime","homepage":null,"size":690,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":14,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause"},"forks":0,"open_issues":14,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/E3SM-Project/a-prime/pulls/35"},"html":{"href":"https://github.com/E3SM-Project/a-prime/pull/35"},"issue":{"href":"https://api.github.com/repos/E3SM-Project/a-prime/issues/35"},"comments":{"href":"https://api.github.com/repos/E3SM-Project/a-prime/issues/35/comments"},"review_comments":{"href":"https://api.github.com/repos/E3SM-Project/a-prime/pulls/35/comments"},"review_comment":{"href":"https://api.github.com/repos/E3SM-Project/a-prime/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/E3SM-Project/a-prime/pulls/35/commits"},"statuses":{"href":"https://api.github.com/repos/E3SM-Project/a-prime/statuses/df37fef10b16f67ee6a33324962f66eeaccc60fe"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"milenaveneziani"}}