Potential Layer Selection Error in Storm Motion Calculation (`wrf_relhl.f90`)
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- fortran
- 领域
- data
调研方向
检查 wrf_relhl.f90 第 70–113 行附近的内容,首先确认 k3 和 k10 是如何选择的,以及 DO k = k3, k10, -1 循环如何对风层进行平均。检查 Maddox et al. 的参考文献,以及 3000–10,000 m AGL 范围的物理意图。完成的标准是确定该索引是否出于有意,并记录或实现正确的边界。
由索引模型根据 Issue 内容生成。
描述
Issue Description:
In wrf_relhl.f90, the storm motion vector is estimated as 75% of the mean wind speed and 30° to the right of the mean wind direction (lines 103-113). This method is similar to Maddox et al. (1976), which computes the mean wind using surface, 850-, 700-, 500-, 300-, and 200-hPa levels. However, a potential layer selection issue exists in the mean wind calculation between 3000–10,000 m AGL:
- The code identifies k3(layer at/above 3000 m AGL) and k10(layer at/above 10,000 m AGL) (lines 70–81)
- The current loop
DO k = k3, k10, -1(lines 87–92) likely includes data abovethe target heights, not strictly between3000–10,000 m AGL.
Proposed Fix:
Change the loop to DO k = k3+1, k10+1, -1 to ensure averaging only layers within 3000–10,000 m AGL
Questions:
- Why is the 3000–10,000 m AGL layer used? Is the current inclusion of heights outside this range intentional?
- Is the proposed fix appropriate to align with the physical intent?
Thanks!
- 主要语言
- Python
- 星标
- 498
- 派生
- 178
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
NCAR/wrf-python 的其他 Issue
-
NCAR/wrf-python#309 · 已指派 1 人 ·
-
难度 4/5 3-5 天 新手友好度 38/100
NCAR/wrf-python#307 · 5 条评论 ·
-
难度 5/5 一周以上 新手友好度 25/100
NCAR/wrf-python#282 · 1 条评论 ·
-
PyPI releases 未关闭
NCAR/wrf-python#274 · 5 条评论 · 1 个 reaction · 已指派 1 人 ·
-
难度 5/5 一周以上 新手友好度 20/100
NCAR/wrf-python#264 ·
相似的 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 ·