运行WPS遇到的问题及解决办法
http://www2.mmm.ucar.edu/wrf/OnLineTutorial/Class/cases/find_the_bugs.php#
For this case we are going to use the default case you have been using, but now the instructions below contain BUGS.
It is your task to find and correct them.To make this exercise work correctly, it is best to start from new clean code, get the following tar file /wrfhelp/SOURCE_CODE/WRFV3_bugs.TAR.gz
Once you have untarred this file, you will have the following new directory, Find_the_Bugs, which will contain directories WPS and WRFV3. For this exercise, work in these directories.
1. Set-up and Run geogrid
- Make sure you are in the WPS directory.
- We have provided you with a namelist, so don't edit anything, simply start running the code.
- Run geogrid.exe:
./geogrid.exe- Since a number of errors were built in, let's work through them one by one.
If you have trouble working out the error, mouse over the link to find the solution.
After you have a fix for the problem - run geogrid.exe again to look for the next one.
- ERROR: For nest 2, (e_we-s_we+1) must be one greater than an interger multiple of the parent_grid_ratio of 3.
Hint: This has to do with domain 2's dimension sizes.
See if you can correct this, or else see the answer here.- ERROR: Could not open /mmm/users/wrfhelp/WPS_GEOG/topo_10m/index
Hint: Where are your static data located?
See if you can correct this, or else find the solution here.All fixed - let's move on to ungrib.
2. Set-up and Run ungrib
Degrib and reformat meteorological data from another model.
For this Practical Case we are going to use data from the Severe Snow Storm in Colorado Case.
Case dates are 2006-12-19_12 to 2006-12-20_12, and data are available 6-hourly.So let's run ungrib:
./ungrib.exeYou should see the following problems. See if you can figure them out before getting the solution:
- ERROR: edition_num: unable to open GRIBFILE.AAA
Hint: How does ungrib know which data to use? Solution- ***** ERROR in Subroutine PARSE_TABLE:
Problem opening file Vtable.
File ''Vtable'' does not exist.
ERROR: ***** Stopping in Subroutine PARSE_TABLE
Hint: Is there a Vtable available for ungrib to use? Solution- ERROR: Data not found: 2007-09-15_00:00:00.0000
Hint: Look in the directory /wrfhelp/DATA/Colorado to see at which times the data are available. Solution
3. Set-up and Run metgrid
Now let's us run metgrid:
./metgrid.exeYou should see the following problems. Fix them one at a time untill metgrid runs successfully:
- WARNING: Couldn't open file NARI:2006-12-19_12 for input.
ERROR: The mandatory field TT was not found in any input data.
Hint: What is the input to metgrid? And what was the output from ungrib?
Solution- Processing domain 2 of 2
GETH_IDTS: Month of NDATE = 0
GETH_IDTS: Month of ODATE = 0
GETH_IDTS: Day of NDATE = 0
GETH_IDTS: Day of ODATE = 0
ERROR: Screwy NDATE: 0000-00-00_00:00:00
Hint: What were domain 2's dates set too?
SolutionSuccess - let's move on to the WRF model
Set-up WRF
- Make sure you are in the WRFV3/test/em_real directory.
- As we are looking for bugs simply start by running real.exe
mpirun -np 1 real.exeYou should see the following problems in your 'rsl.error.0000' file. Fix them one at a time untill real runs successfully:
- -------------- FATAL CALLED ---------------
FATAL CALLED FROM FILE: LINE: 406
error opening met_em.d01.2000-01-24_12:00:00.nc for input; bad date in namelist or file not in directory
-------------------------------------------
Hint: met_em.d01.2000-01-24_12:00:00.nc?
Solution- -------------- FATAL CALLED ---------------
FATAL CALLED FROM FILE: LINE: 406
error opening met_em.d01.2008-06-23_00:00:00.nc for input; bad date in namelist or file not in directory
-------------------------------------------
Hint: Oops - thought we just fixed this one? But look carefully at the file it is complaining about.
Solution- ----------------- ERROR -------------------
namelist : num_metgrid_soil_levels = 2
input files : NUM_METGRID_SOIL_LEVELS = 4 (from met_em files).
-------------- FATAL CALLED ---------------
FATAL CALLED FROM FILE: <stdin> LINE: 608
Mismatch between namelist and global attribute NUM_METGRID_SOIL_LEVELS
-------------------------------------------
Hint: How many soil levels are coming from the met_em files? Solution- -------------- FATAL CALLED ---------------
FATAL CALLED FROM FILE: <stdin> LINE: 727
input_wrf.F: SIZE MISMATCH: namelist ide,jde,num_metgrid_levels= 74 61 27 ; input data ide,jde,num_metgrid_levels= 75 70 40
-------------------------------------------
Hint: Check the dimension sizes set in the WPS namelist and met_em files. SolutionThat's ALL Folks, both real and wrf should now run successfully.
You can now continue to run another practical example.
运行WPS遇到的问题及解决办法的更多相关文章
- Win64位操作系统无法运行暗黑2战网D2GS的解决办法
前几天想在我的Win7 x64系统里做个战网自己玩,搭建完毕后进入战网创建房间出现经典的问题,“排队1”. 原因很清楚,就是D2GS无法启动:但是使用之前的各种办法尝试后无果,后来查看D2GS同目录下 ...
- 某些编辑器运行C程序闪退的解决办法
在某些C语言编辑器中运行C语言程序或点击生成的.exe文件出现闪退现象的解决办法,主要有两种,还有其它方法欢迎交流. 包含头文件<windows.h>,在程序末尾添加system(&quo ...
- C++运行出现"what(): std::bad_alloc"的解决办法
注:这里只是我的代码出现这种情况及对应的解决办法,你的代码不一定出现和我一样的情况.左移这篇随笔仅供参考. 运行程序出现如下结果: terminate called after throwing an ...
- gtk程序运行报 main_loop!=NULL 错误的解决办法
现象是将按钮的clicked Action与gtk_main_quit函数绑定起来会发生如上错误. 原因不明. 如果将window的destroy Action与gtk_main_quit绑定是没有问 ...
- eclipse中运行项目出现空白错误提示解决办法
别人所给出的解决办法:https://blog.csdn.net/fzdg2019/article/details/79384539 两个办法: 方法一:配置环境变量 方法二:修改eclipse安装目 ...
- win8 无法显示桌面,运行explorer.exe 提示 0xc0000018 异常 解决办法
win8 无法显示桌面,运行explorer.exe 提示 0xc0000018 错误 解决方法改注册表.这个就是DB03.EXE引起的. cmd打开注册表:regedit找到注册表"HKE ...
- 'java' 不是内部或外部命令,也不是可运行的程序的两个解决办法
第一个原因: 是环境变量path没有配置好,做如下图配置 第二个原因: 如果java环境有一段时间没有启动,再启动的时候提示这个,解决办法是进入path环境配置,如上图中界面,将JAVA_ ...
- ASP.Net Core 运行错误 Http Error 502.5 解决办法
Http Error 502.5 - Process Failure 如果你看到上面这张图片了的话,说明你在本地运行的时候报错了. 尤其好多都是我的群友,说下情况. 这个一般是本地的.NET Core ...
- Hue,Oozie运行sqoop找不到驱动解决办法
一.前言 平台:CDH 5.13.0 公司在客户那边有个项目需要部署cloudera平台,部署的时候,在这个版本的cdh中,除了基本组件,还选了sqoop2作为数据传输工具,希望能在Oozie中通过工 ...
随机推荐
- iOS开发 - OC - PCH文件使用
一. PCH文件的作用 Xcode中,PCH文件在程序编译的时候会自动包含进去.也就是说PCH中的内容是全局的,可以使用在程序的任何地方,通过这个特性,我们可以概括到PCH的作用有以下几个方面: (1 ...
- javascript属性标签
- php 教程列表
php教程 php概述 php环境搭建 PHP书写格式 php变量 php常量 PHP注释 php字符串 string PHP整型 integer PHP浮点型 float php布尔型 php数据类 ...
- ASP.NET网站中获取当前虚拟目录的应用程序目录的方法(转)
[原创]ASP.NET网站中获取当前虚拟目录的应用程序目录的方法 ASP.NET网站中获取当前虚拟目录的应用程序目录的方法1.问题描述:有时候,某个网页控件会被不同目录下文件使用,此时如果该控件中有一 ...
- openlayers优化项
做了一个简单的样式,但是做的不怎么样:希望和大家讨论下载动态图那里,怎么能够提高效率,提高数据,能够快速反应:一般的处理方法是什么?
- 微信公众平台实现pc端网站登录
亲测通过 1,pc端生成带有当前会话的sessionid的url(通过微信来扫描) 2,扫描后,微信浏览器将访问url,将微信浏览器中的sessionid改成通过url传过来的session(pc端) ...
- windows下sass安装 以及一些要注意的问题
都说sass 环境难配其时也没那么难 按照以下步骤一下一下来还是挺快的 如果你是喜欢less 那就当我没说 233333 1.sass 是基于ruby这门语言的需要使用 rubygem这个包管理器安装 ...
- html&css基础知识
***定义字符编码:一般为UTF-8(年国际通用编码) ***响应式界面:可以智能地根据用户行为以及使用的设备环境(系统平台.屏幕尺寸.屏幕定向等)进行相对应的布局,可以兼容多个终端. 在websto ...
- jQuery on 绑定的事件触发多次
jquery用on绑定事件,在代码执行过程中,可能会遇到多次执行的情况. 解决方案是在on的事件前面加上一个off,再on. $('#btnBind').off('click').on('click' ...
- gdb汇编调试
GDB调试汇编堆栈分析 代码: sudo apt-get install libc6-dev-i386命令安装所需库 进入之后先在main函数处设置一个断点,再run一下,使用disassemble指 ...