Support CF Aggregation Variables
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
首先阅读 issue 中链接的 CF 1.13 aggregation-variables 规范,然后检查现有的 xr.open_dataset 和 combine_by_coords 行为。当 aggregation variables 可以在不要求单独的面向用户的函数的情况下,以正确组合外部数据的方式透明地打开时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Is your feature request related to a problem?
New and fresh from the 1.13 CF conventions released in December 2025 : the « Aggregation variable », a new syntax for creating ncml-like aggregation within valid files (mostly netCDF).
The idea is to explicitly map external variables (i.e. in another file) to section of a "virtual" variable in the main file.
Describe the solution you'd like
Would be nice if xarray was able to open these transparently, with the correct combination of combine_by_coords and such.
Describe alternatives you've considered
As this is a I/O thing, I thought it would be best to be done here, instead of cf-xarray which concerns itself with more advance/high-level stuff. And making xr.open_dataset transparent to this seems a more user-friendly idea than having an extra function from an external package handle this.
Additional context
This new thing was a standalone extension to the CF conventions (under the name CFA) since 2023 (at least) and is already implemented by package cf-python.
- 主要语言
- Python
- 星标
- 4.2k
- 派生
- 1.5k
- 平均合并
- 2 天 20 小时
- 30 天内合并 PR
- 70
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
pydata/xarray 的其他 Issue
-
xarray removes axis grid from pcolormesh可能已有人在做 @Sealdot 于 1 天前认领。 未关闭bug needs triage
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
`DataTree.map_over_datasets` behavior can be obscure sometimes可能已有人在做 @mohansree14 于 24 天前认领。 未关闭needs triage
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
Comparing attrs that contain a dict of NumPy arrays raises ValueError in identical / assert_identical可能已有人在做 @SohamXYZDev 于 30 天前认领。 未关闭bug needs triage
难度 2/5 1-3 小时 新手友好度 73/100
维护者通常 1 天内回复
-
RangeIndex` with datetime64 bounds cannot be printed (`Unknown format code 'g'`)可能已有人在做 @d-chambers 于 61 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
DataTree constructor error message says dict even though dict is not accepted可能已有人在做 @aryansk 于 100 天前认领。 未关闭bug contrib-good-first-issue topic-DataTree topic-error reporting
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
相似的 Issue
-
LLMContextNode tool builders fail on nested params like `params:retrieval.max_matches`可能已有人在做 @Shizoqua 今天认领。 未关闭Community
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 2 天内回复
-
security
难度 2/5 1-3 小时 新手友好度 78/100
btclib-org/portanode#985 ·
维护者通常 1 天内回复
-
comp/tools P2 tool/skills type/bug
难度 2/5 1-3 小时 新手友好度 78/100
NousResearch/hermes-agent#158494 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
needs-format
难度 2/5 1-3 小时 新手友好度 72/100
Niko1221/Strata#6475 · 1 条评论 ·
维护者通常 6 天内回复