issue_comments: 1069064616
This data as json
| html_url | issue_url | id | node_id | user | created_at | updated_at | author_association | body | reactions | performed_via_github_app | issue |
|---|---|---|---|---|---|---|---|---|---|---|---|
| https://github.com/pydata/xarray/issues/6310#issuecomment-1069064616 | https://api.github.com/repos/pydata/xarray/issues/6310 | 1069064616 | IC_kwDOAMm_X84_uKGo | 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
} |
1154014066 |