home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

5 rows where author_association = "NONE" and user = 12339722 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

issue 4

  • How to avoid the auto convert variable dtype from float32 to float64 when read netCDF file use open_dataset? 2
  • concat automagically outer-joins coordinates 1
  • How can I drop attribute of DataArray 1
  • A problem about xarray.concat 1

user 1

  • wqshen · 5 ✖

author_association 1

  • NONE · 5 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
321416757 https://github.com/pydata/xarray/issues/1505#issuecomment-321416757 https://api.github.com/repos/pydata/xarray/issues/1505 MDEyOklzc3VlQ29tbWVudDMyMTQxNjc1Nw== wqshen 12339722 2017-08-10T00:25:07Z 2017-08-10T00:25:07Z NONE

Yeah, what i want is exactly you've understood, these files are splitted in space into many tiles. When i look into the internal xarray.concat code, i also found it is impossible at present. To do this, some codes should be modified and i don't think this function extension is necessary to xarray.

Also, thanks to you !

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  A problem about xarray.concat 248942085
313105147 https://github.com/pydata/xarray/issues/1354#issuecomment-313105147 https://api.github.com/repos/pydata/xarray/issues/1354 MDEyOklzc3VlQ29tbWVudDMxMzEwNTE0Nw== wqshen 12339722 2017-07-05T13:37:14Z 2017-07-05T13:37:14Z NONE

I also have this problem.

I have a list of dataset with all same shaped array at different time, while each have a different coordinate. (Each dataset is centered in the tropical cyclone center, with a same radius width buffer.)

I use xr.concat to concat them along time dimension, this function auto outer-joins coordinates, which makes the final dataset have a larger-shape, but i just want the original dataset shape.

Any solution ?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  concat automagically outer-joins coordinates 219692578
305365787 https://github.com/pydata/xarray/issues/1437#issuecomment-305365787 https://api.github.com/repos/pydata/xarray/issues/1437 MDEyOklzc3VlQ29tbWVudDMwNTM2NTc4Nw== wqshen 12339722 2017-06-01T01:46:12Z 2017-06-01T01:46:12Z NONE

Sorry, i get it, just use del

{
    "total_count": 1,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 1,
    "eyes": 0
}
  How can I drop attribute of DataArray 232743076
248180310 https://github.com/pydata/xarray/issues/1008#issuecomment-248180310 https://api.github.com/repos/pydata/xarray/issues/1008 MDEyOklzc3VlQ29tbWVudDI0ODE4MDMxMA== wqshen 12339722 2016-09-20T01:53:43Z 2016-09-20T01:53:43Z NONE

OK & Thanks

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  How to avoid the auto convert variable dtype from float32 to float64 when read netCDF file use open_dataset? 177754433
248170532 https://github.com/pydata/xarray/issues/1008#issuecomment-248170532 https://api.github.com/repos/pydata/xarray/issues/1008 MDEyOklzc3VlQ29tbWVudDI0ODE3MDUzMg== wqshen 12339722 2016-09-20T00:44:27Z 2016-09-20T00:44:27Z NONE

Thanks for your reply.

Variables dbz, vr and sw have the _FillValue attribute, whose value is equal to _FillValue: -999.0

<type 'netCDF4._netCDF4.Variable'> float32 dbz(z, y, x) _FillValue: -999.0 units: dBZ long_name: reflectivity in log units unlimited dimensions: current shape = (9, 461, 461) filling on

It seems that xarray will convert the dtype from float32 to float64, while the variable in netCDF4 file has the attribute _FillValue, xr.open_dataset auto identify the _FillValue in the variable and mask it with np.nan , however the variable is also changed into float64. I think this result with default argument is not reasonable enough, as this type conversion is not necessary in fact.

Using mask_and_scale=False will maintain the variable in float32 and retain the _FillValue attribute of variable. However, what i want is mask but maintain the dtype in float32. Is it has possible bug in the internal of the open_dataset method ?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  How to avoid the auto convert variable dtype from float32 to float64 when read netCDF file use open_dataset? 177754433

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