The correct formulation for rotating to Earth-relative winds
まだ誰も着手していません。
評価
調査の方向性
まず 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 はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
NCAR/wrf-python のほかの issue
-
NCAR/wrf-python#309 · 担当者 1 名 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
NCAR/wrf-python#307 · コメント 5 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
NCAR/wrf-python#286 · コメント 3 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
NCAR/wrf-python#282 · コメント 1 件 ·
-
PyPI releases オープン
NCAR/wrf-python#274 · コメント 5 件 · リアクション 1 件 · 担当者 1 名 ·
NCAR/wrf-python の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
stephrobert/dsoxlab#238 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
sublimehq/package_control#1780 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
nwg-piotr/nwg-displays#145 ·