home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

4 rows where author_association = "NONE" and user = 117328108 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

  • wangshuaicumt · 4 ✖

issue 1

  • merge 4

author_association 1

  • NONE · 4 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
1476087598 https://github.com/pydata/xarray/issues/7647#issuecomment-1476087598 https://api.github.com/repos/pydata/xarray/issues/7647 IC_kwDOAMm_X85X-08u wangshuaicumt 117328108 2023-03-20T11:53:34Z 2023-03-20T11:53:34Z NONE

Maybe I am wrong, but I think the two scenes should be geocoded on the same grid, and then you should decide how to combine the values from the two scenes on the overlapping area.

I think you're absolutely right. I just want to splice two pieces of data together, and there is a common area between them. Since I am a newcomer in the Xarray application, can you give me more tips? Thanks a lot.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  merge 1631491844
1475746864 https://github.com/pydata/xarray/issues/7647#issuecomment-1475746864 https://api.github.com/repos/pydata/xarray/issues/7647 IC_kwDOAMm_X85X9hww wangshuaicumt 117328108 2023-03-20T07:31:53Z 2023-03-20T07:31:53Z NONE

@wangshuaicumt To see what's going on this might be sufficient. It looks like the grids (or dimensions) of your two input datasets do not really match each other.

In consequence the merge-algorithm aligns the two inputs and introduces NaN at the places where the data is not defined at the resulting points, leaving you with these gaps in the output. (You can observe this in the dimension-sizes).

As this doesn't happen in my workflows I have no immediate help at hand and hope others will chime with some more guidance.

Yeah, thanks. Do you have any good suggestions for using Xarray to merge two *. grd files?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  merge 1631491844
1475727446 https://github.com/pydata/xarray/issues/7647#issuecomment-1475727446 https://api.github.com/repos/pydata/xarray/issues/7647 IC_kwDOAMm_X85X9dBW wangshuaicumt 117328108 2023-03-20T07:09:27Z 2023-03-20T07:09:27Z NONE

Hi @wangshuaicumt I guess it would be easier to help out if you share the datasets (or a subset)?

Due to restrictions on uploading original data files, I can only upload the results read by the terminal, and whether the original data file is required?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  merge 1631491844
1475720306 https://github.com/pydata/xarray/issues/7647#issuecomment-1475720306 https://api.github.com/repos/pydata/xarray/issues/7647 IC_kwDOAMm_X85X9bRy wangshuaicumt 117328108 2023-03-20T07:03:37Z 2023-03-20T07:03:37Z NONE

Hi @wangshuaicumt I guess it would be easier to help out if you share the datasets (or a subset)?

Yeah. Thanks.

The first data: <xarray.DataArray 'z' (lat: 4350, lon: 5050)> [21967500 values with dtype=float32] Coordinates: * lon (lon) float64 86.26 86.26 86.26 86.26 ... 89.76 89.76 89.76 89.76 * lat (lat) float64 43.2 43.2 43.2 43.2 43.2 ... 45.01 45.01 45.01 45.01 Attributes: long_name: z actual_range: [-896.26568604 361.07537842]

The second data: <xarray.DataArray 'z' (lat: 4420, lon: 5060)> [22365200 values with dtype=float32] Coordinates: * lon (lon) float64 88.22 88.22 88.22 88.22 ... 91.73 91.73 91.73 91.73 * lat (lat) float64 43.59 43.59 43.59 43.59 ... 45.43 45.43 45.43 45.43 Attributes: long_name: z actual_range: [-536.39135742 304.35101318]

The merge data: <xarray.Dataset> Dimensions: (lon: 10110, lat: 8769) Coordinates: * lon (lon) float64 86.26 86.26 86.26 86.26 ... 91.73 91.73 91.73 91.73 * lat (lat) float64 43.2 43.2 43.2 43.2 43.2 ... 45.43 45.43 45.43 45.43 Data variables: z (lat, lon) float32 nan nan nan nan nan nan ... nan nan nan nan nan Attributes: long_name: z

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  merge 1631491844

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 12.318ms · About: xarray-datasette