home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

7 rows where author_association = "NONE" and user = 25030860 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

issue 2

  • wrong decoding of loaded dataset from nc-file 6
  • Problem with creating coords by dict 1

user 1

  • SpghttCd · 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
277476811 https://github.com/pydata/xarray/issues/1244#issuecomment-277476811 https://api.github.com/repos/pydata/xarray/issues/1244 MDEyOklzc3VlQ29tbWVudDI3NzQ3NjgxMQ== SpghttCd 25030860 2017-02-04T20:48:49Z 2017-02-04T20:48:49Z NONE

Ok - thanks for clarification. I remember the NC_SHARE flag for the open function in the netcdf-C-api... But I also think your advice is reasonable.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  wrong decoding of loaded dataset from nc-file 204550216
277235999 https://github.com/pydata/xarray/issues/1244#issuecomment-277235999 https://api.github.com/repos/pydata/xarray/issues/1244 MDEyOklzc3VlQ29tbWVudDI3NzIzNTk5OQ== SpghttCd 25030860 2017-02-03T12:29:17Z 2017-02-03T12:29:17Z NONE

Ok I was not sleeping while reporting this issue... :-) Just if others examine the same problems - or perhaps someone can explain to me...: The reason for strange data in loaded nc-files was as far as I can see because I saved the same file in different versions - although already loaded - and then loaded again. This seems to me is not a good idea. Perhaps things even went worse because I had two instances of Spyder running, happily switching from one to the other saving and loading the file in order to find problems dependent on library versions. But the problem was just this whole procedure itself. The only thing I still don't really know now is what exactly is forbidden or what is the recommended kind of handling - as saving and loading again is imo not an unconventional or unusual part of a workflow...

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  wrong decoding of loaded dataset from nc-file 204550216
277192998 https://github.com/pydata/xarray/issues/1244#issuecomment-277192998 https://api.github.com/repos/pydata/xarray/issues/1244 MDEyOklzc3VlQ29tbWVudDI3NzE5Mjk5OA== SpghttCd 25030860 2017-02-03T08:37:49Z 2017-02-03T08:37:49Z NONE

Hello, by comparing different files with different encodings I have to admit that I cannot reproduce the issue named in the title. In contrast, the erroneous behaviour seems to explicitly origin from my implementation of scale- and offset encoding and in no way from any library- or distribution-version. I definitely thought I checked that first - so sorry for opening an issue on that here and however thanks for helping out.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  wrong decoding of loaded dataset from nc-file 204550216
277045154 https://github.com/pydata/xarray/issues/1244#issuecomment-277045154 https://api.github.com/repos/pydata/xarray/issues/1244 MDEyOklzc3VlQ29tbWVudDI3NzA0NTE1NA== SpghttCd 25030860 2017-02-02T18:45:12Z 2017-02-03T07:22:07Z NONE

Ok, understood. In WinPython 3.4 / xarray 0.7.0: Python import netCDF4 as nc nc.__hdf5libversion__ Out[2]: '1.8.15-patch1' nc.__netcdf4libversion__ Out[3]: '4.3.3.1' In WinPython 3.5 / xarray 0.9.0: Python import netCDF4 as nc nc.__hdf5libversion__ Out[2]: '1.8.18' nc.__netcdf4libversion__ Out[3]: '4.4.1.1' That's the easy part - I still play around with loading the files with netCDF4.Dataset() - but I'm not quite sure how to interpret the results and compare it to the data loaded by xarray.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  wrong decoding of loaded dataset from nc-file 204550216
276895569 https://github.com/pydata/xarray/issues/1244#issuecomment-276895569 https://api.github.com/repos/pydata/xarray/issues/1244 MDEyOklzc3VlQ29tbWVudDI3Njg5NTU2OQ== SpghttCd 25030860 2017-02-02T08:24:27Z 2017-02-02T08:24:27Z NONE

No, you're right. I think almost everything changed, because the jump to 0.9.0 happened because of the switch to the latest WinPython-Distribution. What I can read out is the version of netCDF4 in Python, which was 1.2.2 in the former WinPython-package and now is 1.2.7 in the latest. But regarding your question about libnetcdf and hdf5 I think I don't understand enough: are these also python libraries? hdf5 isn't there, only h5py which I thought was an alternative, not a requirement to netcdf4, and libnetcdf I cannot find at all...

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  wrong decoding of loaded dataset from nc-file 204550216
276778495 https://github.com/pydata/xarray/issues/1244#issuecomment-276778495 https://api.github.com/repos/pydata/xarray/issues/1244 MDEyOklzc3VlQ29tbWVudDI3Njc3ODQ5NQ== SpghttCd 25030860 2017-02-01T20:52:06Z 2017-02-01T20:52:06Z NONE

Of course (ncdump -h): netcdf \15_m_erster\ Test_360_d01 { dimensions: D1 = 3601 ; Z = 5 ; X = 5 ; variables: double D1(D1) ; string D1:units = "┬░" ; double Z(Z) ; string Z:units = "mm" ; double X(X) ; string X:units = "mm" ; double Brad(D1, Z, X) ; string Brad:units = "mT" ; double Btan(D1, Z, X) ; string Btan:units = "mT" ; double Bax(D1, Z, X) ; string Bax:units = "mT" ; double T(D1, Z, X) ; string T:units = "degC" ; } I can add the before mentioned integer compressed version, too, if needed. But there's no difference regarding the issue and it's a little longer of course.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  wrong decoding of loaded dataset from nc-file 204550216
271864879 https://github.com/pydata/xarray/issues/1197#issuecomment-271864879 https://api.github.com/repos/pydata/xarray/issues/1197 MDEyOklzc3VlQ29tbWVudDI3MTg2NDg3OQ== SpghttCd 25030860 2017-01-11T13:12:32Z 2017-01-11T13:12:32Z NONE

Hello, thanks for the immediate reply - and to seize the opportunity: thanks for this really great library, which I think will be the enabler for me to - finally - use netCDF4 for my measurement facility like I wished for years now. However, I have to disagree in your point regarding the not fitting dimensions in the DataArray definition. np.zeros() will for sure return an n-dimensional array when called with a length-n list as argument, which I did with n=3 and the list [1,2,3]. I.e. calling np.zeros([1, 2, 3]) will return array([ [ [ 0., 0., 0.], [ 0., 0., 0.] ] ])

Besides, the working alternatives with tuples or the OrderedDict use the very same dummy array for initializing in the example above.

Further I estimate the 0.8.2-error-message completely consistent: it (silently) acknowledges that there are three dimensions in both the zeros-array and the coords by reporting a problem about not fitting lengths of the third one of each, 'z'.

Though by adding a one-dimensional dims-definition, you turn the following error messages away from the original problem, now indeed introducing an inconsistency in dimensions between dims and data.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Problem with creating coords by dict 199816142

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