{"action":"created","comment":{"url":"https://api.github.com/repos/aodn/netcdf_filters/pulls/comments/28739429","id":28739429,"diff_hunk":"@@ -0,0 +1,60 @@\n+\n+package au.org.emii.ncdfgenerator;\n+\n+import au.org.emii.ncdfgenerator.cql.ExprParser;\n+import au.org.emii.ncdfgenerator.cql.IExprParser;\n+import au.org.emii.ncdfgenerator.cql.IDialectTranslate;\n+import au.org.emii.ncdfgenerator.cql.PGDialectTranslate;\n+\n+import java.sql.Connection;\n+import java.io.InputStream;\n+import java.io.FileInputStream;\n+import java.io.OutputStream;\n+\n+import org.w3c.dom.Document;\n+import org.w3c.dom.Node;\n+import javax.xml.parsers.DocumentBuilderFactory;\n+\n+\n+public class NcdfGenerator\n+{\n+\tfinal IExprParser parser;\n+\tfinal IDialectTranslate translate;\n+\tfinal ICreateWritable createWritable;\n+\tfinal String layerConfigDir;\n+\n+\tpublic NcdfGenerator( String layerConfigDir, String tmpCreationDir  )","path":"src/main/java/au/org/emii/ncdfgenerator/NcdfGenerator.java","position":26,"original_position":26,"commit_id":"68c7cbfa28a914025df0eb90553fc6e050a05f96","original_commit_id":"4f2862cbd348a2798459bc4699d4b95aa4f8bcdc","user":{"login":"julian1","id":4312379,"avatar_url":"https://avatars.githubusercontent.com/u/4312379?v=3","gravatar_id":"","url":"https://api.github.com/users/julian1","html_url":"https://github.com/julian1","followers_url":"https://api.github.com/users/julian1/followers","following_url":"https://api.github.com/users/julian1/following{/other_user}","gists_url":"https://api.github.com/users/julian1/gists{/gist_id}","starred_url":"https://api.github.com/users/julian1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julian1/subscriptions","organizations_url":"https://api.github.com/users/julian1/orgs","repos_url":"https://api.github.com/users/julian1/repos","events_url":"https://api.github.com/users/julian1/events{/privacy}","received_events_url":"https://api.github.com/users/julian1/received_events","type":"User","site_admin":false},"body":"The path is dependent on the use context of this library. Eg. as a stand-alone library, or when embedded in geoserver, or when running an integration test. The library shouldn't be responsible for manage these details that depend on integration context. It's really waiting for spring configuration, and the ability to source these details from the container.","created_at":"2015-04-20T23:44:11Z","updated_at":"2015-04-20T23:44:11Z","html_url":"https://github.com/aodn/netcdf_filters/pull/6#discussion_r28739429","pull_request_url":"https://api.github.com/repos/aodn/netcdf_filters/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/aodn/netcdf_filters/pulls/comments/28739429"},"html":{"href":"https://github.com/aodn/netcdf_filters/pull/6#discussion_r28739429"},"pull_request":{"href":"https://api.github.com/repos/aodn/netcdf_filters/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/aodn/netcdf_filters/pulls/6","id":33637067,"html_url":"https://github.com/aodn/netcdf_filters/pull/6","diff_url":"https://github.com/aodn/netcdf_filters/pull/6.diff","patch_url":"https://github.com/aodn/netcdf_filters/pull/6.patch","issue_url":"https://api.github.com/repos/aodn/netcdf_filters/issues/6","number":6,"state":"open","locked":false,"title":"zip streaming","user":{"login":"julian1","id":4312379,"avatar_url":"https://avatars.githubusercontent.com/u/4312379?v=3","gravatar_id":"","url":"https://api.github.com/users/julian1","html_url":"https://github.com/julian1","followers_url":"https://api.github.com/users/julian1/followers","following_url":"https://api.github.com/users/julian1/following{/other_user}","gists_url":"https://api.github.com/users/julian1/gists{/gist_id}","starred_url":"https://api.github.com/users/julian1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julian1/subscriptions","organizations_url":"https://api.github.com/users/julian1/orgs","repos_url":"https://api.github.com/users/julian1/repos","events_url":"https://api.github.com/users/julian1/events{/privacy}","received_events_url":"https://api.github.com/users/julian1/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-20T05:47:50Z","updated_at":"2015-04-20T23:44:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8c34058c9ef499f35b7862139ce16f05d6b9cb71","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/aodn/netcdf_filters/pulls/6/commits","review_comments_url":"https://api.github.com/repos/aodn/netcdf_filters/pulls/6/comments","review_comment_url":"https://api.github.com/repos/aodn/netcdf_filters/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aodn/netcdf_filters/issues/6/comments","statuses_url":"https://api.github.com/repos/aodn/netcdf_filters/statuses/68c7cbfa28a914025df0eb90553fc6e050a05f96","head":{"label":"aodn:devel6","ref":"devel6","sha":"68c7cbfa28a914025df0eb90553fc6e050a05f96","user":{"login":"aodn","id":2802166,"avatar_url":"https://avatars.githubusercontent.com/u/2802166?v=3","gravatar_id":"","url":"https://api.github.com/users/aodn","html_url":"https://github.com/aodn","followers_url":"https://api.github.com/users/aodn/followers","following_url":"https://api.github.com/users/aodn/following{/other_user}","gists_url":"https://api.github.com/users/aodn/gists{/gist_id}","starred_url":"https://api.github.com/users/aodn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aodn/subscriptions","organizations_url":"https://api.github.com/users/aodn/orgs","repos_url":"https://api.github.com/users/aodn/repos","events_url":"https://api.github.com/users/aodn/events{/privacy}","received_events_url":"https://api.github.com/users/aodn/received_events","type":"Organization","site_admin":false},"repo":{"id":33917023,"name":"netcdf_filters","full_name":"aodn/netcdf_filters","owner":{"login":"aodn","id":2802166,"avatar_url":"https://avatars.githubusercontent.com/u/2802166?v=3","gravatar_id":"","url":"https://api.github.com/users/aodn","html_url":"https://github.com/aodn","followers_url":"https://api.github.com/users/aodn/followers","following_url":"https://api.github.com/users/aodn/following{/other_user}","gists_url":"https://api.github.com/users/aodn/gists{/gist_id}","starred_url":"https://api.github.com/users/aodn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aodn/subscriptions","organizations_url":"https://api.github.com/users/aodn/orgs","repos_url":"https://api.github.com/users/aodn/repos","events_url":"https://api.github.com/users/aodn/events{/privacy}","received_events_url":"https://api.github.com/users/aodn/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aodn/netcdf_filters","description":"","fork":false,"url":"https://api.github.com/repos/aodn/netcdf_filters","forks_url":"https://api.github.com/repos/aodn/netcdf_filters/forks","keys_url":"https://api.github.com/repos/aodn/netcdf_filters/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aodn/netcdf_filters/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aodn/netcdf_filters/teams","hooks_url":"https://api.github.com/repos/aodn/netcdf_filters/hooks","issue_events_url":"https://api.github.com/repos/aodn/netcdf_filters/issues/events{/number}","events_url":"https://api.github.com/repos/aodn/netcdf_filters/events","assignees_url":"https://api.github.com/repos/aodn/netcdf_filters/assignees{/user}","branches_url":"https://api.github.com/repos/aodn/netcdf_filters/branches{/branch}","tags_url":"https://api.github.com/repos/aodn/netcdf_filters/tags","blobs_url":"https://api.github.com/repos/aodn/netcdf_filters/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aodn/netcdf_filters/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aodn/netcdf_filters/git/refs{/sha}","trees_url":"https://api.github.com/repos/aodn/netcdf_filters/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aodn/netcdf_filters/statuses/{sha}","languages_url":"https://api.github.com/repos/aodn/netcdf_filters/languages","stargazers_url":"https://api.github.com/repos/aodn/netcdf_filters/stargazers","contributors_url":"https://api.github.com/repos/aodn/netcdf_filters/contributors","subscribers_url":"https://api.github.com/repos/aodn/netcdf_filters/subscribers","subscription_url":"https://api.github.com/repos/aodn/netcdf_filters/subscription","commits_url":"https://api.github.com/repos/aodn/netcdf_filters/commits{/sha}","git_commits_url":"https://api.github.com/repos/aodn/netcdf_filters/git/commits{/sha}","comments_url":"https://api.github.com/repos/aodn/netcdf_filters/comments{/number}","issue_comment_url":"https://api.github.com/repos/aodn/netcdf_filters/issues/comments{/number}","contents_url":"https://api.github.com/repos/aodn/netcdf_filters/contents/{+path}","compare_url":"https://api.github.com/repos/aodn/netcdf_filters/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aodn/netcdf_filters/merges","archive_url":"https://api.github.com/repos/aodn/netcdf_filters/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aodn/netcdf_filters/downloads","issues_url":"https://api.github.com/repos/aodn/netcdf_filters/issues{/number}","pulls_url":"https://api.github.com/repos/aodn/netcdf_filters/pulls{/number}","milestones_url":"https://api.github.com/repos/aodn/netcdf_filters/milestones{/number}","notifications_url":"https://api.github.com/repos/aodn/netcdf_filters/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aodn/netcdf_filters/labels{/name}","releases_url":"https://api.github.com/repos/aodn/netcdf_filters/releases{/id}","created_at":"2015-04-14T07:23:52Z","updated_at":"2015-04-20T04:45:56Z","pushed_at":"2015-04-20T23:29:07Z","git_url":"git://github.com/aodn/netcdf_filters.git","ssh_url":"git@github.com:aodn/netcdf_filters.git","clone_url":"https://github.com/aodn/netcdf_filters.git","svn_url":"https://github.com/aodn/netcdf_filters","homepage":null,"size":12012,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"aodn:master","ref":"master","sha":"a5f91d61f78c80bc434a09c62ba4553c34d25873","user":{"login":"aodn","id":2802166,"avatar_url":"https://avatars.githubusercontent.com/u/2802166?v=3","gravatar_id":"","url":"https://api.github.com/users/aodn","html_url":"https://github.com/aodn","followers_url":"https://api.github.com/users/aodn/followers","following_url":"https://api.github.com/users/aodn/following{/other_user}","gists_url":"https://api.github.com/users/aodn/gists{/gist_id}","starred_url":"https://api.github.com/users/aodn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aodn/subscriptions","organizations_url":"https://api.github.com/users/aodn/orgs","repos_url":"https://api.github.com/users/aodn/repos","events_url":"https://api.github.com/users/aodn/events{/privacy}","received_events_url":"https://api.github.com/users/aodn/received_events","type":"Organization","site_admin":false},"repo":{"id":33917023,"name":"netcdf_filters","full_name":"aodn/netcdf_filters","owner":{"login":"aodn","id":2802166,"avatar_url":"https://avatars.githubusercontent.com/u/2802166?v=3","gravatar_id":"","url":"https://api.github.com/users/aodn","html_url":"https://github.com/aodn","followers_url":"https://api.github.com/users/aodn/followers","following_url":"https://api.github.com/users/aodn/following{/other_user}","gists_url":"https://api.github.com/users/aodn/gists{/gist_id}","starred_url":"https://api.github.com/users/aodn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aodn/subscriptions","organizations_url":"https://api.github.com/users/aodn/orgs","repos_url":"https://api.github.com/users/aodn/repos","events_url":"https://api.github.com/users/aodn/events{/privacy}","received_events_url":"https://api.github.com/users/aodn/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aodn/netcdf_filters","description":"","fork":false,"url":"https://api.github.com/repos/aodn/netcdf_filters","forks_url":"https://api.github.com/repos/aodn/netcdf_filters/forks","keys_url":"https://api.github.com/repos/aodn/netcdf_filters/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aodn/netcdf_filters/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aodn/netcdf_filters/teams","hooks_url":"https://api.github.com/repos/aodn/netcdf_filters/hooks","issue_events_url":"https://api.github.com/repos/aodn/netcdf_filters/issues/events{/number}","events_url":"https://api.github.com/repos/aodn/netcdf_filters/events","assignees_url":"https://api.github.com/repos/aodn/netcdf_filters/assignees{/user}","branches_url":"https://api.github.com/repos/aodn/netcdf_filters/branches{/branch}","tags_url":"https://api.github.com/repos/aodn/netcdf_filters/tags","blobs_url":"https://api.github.com/repos/aodn/netcdf_filters/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aodn/netcdf_filters/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aodn/netcdf_filters/git/refs{/sha}","trees_url":"https://api.github.com/repos/aodn/netcdf_filters/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aodn/netcdf_filters/statuses/{sha}","languages_url":"https://api.github.com/repos/aodn/netcdf_filters/languages","stargazers_url":"https://api.github.com/repos/aodn/netcdf_filters/stargazers","contributors_url":"https://api.github.com/repos/aodn/netcdf_filters/contributors","subscribers_url":"https://api.github.com/repos/aodn/netcdf_filters/subscribers","subscription_url":"https://api.github.com/repos/aodn/netcdf_filters/subscription","commits_url":"https://api.github.com/repos/aodn/netcdf_filters/commits{/sha}","git_commits_url":"https://api.github.com/repos/aodn/netcdf_filters/git/commits{/sha}","comments_url":"https://api.github.com/repos/aodn/netcdf_filters/comments{/number}","issue_comment_url":"https://api.github.com/repos/aodn/netcdf_filters/issues/comments{/number}","contents_url":"https://api.github.com/repos/aodn/netcdf_filters/contents/{+path}","compare_url":"https://api.github.com/repos/aodn/netcdf_filters/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aodn/netcdf_filters/merges","archive_url":"https://api.github.com/repos/aodn/netcdf_filters/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aodn/netcdf_filters/downloads","issues_url":"https://api.github.com/repos/aodn/netcdf_filters/issues{/number}","pulls_url":"https://api.github.com/repos/aodn/netcdf_filters/pulls{/number}","milestones_url":"https://api.github.com/repos/aodn/netcdf_filters/milestones{/number}","notifications_url":"https://api.github.com/repos/aodn/netcdf_filters/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aodn/netcdf_filters/labels{/name}","releases_url":"https://api.github.com/repos/aodn/netcdf_filters/releases{/id}","created_at":"2015-04-14T07:23:52Z","updated_at":"2015-04-20T04:45:56Z","pushed_at":"2015-04-20T23:29:07Z","git_url":"git://github.com/aodn/netcdf_filters.git","ssh_url":"git@github.com:aodn/netcdf_filters.git","clone_url":"https://github.com/aodn/netcdf_filters.git","svn_url":"https://github.com/aodn/netcdf_filters","homepage":null,"size":12012,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aodn/netcdf_filters/pulls/6"},"html":{"href":"https://github.com/aodn/netcdf_filters/pull/6"},"issue":{"href":"https://api.github.com/repos/aodn/netcdf_filters/issues/6"},"comments":{"href":"https://api.github.com/repos/aodn/netcdf_filters/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/aodn/netcdf_filters/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/aodn/netcdf_filters/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aodn/netcdf_filters/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/aodn/netcdf_filters/statuses/68c7cbfa28a914025df0eb90553fc6e050a05f96"}}}}