Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Problems creating CFA variables with `cf.write` from aggregation-promoted field ancillaries

クローズ 初心者向け
#971 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

@davidhassell がすでに取り組んでいます。

2026年10月6日 から。

  • #972 @davidhassell による — オープン

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
75/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python
領域
backend

調査の方向性

cf-python のコードベースで関数 cf.aggregate の実装を特定し、標準の集約変数に対して nc_get_aggregation_write_status が True に設定されている箇所を見つけ、フィールド補助変数にも同じステータス設定を追加してください。ライブラリの集約テストを実行し、修正によって集約対象に昇格されたフィールド補助変数の書き込みエラーが解消されることを確認してください。

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

説明

aggregation bug dataset read dataset write

When writing as aggregation variables field ancillary constructs that have been created by property-promotion via cf.aggregate we get:

AggregationError: Can't write <CF FieldAncillary: id%table_id(12) > as a CF aggregation variable.
This could be because some fragment values in memory have been changed relative
to those in the fragment datasets, or a Dask rechunking has occured, etc.

This should work, and is a bug relating to the fact that nc_get_aggregation_write_status is False on the field ancillary variables, when it should have been set to True in cf.aggregate

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

環境構築

はじめの一歩

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

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

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

似ている issue

Python の issue をもっと見る

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

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