issue_comments
8 rows where author_association = "CONTRIBUTOR" and issue = 1154014066 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- Only auxiliary coordinates are listed in nc variable attribute · 8 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
1069096876 | https://github.com/pydata/xarray/issues/6310#issuecomment-1069096876 | https://api.github.com/repos/pydata/xarray/issues/6310 | IC_kwDOAMm_X84_uR-s | tovogt 57705593 | 2022-03-16T12:55:28Z | 2022-03-16T12:55:28Z | CONTRIBUTOR | Yes, I tested this locally, and here is the PR for that suggestion: #6366 |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Only auxiliary coordinates are listed in nc variable attribute 1154014066 | |
1069092987 | https://github.com/pydata/xarray/issues/6310#issuecomment-1069092987 | https://api.github.com/repos/pydata/xarray/issues/6310 | IC_kwDOAMm_X84_uRB7 | DWesl 22566757 | 2022-03-16T12:50:50Z | 2022-03-16T12:50:50Z | CONTRIBUTOR | That could work. Are you set up to check that? That can be either a full repository checkout or an XArray installation you can edit. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Only auxiliary coordinates are listed in nc variable attribute 1154014066 | |
1069089232 | https://github.com/pydata/xarray/issues/6310#issuecomment-1069089232 | https://api.github.com/repos/pydata/xarray/issues/6310 | IC_kwDOAMm_X84_uQHQ | tovogt 57705593 | 2022-03-16T12:46:33Z | 2022-03-16T12:46:33Z | CONTRIBUTOR | No, in this case I think the problem is that the author of line 773 assumed that |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Only auxiliary coordinates are listed in nc variable attribute 1154014066 | |
1069084130 | https://github.com/pydata/xarray/issues/6310#issuecomment-1069084130 | https://api.github.com/repos/pydata/xarray/issues/6310 | IC_kwDOAMm_X84_uO3i | DWesl 22566757 | 2022-03-16T12:40:20Z | 2022-03-16T12:40:20Z | CONTRIBUTOR | Given this:
https://github.com/pydata/xarray/blob/613a8fda4f07181fbc41d6ff2296fec3726fd351/xarray/conventions.py#L782-L783
I think that should be working. This:
https://github.com/pydata/xarray/blob/613a8fda4f07181fbc41d6ff2296fec3726fd351/xarray/conventions.py#L770-L779
explicitly says it should, and is probably the part where things go wrong, but it should be going wrong the same way for I think
https://github.com/pydata/xarray/blob/613a8fda4f07181fbc41d6ff2296fec3726fd351/xarray/conventions.py#L758-L768
may need to be split into two conditionals, one for |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Only auxiliary coordinates are listed in nc variable attribute 1154014066 | |
1069073130 | https://github.com/pydata/xarray/issues/6310#issuecomment-1069073130 | https://api.github.com/repos/pydata/xarray/issues/6310 | IC_kwDOAMm_X84_uMLq | tovogt 57705593 | 2022-03-16T12:27:14Z | 2022-03-16T12:27:14Z | CONTRIBUTOR | @DWesl Thanks for digging into the details of the CF! I read your post in the sense that solution (1) is the one to choose. I have one more question though before we close this: When setting |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Only auxiliary coordinates are listed in nc variable attribute 1154014066 | |
1069064616 | https://github.com/pydata/xarray/issues/6310#issuecomment-1069064616 | https://api.github.com/repos/pydata/xarray/issues/6310 | IC_kwDOAMm_X84_uKGo | DWesl 22566757 | 2022-03-16T12:17:37Z | 2022-03-16T12:17:37Z | CONTRIBUTOR | I tried to find what the CF conventions say about including dimension coordinates (I'm using the name from scitools-iris rather than "coordinate variable" as used in the CF conventions to keep myself from getting confused) in the From what I remember, XArray is based on the netCDF data model, rather than the CF data model, so initializing
Based on this, I think doing solution one from the previous post on writing a dataset will always be consistent with CF, but assuming that netCDF files XArray reads into datasets will always follow this pattern would be a problem. I suspect there are tests for reading netCDF files with dimension coordinates included in
If you want to try solution three, almost all Discrete Sampling Geometry files must have a global attribute called The references from CF on whether dimension coordinates can be included in the The fifth paragraph of CF section five says:
I think this is saying that if you can represent a coordinate using just one dimension, you shouldn't use two (that is, avoid using
The first paragraph of the section on Discrete sampling geometries:
I think dimension coordinates are explicit enough to count as "unambiguously associated", even without inclusion in the
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Only auxiliary coordinates are listed in nc variable attribute 1154014066 | |
1068869457 | https://github.com/pydata/xarray/issues/6310#issuecomment-1068869457 | https://api.github.com/repos/pydata/xarray/issues/6310 | IC_kwDOAMm_X84_tadR | tovogt 57705593 | 2022-03-16T08:39:02Z | 2022-03-16T08:40:08Z | CONTRIBUTOR | Hey @dcherian, Thanks for your consideration! I just started to create a new branch with my suggested changes, but then I noticed that setting the In my original post, the example can easily be fixed to reflect the coordinate attributes in the conventions (https://cfconventions.org/cf-conventions/cf-conventions.html#_single_trajectory) by enforcing the attribute value in the From here, there are several ways to proceed:
1. Stick to the current logic which might be non-conformal with the CF conventions in case of "Discrete Sampling Geometries". However, users can manually fix this by setting the I actually suggest to choose solution (1) and close this issue as "won't fix". What do you think? |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Only auxiliary coordinates are listed in nc variable attribute 1154014066 | |
1054195542 | https://github.com/pydata/xarray/issues/6310#issuecomment-1054195542 | https://api.github.com/repos/pydata/xarray/issues/6310 | IC_kwDOAMm_X84-1b9W | tovogt 57705593 | 2022-02-28T12:13:46Z | 2022-02-28T12:33:07Z | CONTRIBUTOR | If you are interested in a fix, I would modify the following section:
https://github.com/pydata/xarray/blob/613a8fda4f07181fbc41d6ff2296fec3726fd351/xarray/conventions.py#L726-L744
The So, this issue is about including the non-auxiliary coordinates by default because it's permissible in general, and it is even required for so-called "Discrete Sampling Geometries". |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Only auxiliary coordinates are listed in nc variable attribute 1154014066 |
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 2