Wrfout to NetCDF
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 20/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- python
调研方向
先使用提供的 Python 示例以及 netCDF4.Dataset、wrf.getvar、ALL_TIMES 和 HFX 变量,然后检查链接的 wrfout 样例。该 issue 没有指定 repository 文件或测试;要视为完成,需要明确定义写出符合 CF 的 NetCDF 输出并生成所请求的 HFX 时间序列图的方法。
由索引模型根据 Issue 内容生成。
描述
I have three wrfout files (sample) in the below link. These files are from NCAR wrf python tutorials.
I got some code from wrf-py github as follows to read in the data for all timesteps:-
import glob
from netCDF4 import Dataset
from wrf import getvar, ALL_TIMES
list_of_paths = glob.glob(r'/home/rajkumar/wrf_python_tutorial/wrf_tutorial_data/wrfout_d0*')
list_of_paths.sort()
wrflist=[]
for i in range(0, len(list_of_paths)-1):
wrflist.append(Dataset(list_of_paths[i]))
HFX=getvar(wrflist, "HFX", timeidx=ALL_TIMES, method="join")
print(HFX)
Now I am trying to do two things:-
- Write the data in classic NetCDF (CF compliant) for the variable HFX for all times( time series).
- Create a 2D Plot for the time series for the variable HFX (some thing like an area average for all timesteps)
Would be grateful if someone can help.
- 主要语言
- 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 条评论 ·
-
难度 4/5 3-5 天 新手友好度 35/100
NCAR/wrf-python#286 · 3 条评论 ·
-
难度 5/5 一周以上 新手友好度 25/100
NCAR/wrf-python#282 · 1 条评论 ·
-
PyPI releases 未关闭
NCAR/wrf-python#274 · 5 条评论 · 1 个 reaction · 已指派 1 人 ·
相似的 Issue
-
agent-ready documentation needs-triage
难度 1/5 1-3 小时 新手友好度 88/100
-
documentation
难度 1/5 1 小时以内 新手友好度 91/100
-
workflow-status page template still says reusable workflows are "triggered only by workflow_call:" 未关闭
难度 1/5 1 小时以内 新手友好度 92/100
-
instance instance add
难度 1/5 1 小时以内 新手友好度 72/100
searxng/searx-instances#939 · 1 条评论 ·
-
area-deployment area-integrations triage:bot-seen
难度 2/5 半天 新手友好度 86/100