issue_comments
10 rows where user = 31376402 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: issue_url, created_at (date), updated_at (date)
user 1
- caenrigen · 10 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
948958184 | https://github.com/pydata/xarray/pull/5847#issuecomment-948958184 | https://api.github.com/repos/pydata/xarray/issues/5847 | IC_kwDOAMm_X844j_Po | caenrigen 31376402 | 2021-10-21T19:59:18Z | 2021-10-21T20:00:04Z | CONTRIBUTOR | Hi @Illviljan @keewis, I have added tests and marked them as xfail Accoriding to pytest docs
This case seems exactly what xfail is meant for. But feel free to change this.
It seems so, but it raises a ```python import xarray as xr import numpy as np import matplotlib.pyplot as plt import pytest pint = pytest.importorskip("pint") unit_registry = pint.UnitRegistry(force_ndarray=True) coord_unit, coord_attrs = (unit_registry.m, {}) def test_units_in_slice_line_plot_labels_isel(): arr = xr.DataArray( name="var_a", data=np.array([[1, 2], [3, 4]]), coords=dict( a=("x", np.array([5, 6]) * coord_unit, coord_attrs), b=("y", np.array([7, 8])), ), dims=("x", "y"), ) arr.isel(x=0).plot(marker="o") assert plt.gca().get_title() == "a = 5 [meter]" return arr test_units_in_slice_line_plot_labels_isel() ``` I would appreciate a lot if we keep the scope of this PR to what I have contributed so far, I am running out of bandwidth in the project I am involved and won't be able to add much more to this PR. Kind regards, Victor |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Display coords' units for slice plots 1021396447 | |
944278576 | https://github.com/pydata/xarray/pull/5847#issuecomment-944278576 | https://api.github.com/repos/pydata/xarray/issues/5847 | IC_kwDOAMm_X844SIww | caenrigen 31376402 | 2021-10-15T13:01:32Z | 2021-10-15T13:02:24Z | CONTRIBUTOR | Just checked and this cannot be tested for pint units, there is already a comment in there explaining this: ```python TODO make coord a Quantity once unit-aware indexes supported"``` Since the slice units come from a coordinate these units can't be pint units (at least not yet). I added a new test for the units in the title of a slice line plot, also added the same comment about pint units. Who should I ping for the PR approval? |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Display coords' units for slice plots 1021396447 | |
944208315 | https://github.com/pydata/xarray/pull/5847#issuecomment-944208315 | https://api.github.com/repos/pydata/xarray/issues/5847 | IC_kwDOAMm_X844R3m7 | caenrigen 31376402 | 2021-10-15T11:01:17Z | 2021-10-15T11:01:17Z | CONTRIBUTOR |
Hi @TomNicholas! Thank you for the input and guidance, will work on adding the tests 🙂 Cheers |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Display coords' units for slice plots 1021396447 | |
872210975 | https://github.com/pydata/xarray/issues/5436#issuecomment-872210975 | https://api.github.com/repos/pydata/xarray/issues/5436 | MDEyOklzc3VlQ29tbWVudDg3MjIxMDk3NQ== | caenrigen 31376402 | 2021-07-01T12:37:52Z | 2021-07-01T12:37:52Z | CONTRIBUTOR | @keewis thank you for the reply
Does this mean that my workaround is not fully working as I would like it to? (I want it to basically do nothing to the attrs) Is it possible at the moment to pass |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
bug or unclear definition of combine_attrs with xr.merge() 911513701 | |
871681764 | https://github.com/pydata/xarray/issues/5436#issuecomment-871681764 | https://api.github.com/repos/pydata/xarray/issues/5436 | MDEyOklzc3VlQ29tbWVudDg3MTY4MTc2NA== | caenrigen 31376402 | 2021-06-30T19:49:24Z | 2021-06-30T19:49:24Z | CONTRIBUTOR | Hey guys! First of all thank you for the work on maintaining this package 😃 I am running into the same issue and it is partially blocking an open-source package (used in experimental quantum computing) from adopting the latest version of xarray. For our typical dataset this happens:
As default behavior this is totally unexpected because the variables attributes have nothing to do with the dataset itself. I am just trying to put all my data in a single container. (Am i using the wrong function for this?) And second, My suggestion is to do nothing by default, i.e. I understand there might be cases where combining the attributes makes sense, so maybe my suggestion only applies when only Hope my use case helps this discussion. In the meantime the workaround seems to be:
```bash <xarray.Dataset> Dimensions: (dim_0: 5) Dimensions without coordinates: dim_0 Data variables: x0 (dim_0) float64 1.0 1.0 1.0 1.0 1.0 y0 (dim_0) float64 1.0 1.0 1.0 1.0 1.0 === <xarray.DataArray 'x0' (dim_0: 5)> array([1., 1., 1., 1., 1.]) Dimensions without coordinates: dim_0 Attributes: name: x long_name: X position units: m batched: False ``` |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
bug or unclear definition of combine_attrs with xr.merge() 911513701 | |
806479491 | https://github.com/pydata/xarray/issues/4985#issuecomment-806479491 | https://api.github.com/repos/pydata/xarray/issues/4985 | MDEyOklzc3VlQ29tbWVudDgwNjQ3OTQ5MQ== | caenrigen 31376402 | 2021-03-25T08:58:17Z | 2021-03-25T08:58:17Z | CONTRIBUTOR |
Unfortunately out of bandwidth currently, this came out when addressing #4981 so I reported it as suggested. For anyone facing the issue, installing |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Tests fail when installing h5netcdf without netcdf4 819937730 | |
791375996 | https://github.com/pydata/xarray/issues/4981#issuecomment-791375996 | https://api.github.com/repos/pydata/xarray/issues/4981 | MDEyOklzc3VlQ29tbWVudDc5MTM3NTk5Ng== | caenrigen 31376402 | 2021-03-05T12:01:35Z | 2021-03-05T12:01:35Z | CONTRIBUTOR | Hey, guys!! Does any of you have backends expertise? A review of PR #4986 from someone with knowledge on the topic would be appreciated so much 🥺 One collaborator already approves the hotfix but is waiting for an additional approval Kind regards |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Allows numpy.bool_ attrs when writing with h5netcdf engine 819379617 | |
788872922 | https://github.com/pydata/xarray/issues/4981#issuecomment-788872922 | https://api.github.com/repos/pydata/xarray/issues/4981 | MDEyOklzc3VlQ29tbWVudDc4ODg3MjkyMg== | caenrigen 31376402 | 2021-03-02T12:27:33Z | 2021-03-05T12:00:23Z | CONTRIBUTOR |
PR created https://github.com/pydata/xarray/pull/4986 |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Allows numpy.bool_ attrs when writing with h5netcdf engine 819379617 | |
789263557 | https://github.com/pydata/xarray/pull/4986#issuecomment-789263557 | https://api.github.com/repos/pydata/xarray/issues/4986 | MDEyOklzc3VlQ29tbWVudDc4OTI2MzU1Nw== | caenrigen 31376402 | 2021-03-02T22:23:27Z | 2021-03-02T22:23:27Z | CONTRIBUTOR | @keewis thank you for the guidance! changes applied ✅ Looking forward to the merge 🤩 |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Added support for numpy.bool_ 819967505 | |
788846940 | https://github.com/pydata/xarray/issues/4981#issuecomment-788846940 | https://api.github.com/repos/pydata/xarray/issues/4981 | MDEyOklzc3VlQ29tbWVudDc4ODg0Njk0MA== | caenrigen 31376402 | 2021-03-02T11:42:43Z | 2021-03-02T11:42:43Z | CONTRIBUTOR |
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Allows numpy.bool_ attrs when writing with h5netcdf engine 819379617 |
Advanced export
JSON shape: default, array, newline-delimited, object
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]);
issue 5