爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 10530|回复: 17

求教CALWRF在windows下运行教程

[复制链接]

新浪微博达人勋

发表于 2018-9-4 15:33:47 | 显示全部楼层 |阅读模式

登录后查看更多精彩内容~

您需要 登录 才可以下载或查看,没有帐号?立即注册 新浪微博登陆

x
想用calwrf将wrfout装换成3d.dat格式,但是不知道calwrf具体如何使用
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2018-9-4 15:35:18 | 显示全部楼层
本帖最后由 Dahoe 于 2018-9-4 15:36 编辑

先说下做到了哪一步,根据官网教程下载了mingw-w64-install.exe,但是不知道有没有在windows上安装了gfortranCOMPILING ON WINDOWS
     1) Get and install gfortran for Windows.
        http://gcc.gnu.org/wiki/GFortranBinaries
        http://users.humboldt.edu/finneyb/gfortran-windows-20130301.exe

     2) Get pre-compiled NetCDF from UCAR.
        ftp://ftp.unidata.ucar.edu/pub/netcdf/contrib/win32/netcdf-3.6.2-beta5_pgi_w32bin.zip
     
     3) Extract "netcdf-3.6.2-beta5_pgi_w32bin.zip" into the same directory
        as the CALWRF source code ("code" directory).

     4) Run "compile.bat"

     5) When running CALWRF, make sure the following 4 DLL files stay in same
        directory as "calwrf.exe":

        Three gcc/gfotran DLL files:
        * libgcc_s_dw2-1.dll
        * libgfortran-3.dll
        * libquadmath-0.dll
        Available at:
        C:\Program Files\gfortran\bin\
        or
        C:\Program Files (x86)\gfortran\bin\
        See "GCC Runtime Library Exception.pdf" for license to redistribute.

        One NetCDF DLL file:
        * libnetcdf-0.dll
        See "netcdf.h" for license to redistribute.
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2018-9-4 15:38:43 | 显示全部楼层
然后把netcdf-3.6.2-beta5_pgi_w32bin.zip解压到了calwrf.exe文件夹,运行了calwrf.bat
,calwrf.exe目录下出现了4个dll
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2018-9-4 15:39:51 | 显示全部楼层
接下来我试着把imp文件放在wrf.exe目录下然后运行,但是一直出错,在下实在不知道该怎么弄了,求大家帮忙
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2018-9-4 15:42:26 | 显示全部楼层
这是出的两次错,求支招
捕获.PNG
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2018-10-8 11:28:30 | 显示全部楼层
楼主,想问问你compile.bat是怎么运行的
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2018-10-8 11:28:55 | 显示全部楼层
我没有找到这个文件
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2018-10-8 17:04:41 | 显示全部楼层
wjmzbmr 发表于 2018-10-8 11:28
我没有找到这个文件

在code文件夹里
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2018-10-9 17:55:34 | 显示全部楼层

哦哦 找到了,我之前因为没找到就去探索linux的用法了,但是也遇到了很多困难,现在正在焦头烂额中。
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2018-10-9 17:57:24 | 显示全部楼层
Control inp file:calwrf.inp
  N_TIMES:            1
  
Processing GLOBAL ATTRIBUTES:
  
This is not a wrfout file
No 3D.DAT will be created
Warning: Attribute not exist:    3  DYN_OPT         -43
Check whether this att. is critical
  Reset I/J/K ranges to:            1          160            1          180
            1           29



这是我遇到的问题,楼主你会吗
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

快速回复 返回顶部 返回列表