{"action":"created","issue":{"url":"https://api.github.com/repos/pyugrid/pyugrid/issues/52","repository_url":"https://api.github.com/repos/pyugrid/pyugrid","labels_url":"https://api.github.com/repos/pyugrid/pyugrid/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/pyugrid/pyugrid/issues/52/comments","events_url":"https://api.github.com/repos/pyugrid/pyugrid/issues/52/events","html_url":"https://github.com/pyugrid/pyugrid/issues/52","id":50058083,"number":52,"title":"Projected coordinates","user":{"login":"ChrisBarker-NOAA","id":916576,"avatar_url":"https://avatars.githubusercontent.com/u/916576?v=3","gravatar_id":"","url":"https://api.github.com/users/ChrisBarker-NOAA","html_url":"https://github.com/ChrisBarker-NOAA","followers_url":"https://api.github.com/users/ChrisBarker-NOAA/followers","following_url":"https://api.github.com/users/ChrisBarker-NOAA/following{/other_user}","gists_url":"https://api.github.com/users/ChrisBarker-NOAA/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisBarker-NOAA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisBarker-NOAA/subscriptions","organizations_url":"https://api.github.com/users/ChrisBarker-NOAA/orgs","repos_url":"https://api.github.com/users/ChrisBarker-NOAA/repos","events_url":"https://api.github.com/users/ChrisBarker-NOAA/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisBarker-NOAA/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pyugrid/pyugrid/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-11-25T17:24:35Z","updated_at":"2016-02-13T17:55:46Z","closed_at":null,"body":"It would be nice for py_ugrid to support projected coordinates. For example we've gotten some SUNTANS output that is using projected easting-northing, rather than lat-lon.\r\n\r\nIt seems this is supported in CF,a nd should be in UGRID eventually:\r\nhttps://github.com/ugrid-conventions/ugrid-conventions/issues/12\r\n\r\nAt this point, I think lat-lon is only assumed in the reading / writing code, so should be huge impacts.\r\n\r\nBut I'm not entirely sure at what level to support it:\r\n - would a UGrid object have the projection info?\r\n - would we put in any hooks to re-project, etc? or leave that to external code.\r\n\r\nHow does Iris handle this?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/pyugrid/pyugrid/issues/comments/183714095","html_url":"https://github.com/pyugrid/pyugrid/issues/52#issuecomment-183714095","issue_url":"https://api.github.com/repos/pyugrid/pyugrid/issues/52","id":183714095,"user":{"login":"ocefpaf","id":950575,"avatar_url":"https://avatars.githubusercontent.com/u/950575?v=3","gravatar_id":"","url":"https://api.github.com/users/ocefpaf","html_url":"https://github.com/ocefpaf","followers_url":"https://api.github.com/users/ocefpaf/followers","following_url":"https://api.github.com/users/ocefpaf/following{/other_user}","gists_url":"https://api.github.com/users/ocefpaf/gists{/gist_id}","starred_url":"https://api.github.com/users/ocefpaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocefpaf/subscriptions","organizations_url":"https://api.github.com/users/ocefpaf/orgs","repos_url":"https://api.github.com/users/ocefpaf/repos","events_url":"https://api.github.com/users/ocefpaf/events{/privacy}","received_events_url":"https://api.github.com/users/ocefpaf/received_events","type":"User","site_admin":false},"created_at":"2016-02-13T17:55:46Z","updated_at":"2016-02-13T17:55:46Z","body":"@ChrisBarker-NOAA I would defer that to a CF-interpreter or users input.  As long as the `UGRID` conventions say that projected coordinates are OK and `pyugrid` can find them, it is up to the user to explore the metadata and figure out what to do.\r\n\r\n`xarray` does something very simple when it comes to metadata like that.  It just reads them and put in a big dictionary where it is the user responsibility to check it and decide what to do.  The whole reason to do that is to avoid implementing a CF parser.\r\n\r\n`iris` (I belive) can interprete that making this even easier.\r\n\r\nTL;DR\r\n\r\nI would keep `pyugrid` simple and avoid implementing that."}}