Convert from/to `xarray`
評估
研究方向
Read the linked issue #935 for the existing conversion direction and inspect the package-level API and current to_xarray methods. Determine how conversion from xarray datasets should construct cf.Field and cf.Domain objects, including how lists should be handled; done means both conversion directions are available through the unified package-level API. A linked pull request (#980) is already open.
由索引模型根據 Issue 內容生成。
描述
It would be nice to be able to convert from xarray datasets to cf.Field and cf.Domain constructs in memory.
See #935 (convert to xarray)
It would make sense to have a unified package-level API for this:
cf.from_xarray
cf.to_xarray
as opposed to to_xarray being a method on various classes. This new approach would also make it really easy to convert lists of fields/domains to xarray.
- 主要語言
- Python
- 星號
- 151
- 分支
- 23
- 平均合併
- 3 天 9 小時
- 30 天內合併 PR
- 2
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
NCAS-CMS/cf-python 的其他 Issue
-
documentation
難度 1/5 1 小時以內 新手友好度 72/100
-
Convert to/from iris cubes可能已有人在做 @davidhassell 於 3 天前認領。 未關閉enhancement
難度 5/5 一週以上 新手友好度 25/100
-
installation
難度 4/5 3-5 天 新手友好度 45/100
-
Attempt at unsupported conservative 3D mesh regridding可能重新可做 @sadielbartholomew 於 74 天前認領,目前沒有進行中的 PR。 未關閉bug?
-
bug
難度 3/5 1-2 天 新手友好度 45/100
查看 NCAS-CMS/cf-python 的全部 Issue
相似的 Issue
-
eegprep-lean: set channel types from the Zarr group's channel_type可能已有人在做 @claude 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 70/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 66/100
-
bug
難度 2/5 1-3 小時 新手友好度 75/100
blacklanternsecurity/bbot#3679 ·
維護者通常 2 天內回覆
-
Bot Type: Bug Type: Documentation
難度 1/5 1 小時以內 新手友好度 85/100
-
難度 2/5 1-3 小時 新手友好度 80/100
speakeasy-api/speakeasy#2159 ·
維護者通常 1 天內回覆