home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 206648586

This data as json

id node_id number title user state locked assignee milestone comments created_at updated_at closed_at author_association active_lock_reason draft pull_request body reactions performed_via_github_app state_reason repo type
206648586 MDU6SXNzdWUyMDY2NDg1ODY= 1258 selecting a point from an irregular grid? 900941 closed 0     2 2017-02-09T22:26:06Z 2019-01-25T17:44:45Z 2019-01-25T17:44:45Z CONTRIBUTOR      

HI:

I was wondering if I have a dataarray based on 2d lon and lat fields is it possible to select values for selected lon and lat pairs?

Here is the schema of my DataArray:

python vardict = { "coords": { "t": {"dims": "t", "data": dates}, "lon": {"dims": ("x", "y"), "data": self.lons}, "lat": {"dims": ("x", "y"), "data": self.lats}, }, "dims": ("t", "x", "y"), "data": data_list, "name": varname_internal }

Is it possible to do smth like

python timeseries = da.sel(lon=-110, lat=65)

Cheers

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/1258/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed 13221727 issue

Links from other tables

  • 0 rows from issues_id in issues_labels
  • 2 rows from issue in issue_comments
Powered by Datasette · Queries took 0.812ms · About: xarray-datasette