Converting field(s) to & from CF-compliant `xarray.Dataset`

オープン
#773 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python
領域
data

調査の方向性

まず issue #706 と、リンクされている xarray Dataset、weather-and-climate、decode_cf のドキュメントを確認します。直接変換できるケースと構造上の調整が必要なケースの両方を含め、両方向の変換に必要な CF メタデータと構造を明らかにします。変換メソッドまたは文書化された手順が両方のケースをカバーすれば完了です。

索引モデルが issue の本文から書いたものです。

説明

API review (4.0.0) documentation enhancement question

A common way to work with weather and climate datasets is of course the xarray library, so it would be nice to have a means to convert to and from an xarray.Dataset if it has sufficient and conformant-enough CF metadata and suitable structure, for which the xarray.decode_cf function may be able to assist on the xarray-side.

Ideally we can have a method for such a conversion and/or at least a recipe in the documentation showing how this can be done, for both a trivially-convertible case and for a case of a field and/or Dataset that needs some tweaks to get the right structure before the conversion can be made.

Note in #706 we considered and supported input of xarray arrays, so that helps towards this.

主要言語
Python
スター
151
フォーク
23
平均マージ
3日 9時間
マージ済み PR(30日)
2

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

NCAS-CMS/cf-python のほかの issue

NCAS-CMS/cf-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。