home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where author_association = "MEMBER", issue = 249188875 and user = 1217238 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: created_at (date), updated_at (date)

user 1

  • shoyer · 2 ✖

issue 1

  • Support for basic math (multiplication, difference) on two xarray-Datasets · 2 ✖

author_association 1

  • MEMBER · 2 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
321599609 https://github.com/pydata/xarray/issues/1506#issuecomment-321599609 https://api.github.com/repos/pydata/xarray/issues/1506 MDEyOklzc3VlQ29tbWVudDMyMTU5OTYwOQ== shoyer 1217238 2017-08-10T16:14:30Z 2017-08-10T16:14:30Z MEMBER

A first check of your theory (shoyer) reveals that if the time stamps are exectly the same, i.e. the date and the time is equal for each time step in the two netcdf-files, then the operation is working sucessfully.

Glad that worked!

I only have to find a way to harmonize both datasets for time values prior operations with xarray ( a hard task considering model and evaluation data).

We have a few tools that might be useful here: - Resampling: http://xarray.pydata.org/en/stable/time-series.html#resampling-and-grouped-operations - Nearest neighbor lookups with reindex: http://xarray.pydata.org/en/stable/indexing.html#nearest-neighbor-lookups

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Support for basic math (multiplication, difference) on two xarray-Datasets 249188875
321417223 https://github.com/pydata/xarray/issues/1506#issuecomment-321417223 https://api.github.com/repos/pydata/xarray/issues/1506 MDEyOklzc3VlQ29tbWVudDMyMTQxNzIyMw== shoyer 1217238 2017-08-10T00:28:42Z 2017-08-10T00:28:42Z MEMBER

Elementwise operations are supported between datasets, but only on aligned coordinates. In this case, it looks like there is no overlap for the "time" labels on each dataset -- maybe the dates are the same but the times differ slightly?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Support for basic math (multiplication, difference) on two xarray-Datasets 249188875

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE [issue_comments] (
   [html_url] TEXT,
   [issue_url] TEXT,
   [id] INTEGER PRIMARY KEY,
   [node_id] TEXT,
   [user] INTEGER REFERENCES [users]([id]),
   [created_at] TEXT,
   [updated_at] TEXT,
   [author_association] TEXT,
   [body] TEXT,
   [reactions] TEXT,
   [performed_via_github_app] TEXT,
   [issue] INTEGER REFERENCES [issues]([id])
);
CREATE INDEX [idx_issue_comments_issue]
    ON [issue_comments] ([issue]);
CREATE INDEX [idx_issue_comments_user]
    ON [issue_comments] ([user]);
Powered by Datasette · Queries took 248.465ms · About: xarray-datasette