home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 1321361968

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/7278#issuecomment-1321361968 https://api.github.com/repos/pydata/xarray/issues/7278 1321361968 IC_kwDOAMm_X85OwmIw 167164 2022-11-21T02:18:56Z 2022-11-21T02:18:56Z NONE

If it takes another couple of years to break, and need another re-write that's probably OK.

But if there is a better/more standard way to do what I'm trying to do, please let me know.

The underlying issue is that I have a netcdf with a RotatedPole grid (e.g. any of the CORDEX data), and I need to find the nearest grid point to a certain point. To do this, I map my point onto the RotatedPole projection (converting it from lat, lon, to x, y, or rlat, rlon), and then use the index mapping's nearest method to find the nearest grid point.

It didn't seem like there was an obvious way to do this with the actual API functions, so that's what I landed on.

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