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

CESM test suite does not compare mom6.h.bgc.native history files

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
55/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
領域
testing

調査の方向性

まず、cprnc に渡す history ファイルを選択する CESM test-suite の設定を特定し、その後、h.bgc.z と h.bgc.native の扱いを比較します。mom6.h.bgc.native ファイルが自動比較に含まれ、テスト出力にその差分が報告されれば完了です。

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

説明

I added two new fields to the mom6.h.bgc.native stream in https://github.com/NCAR/MOM6/pull/419 and went looking for cprnc output confirming the change... instead I found that we are comparing h.bgc.z but not h.bgc.native:

$ ls *mom6.h.*.nc.cprnc.out
ERS.TL319_t232.G1850MARBL_JRA.derecho_intel.GC.20260411_092035_zdv47l.mom6.h.bgc.z.0001-01-11.nc.cprnc.out
ERS.TL319_t232.G1850MARBL_JRA.derecho_intel.GC.20260411_092035_zdv47l.mom6.h.native.0001-01-11.nc.cprnc.out
ERS.TL319_t232.G1850MARBL_JRA.derecho_intel.GC.20260411_092035_zdv47l.mom6.h.ocean_geometry.nc.cprnc.out
ERS.TL319_t232.G1850MARBL_JRA.derecho_intel.GC.20260411_092035_zdv47l.mom6.h.rho2.0001-01-11.nc.cprnc.out
ERS.TL319_t232.G1850MARBL_JRA.derecho_intel.GC.20260411_092035_zdv47l.mom6.h.sfc.0001-01-11.nc.cprnc.out
ERS.TL319_t232.G1850MARBL_JRA.derecho_intel.GC.20260411_092035_zdv47l.mom6.h.static.nc.cprnc.out
ERS.TL319_t232.G1850MARBL_JRA.derecho_intel.GC.20260411_092035_zdv47l.mom6.h.z.0001-01-11.nc.cprnc.out

For that specific PR I was able to compare files by hand:

$ my_ncdiff ../../ERS.TL319_t232.G1850MARBL_JRA.derecho_intel.G.20260410_135953_nhg5ae/run/ERS.TL319_t232.G1850MARBL_JRA.derecho_intel.G.20260410_135953_nhg5ae.mom6.h.bgc.native.0001-01-11.nc ERS.TL319_t232.G1850MARBL_JRA.derecho_intel.GC.20260411_092035_zdv47l.mom6.h.bgc.native.0001-01-11.nc
Modify: 2026-04-11 00:54:49.000000000 -0600
Modify: 2026-04-11 19:04:47.000000000 -0600
/glade/u/apps/opt/ncl/6.6.2/bin/ncl
 Copyright (C) 1995-2019 - All Rights Reserved
 University Corporation for Atmospheric Research
 NCAR Command Language Version 6.6.2
 The use of this software is governed by a License Agreement.
 See http://www.ncl.ucar.edu/ for more details.
Comparing ../../ERS.TL319_t232.G1850MARBL_JRA.derecho_intel.G.20260410_135953_nhg5ae/run/ERS.TL319_t232.G1850MARBL_JRA.derecho_intel.G.20260410_135953_nhg5ae.mom6.h.bgc.native.0001-01-11.nc and ERS.TL319_t232.G1850MARBL_JRA.derecho_intel.GC.20260411_092035_zdv47l.mom6.h.bgc.native.0001-01-11.nc:
-----
Could not find u10_sqr in file1!
Could not find ice_fraction in file1!

Variable: ATM_FINE_DUST_FLUX_CPL ...
... variable attribute 'units' does not match ...
    'kg/m^2/s'
    'kg m-2 s'

Variable: ATM_COARSE_DUST_FLUX_CPL ...
... variable attribute 'units' does not match ...
    'kg/m^2/s'
    'kg m-2 s'

Variable: SEAICE_DUST_FLUX_CPL ...
... variable attribute 'units' does not match ...
    'kg/m^2/s'
    'kg m-2 s'

Variable: ATM_BLACK_CARBON_FLUX_CPL ...
... variable attribute 'units' does not match ...
    'kg/m^2/s'
    'kg m-2 s'

Variable: SEAICE_BLACK_CARBON_FLUX_CPL ...
... variable attribute 'units' does not match ...
    'kg/m^2/s'
    'kg m-2 s'

Summary
-------
(1) Header information does not match - either variables are not the same or some variables differ in dimensions.
    * 0 variables in file1 but not file2
    * 2 variables in file2 but not file1
(2) Variables that matched in name and dimension differed in metadata.
(3) No differences were found in matching variables.
(4) No differences were found in missing value locations.
(5) This implies there are differences in the files.
FILES DIFFER
主要言語
Jupyter Notebook
スター
6
フォーク
23
平均マージ
12日 2時間
マージ済み PR(30日)
1

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

ESCOMP/MOM_interface のほかの issue

ESCOMP/MOM_interface の issue をすべて見る

似ている issue

Testing & QA の issue をもっと見る

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

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