issue_comments
8 rows where issue = 310833761 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: reactions, created_at (date), updated_at (date)
issue 1
- to_netcdf -> _fill_value without NaN · 8 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
1063906458 | https://github.com/pydata/xarray/issues/2037#issuecomment-1063906458 | https://api.github.com/repos/pydata/xarray/issues/2037 | IC_kwDOAMm_X84_aeya | BorjaEst 47473455 | 2022-03-10T10:35:23Z | 2022-03-10T10:59:17Z | NONE | I see know why it did not had sense to push something. Basically cf requirements are in conflict with backend requirements.
It would be needed to restructure tests and review which from backend have sense to apply.
However your snipet worked, but it is not applying to boundary variables, which is a cf requirement as well.
Probably I would edit it to something like:
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
to_netcdf -> _fill_value without NaN 310833761 | |
1063808399 | https://github.com/pydata/xarray/issues/2037#issuecomment-1063808399 | https://api.github.com/repos/pydata/xarray/issues/2037 | IC_kwDOAMm_X84_aG2P | ellesmith88 40183561 | 2022-03-10T08:46:31Z | 2022-03-10T08:46:31Z | CONTRIBUTOR | @BorjaEst I don't think I ever pushed anything up, sorry. Probably best to start a new one. |
{ "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
to_netcdf -> _fill_value without NaN 310833761 | |
1063806501 | https://github.com/pydata/xarray/issues/2037#issuecomment-1063806501 | https://api.github.com/repos/pydata/xarray/issues/2037 | IC_kwDOAMm_X84_aGYl | BorjaEst 47473455 | 2022-03-10T08:44:15Z | 2022-03-10T08:44:15Z | NONE |
@ellesmith88 is there a branch/fork where you implemented your trials or shall I start one and add your code? |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
to_netcdf -> _fill_value without NaN 310833761 | |
1063784085 | https://github.com/pydata/xarray/issues/2037#issuecomment-1063784085 | https://api.github.com/repos/pydata/xarray/issues/2037 | IC_kwDOAMm_X84_aA6V | ellesmith88 40183561 | 2022-03-10T08:14:59Z | 2022-03-10T08:14:59Z | CONTRIBUTOR | @BorjaEst I haven't opened a PR for this 🙂 |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
to_netcdf -> _fill_value without NaN 310833761 | |
1063707401 | https://github.com/pydata/xarray/issues/2037#issuecomment-1063707401 | https://api.github.com/repos/pydata/xarray/issues/2037 | IC_kwDOAMm_X84_ZuMJ | BorjaEst 47473455 | 2022-03-10T06:24:58Z | 2022-03-10T06:25:12Z | NONE | @ellesmith88 ellesmith88
I see you are setting I can give it a try. In which PR are you working on this? |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
to_netcdf -> _fill_value without NaN 310833761 | |
1063705114 | https://github.com/pydata/xarray/issues/2037#issuecomment-1063705114 | https://api.github.com/repos/pydata/xarray/issues/2037 | IC_kwDOAMm_X84_Ztoa | BorjaEst 47473455 | 2022-03-10T06:20:40Z | 2022-03-10T06:20:40Z | NONE | I am posting here a temporal solution to this in case someone has the same issue.
Based on https://stackoverflow.com/questions/45693688/xarray-automatically-applying-fillvalue-to-coordinates-on-netcdf-output
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
to_netcdf -> _fill_value without NaN 310833761 | |
857563427 | https://github.com/pydata/xarray/issues/2037#issuecomment-857563427 | https://api.github.com/repos/pydata/xarray/issues/2037 | MDEyOklzc3VlQ29tbWVudDg1NzU2MzQyNw== | ellesmith88 40183561 | 2021-06-09T10:03:22Z | 2021-06-10T12:39:04Z | CONTRIBUTOR | I had a go at working on this, as mentioned in #5448 it could be a fix in https://github.com/pydata/xarray/blob/ce01f42134962b63d453657c5cb649ebf152283d/xarray/conventions.py#L707 I couldn't see how to fix it in there but tried a fix at the end of https://github.com/pydata/xarray/blob/ce01f42134962b63d453657c5cb649ebf152283d/xarray/conventions.py#L813 for bounds and coordinate variables. See below: ```python def cf_encoder(variables, attributes): """ Encode a set of CF encoded variables and attributes. Takes a dicts of variables and attributes and encodes them to conform to CF conventions as much as possible. This includes masking, scaling, character array handling, and CF-time encoding.
``` tests to add into ```python def test_fill_value_none_for_coordinate_variables(): # need to be floats so _FillValue is added temp = 273.15 + 25 * np.random.randn(2, 2) lon = [0.0, 5.0] lat = [10.0, 20.0]
def test_fill_value_none_for_bounds_variables(): # need to be floats so _FillValue is added temp = 273.15 + 25 * np.random.randn(2, 2) lat_bnds = np.arange(4.0).reshape((2, 2)) lon = [0.0, 5.0] lat = [10.0, 20.0]
``` but I couldn't quite get this to work, with some tests in |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
to_netcdf -> _fill_value without NaN 310833761 | |
856085619 | https://github.com/pydata/xarray/issues/2037#issuecomment-856085619 | https://api.github.com/repos/pydata/xarray/issues/2037 | MDEyOklzc3VlQ29tbWVudDg1NjA4NTYxOQ== | dcherian 2448579 | 2021-06-07T16:31:00Z | 2021-06-07T16:31:00Z | MEMBER | From #5448 we should skip it for bounds variables too. |
{ "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
to_netcdf -> _fill_value without NaN 310833761 |
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]);
user 3