{"action":"created","issue":{"url":"https://api.github.com/repos/nco/nco/issues/103","repository_url":"https://api.github.com/repos/nco/nco","labels_url":"https://api.github.com/repos/nco/nco/issues/103/labels{/name}","comments_url":"https://api.github.com/repos/nco/nco/issues/103/comments","events_url":"https://api.github.com/repos/nco/nco/issues/103/events","html_url":"https://github.com/nco/nco/issues/103","id":349759168,"node_id":"MDU6SXNzdWUzNDk3NTkxNjg=","number":103,"title":"Generate Overlap Mesh","user":{"login":"czender","id":5597049,"node_id":"MDQ6VXNlcjU1OTcwNDk=","avatar_url":"https://avatars0.githubusercontent.com/u/5597049?v=4","gravatar_id":"","url":"https://api.github.com/users/czender","html_url":"https://github.com/czender","followers_url":"https://api.github.com/users/czender/followers","following_url":"https://api.github.com/users/czender/following{/other_user}","gists_url":"https://api.github.com/users/czender/gists{/gist_id}","starred_url":"https://api.github.com/users/czender/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/czender/subscriptions","organizations_url":"https://api.github.com/users/czender/orgs","repos_url":"https://api.github.com/users/czender/repos","events_url":"https://api.github.com/users/czender/events{/privacy}","received_events_url":"https://api.github.com/users/czender/received_events","type":"User","site_admin":false},"labels":[{"id":824068277,"node_id":"MDU6TGFiZWw4MjQwNjgyNzc=","url":"https://api.github.com/repos/nco/nco/labels/high%20priority","name":"high priority","color":"d93f0b","default":false}],"state":"open","locked":false,"assignee":{"login":"hmb1","id":6428656,"node_id":"MDQ6VXNlcjY0Mjg2NTY=","avatar_url":"https://avatars0.githubusercontent.com/u/6428656?v=4","gravatar_id":"","url":"https://api.github.com/users/hmb1","html_url":"https://github.com/hmb1","followers_url":"https://api.github.com/users/hmb1/followers","following_url":"https://api.github.com/users/hmb1/following{/other_user}","gists_url":"https://api.github.com/users/hmb1/gists{/gist_id}","starred_url":"https://api.github.com/users/hmb1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmb1/subscriptions","organizations_url":"https://api.github.com/users/hmb1/orgs","repos_url":"https://api.github.com/users/hmb1/repos","events_url":"https://api.github.com/users/hmb1/events{/privacy}","received_events_url":"https://api.github.com/users/hmb1/received_events","type":"User","site_admin":false},"assignees":[{"login":"hmb1","id":6428656,"node_id":"MDQ6VXNlcjY0Mjg2NTY=","avatar_url":"https://avatars0.githubusercontent.com/u/6428656?v=4","gravatar_id":"","url":"https://api.github.com/users/hmb1","html_url":"https://github.com/hmb1","followers_url":"https://api.github.com/users/hmb1/followers","following_url":"https://api.github.com/users/hmb1/following{/other_user}","gists_url":"https://api.github.com/users/hmb1/gists{/gist_id}","starred_url":"https://api.github.com/users/hmb1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmb1/subscriptions","organizations_url":"https://api.github.com/users/hmb1/orgs","repos_url":"https://api.github.com/users/hmb1/repos","events_url":"https://api.github.com/users/hmb1/events{/privacy}","received_events_url":"https://api.github.com/users/hmb1/received_events","type":"User","site_admin":false}],"milestone":null,"comments":9,"created_at":"2018-08-11T19:46:35Z","updated_at":"2018-11-13T10:47:15Z","closed_at":null,"author_association":"MEMBER","body":"Henry, I'm putting this into an issue. Please put all discussion here. The ultimate goal is to generate a map-file from two input grids fed to `nco_map_mk()`. The immediate goal is to generate the overlap mesh in `nco_msh_mk()`. Once the overlap mesh is generated, we will use your list of polygons and add a final step to `nco_msh_mk()` in which we generate the indexes `col_src` and `row_dst`  and area weights `wgt_raw` required by the map-file. The code to do that weight generation are already in `nco_rgr.c`, so don't worry about that and just focus on the overlap mesh generation.\r\n\r\nThe only required output, ultimately, is the map-file. `nco_map_mk()` _already writes this_. It can be tested with\r\n\r\n`ncks -D 1 -O --grd_src=${DATA}/grids/ne30np4_pentagons.091226.nc --grd_dst=${DATA}/grids/129x256_SCRIP.20150901.nc --map=${HOME}/map_foo.nc ~/nco/data/in.nc ~/foo.nc\r\n`\r\nThere was a bug in this until 4.7.6 (today), so please merge recent changes into your branch.\r\n\r\nThere is currently no reason to output the overlap mesh as its own grid-file, although that could be helpful for debugging. If you decide  to do this, please use the grid-file outputter in `nco_grd_mk()`. In other words, (this should go without saying) re-use existing code in `nco_map.c` and `nco_rgr.c`.\r\n"},"comment":{"url":"https://api.github.com/repos/nco/nco/issues/comments/438221190","html_url":"https://github.com/nco/nco/issues/103#issuecomment-438221190","issue_url":"https://api.github.com/repos/nco/nco/issues/103","id":438221190,"node_id":"MDEyOklzc3VlQ29tbWVudDQzODIyMTE5MA==","user":{"login":"hmb1","id":6428656,"node_id":"MDQ6VXNlcjY0Mjg2NTY=","avatar_url":"https://avatars0.githubusercontent.com/u/6428656?v=4","gravatar_id":"","url":"https://api.github.com/users/hmb1","html_url":"https://github.com/hmb1","followers_url":"https://api.github.com/users/hmb1/followers","following_url":"https://api.github.com/users/hmb1/following{/other_user}","gists_url":"https://api.github.com/users/hmb1/gists{/gist_id}","starred_url":"https://api.github.com/users/hmb1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmb1/subscriptions","organizations_url":"https://api.github.com/users/hmb1/orgs","repos_url":"https://api.github.com/users/hmb1/repos","events_url":"https://api.github.com/users/hmb1/events{/privacy}","received_events_url":"https://api.github.com/users/hmb1/received_events","type":"User","site_admin":false},"created_at":"2018-11-13T10:47:15Z","updated_at":"2018-11-13T10:47:15Z","author_association":"CONTRIBUTOR","body":"@czender \r\nheres the list of large polygons.  \r\nPlease let me know if you think they are valid and should be intersected with target grid. ?  \r\nThere needs  to some kind of upper-limit  for the longitude width of a grid cell,  so that when a cell breaks it i'll assume the grid cells is wrapped.\r\n\r\n[out-g.txt](https://github.com/nco/nco/files/2575867/out-g.txt)\r\n\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"hmb1"}}