home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 121777990

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/475#issuecomment-121777990 https://api.github.com/repos/pydata/xarray/issues/475 121777990 MDEyOklzc3VlQ29tbWVudDEyMTc3Nzk5MA== 2443309 2015-07-15T23:51:14Z 2015-07-15T23:51:45Z MEMBER

I like:

python DataArray.isel_points(x=[1, 2, 3], y=[0, 1, 2], dim='points')

I also like the nearest-neighbor / resample API of:

python DataArray.sel_points(lon=[-123.25, -140.0, 72.5], lat=[45.0, 72.25, 65.75], dim='points', method='nearest')

How do we want to do the nearest-neighbor selection? The simplest case would be to follow the cKDTree example from #214. However, when you're using lat/lon coordinates, it is usually best to map these coordinates from the spherical coordinates to a Cartesian coordinates (see here for a simple example using cKDTree. Is that a road we want to go down here?

Further along that subject, but not directly relate - has anyone used pyresample.

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