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

The correct formulation for rotating to Earth-relative winds

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python
領域
data

調査の方向性

まず dcomputeuvmet のソースと issue 13 の関連する議論を確認し、その後、その成分回転をここに引用されている方程式と比較してください。どの定式化が WRF のグリッド相対風の規約に一致するかを判断し、利用可能であれば、適切な既存の風変換テストによる検証を行ったうえで、動作を文書化または修正してください。

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

説明

Hi,

I am a WRF-python user. I was wondering what equation WRF-python uses in dcomputeuvmet to derive the earth-relative wind components from the grid-relative winds? It seems from the source code that it uses the following:

uvmet(i,j,1) = vlongcb + ulongca # I believe this is the u-earth component
uvmet(i,j,2) = vlongca - ulongcb # I believe this is the v-earth component

where,

longcb = longcaconerpd
longca = COS(longcb)
longcb = SIN(longcb)

However, from David Oven's website, he says that the correct formula are the following:

Uearth = Ucosalpha - Vsinalpha
Vearth = Vcosalpha + Usinalpha

and that 'NOTE: this is the correct version of these equations. Some sources on the Web incorrectly reverse the signs on the sinalpha terms.'

This seems to suggest the formula in the WRF-Python internal dcomputeuvmet is incorrect? Sorry, I am quite confused now.

Related to this post https://github.com/NCAR/wrf-python/issues/13. Bill also suggests using:

u_earth = u * COSALPHA - v * SINALPHA
v_earth = v * COSALPHA + u * SINALPHA

Any advice would be appreciated,

David

主要言語
Python
スター
498
フォーク
178
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

NCAR/wrf-python のほかの issue

NCAR/wrf-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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