home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 1180512949

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions performed_via_github_app issue
https://github.com/pydata/xarray/issues/6771#issuecomment-1180512949 https://api.github.com/repos/pydata/xarray/issues/6771 1180512949 IC_kwDOAMm_X85GXTK1 35968931 2022-07-11T14:53:43Z 2022-07-11T14:53:43Z MEMBER

Hi @alimanfoo, thanks for raising this.

I would've thought that latitude and longitude would be 1-dimensional coordinate variables, yet they are drawn as 2-D arrays?

I think that if you assume that the axes of your grid data align with the cardinal directions (East-West / North-South) then you would expect latitude and longitude to be 1D, but if they don't align then the coordinates would need be 2D (i.e. if x and y are merely arbitrary lines along the Earth's surface).

I agree with you though that 2D lat/lon grids are unnecessarily confusing, especially for non-geoscience users.

I like the second diagram you showed more (it's also a neater version of the labelled one I made here). I think it's debatable whether elevation and land_cover constitute coordinates or data variables, but I have no strong opinion on that.

As for improvements, I think it would be clearer to at least use the second image over the first, and perhaps we could improve it further.

{
    "total_count": 2,
    "+1": 2,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  1300534066
Powered by Datasette · Queries took 0.69ms · About: xarray-datasette