home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

7 rows where issue = 129150619 and user = 16919188 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

  • Scheibs · 7 ✖

issue 1

  • Cannot write dask Dataset to NetCDF file · 7 ✖

author_association 1

  • NONE 7
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
186264260 https://github.com/pydata/xarray/issues/729#issuecomment-186264260 https://api.github.com/repos/pydata/xarray/issues/729 MDEyOklzc3VlQ29tbWVudDE4NjI2NDI2MA== Scheibs 16919188 2016-02-19T15:40:20Z 2016-02-19T15:40:20Z NONE

Tank you for your help on this, I will try myself to improve my knoledge of xarray and dask ;)

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Cannot write dask Dataset to NetCDF file 129150619
184157315 https://github.com/pydata/xarray/issues/729#issuecomment-184157315 https://api.github.com/repos/pydata/xarray/issues/729 MDEyOklzc3VlQ29tbWVudDE4NDE1NzMxNQ== Scheibs 16919188 2016-02-15T10:33:36Z 2016-02-15T10:33:36Z NONE

@mrocklin is that new link working ? Because it's gonna be closed tomorow.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Cannot write dask Dataset to NetCDF file 129150619
182875655 https://github.com/pydata/xarray/issues/729#issuecomment-182875655 https://api.github.com/repos/pydata/xarray/issues/729 MDEyOklzc3VlQ29tbWVudDE4Mjg3NTY1NQ== Scheibs 16919188 2016-02-11T13:57:51Z 2016-02-11T13:57:51Z NONE

You don't have to apologize for the delay, i'm already grateful for your time on this !

I don't understand why this download won't work with you; I tried with other and everything was ok... Maybe you can try with this link :
https://sharing.oodrive.com/easyshare/fwd/link=BS6TALAs9CiQg.WNotfITA

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Cannot write dask Dataset to NetCDF file 129150619
181418291 https://github.com/pydata/xarray/issues/729#issuecomment-181418291 https://api.github.com/repos/pydata/xarray/issues/729 MDEyOklzc3VlQ29tbWVudDE4MTQxODI5MQ== Scheibs 16919188 2016-02-08T15:12:21Z 2016-02-08T15:12:21Z NONE

@mrocklin I finally gave you a free acces path on ftp://ftp.irsn.fr/argon/SHARE/

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Cannot write dask Dataset to NetCDF file 129150619
181265026 https://github.com/pydata/xarray/issues/729#issuecomment-181265026 https://api.github.com/repos/pydata/xarray/issues/729 MDEyOklzc3VlQ29tbWVudDE4MTI2NTAyNg== Scheibs 16919188 2016-02-08T09:08:20Z 2016-02-08T13:10:25Z NONE

@mrocklin I put my files on ftp://ftp.irsn.fr/argon/SHARE/, everything is in the DEBUG.zip file.

@shoyer I have tried replacing sum() by dot() but I get an error "Data Array has no attribute 'dot' "

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Cannot write dask Dataset to NetCDF file 129150619
178503671 https://github.com/pydata/xarray/issues/729#issuecomment-178503671 https://api.github.com/repos/pydata/xarray/issues/729 MDEyOklzc3VlQ29tbWVudDE3ODUwMzY3MQ== Scheibs 16919188 2016-02-02T10:45:12Z 2016-02-02T17:07:41Z NONE

@shoyer @mrocklin I can send you my files, with the two netCDF4 source files and the script. I will also join the Bokeh graph for only one variable which fit with memory. Do you know how I can send you the ZIP folder ? It's 830 MB.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Cannot write dask Dataset to NetCDF file 129150619
176693726 https://github.com/pydata/xarray/issues/729#issuecomment-176693726 https://api.github.com/repos/pydata/xarray/issues/729 MDEyOklzc3VlQ29tbWVudDE3NjY5MzcyNg== Scheibs 16919188 2016-01-29T11:00:02Z 2016-01-29T11:00:02Z NONE

@mrocklin I have tried your lines, it seemed to work but finally I got the memory error message. However the crash was different than what I used to have...

My dataset is a set of several variables, which are calculated like this :

I have DataArray of unitary data for four rainfall height(0,5,10,15 mm/days,"SYMB") and another DataArray with spatialized rainfall height values ("RAIN").

SYMB <xray.DataArray (Hpluie: 4, time: 203, NIsoSource: 56, Denree: 19, Paliers: 23)> dask.array<xray-Fo..., shape=(4, 203, 56, 19, 23), dtype=float64, chunksize=(4, 50, 10, 19, 5)>

RAIN <xray.DataArray (Paliers: 23, DimK0: 1, DimJ0: 37, DimI0: 15)> dask.array<xray-Ra..., shape=(23, 1, 37, 15), dtype=float64, chunksize=(5, 1, 20, 15)>

Then I created an array which is the result of interpolation between this two arrays The function is :

``` python def interp(array,pluie):

p0 = (array.sel(Hpluie = 5) -array.sel(Hpluie = 0))/5
p1 = (array.sel(Hpluie = 10) -array.sel(Hpluie = 5))/5
p2 = (array.sel(Hpluie = 15) -array.sel(Hpluie = 10))/5

interp = (p0*(pluie.where(pluie<5) - array.Hpluie.sel(Hpluie=5)) +array.sel(Hpluie=5)).fillna(0)\
    +(p1*(pluie.where((pluie>=5) & (pluie<=10)) - array.Hpluie.sel(Hpluie=5)) +array.sel(Hpluie=5)).fillna(0)\
    +(p2*(pluie.where(pluie>10) - array.Hpluie.sel(Hpluie=10)) + array.sel(Hpluie=10)).fillna(0)   
return interp

```

So M = interp(SYMB,RAIN)

M <xray.DataArray (time: 203, NIsoSource: 56, Denree: 19, Paliers: 23, DimK0: 1, DimJ0: 37, DimI0: 15)> dask.array<elemwis..., shape=(203, 56, 19, 23, 1, 37, 15), dtype=float64, chunksize=(50, 10, 19, 5, 1, 20, 15)>

My final variable is the product of this interpolated array and an other spatialized variable("FLUX")

FLUX <xray.DataArray 'Flux_Moyen_Depot_Sec' (Paliers: 23, DimK0: 1, DimJ0: 37, DimI0: 15, NIsoSource: 56)> dask.array<xray-Fl..., shape=(23, 1, 37, 15, 56), dtype=float64, chunksize=(5, 1, 20, 15, 10)>

RES = (M * FLUX).sum("Paliers")

RES = <xray.DataArray (DimK0: 1, DimJ0: 37, DimI0: 15, NIsoSource: 56, time: 203, Denree: 19)> dask.array<p_reduc..., shape=(1, 37, 15, 56, 203, 19), dtype=float64, chunksize=(1, 20, 15, 10, 50, 19

I hope this is at less understandable... thanks a lot for your help

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Cannot write dask Dataset to NetCDF file 129150619

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