爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 8618|回复: 8

【求助】同样的输入,昨天能用今天报错不能打开nc文件!!calwrf

[复制链接]

新浪微博达人勋

发表于 2016-8-25 10:25:14 | 显示全部楼层 |阅读模式

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

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

x
最近一直有在用calwrf转wrfout文件,这段时间一直用得没问题,昨天都还用了,可是今天一早发现,一用就报错,报错内容说是不能打开nc文件
检查了很久,nc文件没有问题,calwrf内容设置应该也没问题,因为不管用新设置还是以前用过的设置,都一样报这样的错误,现在实在是找不到原因了,万能的论坛,谁能帮帮我!!!
QQ截图20160825102918.jpg




同样的输入文件,同样的calwrf设置,昨天能用,今天就报错,这不科学!!!这不科学!!!这不科学!!!这不科学!!!这不科学!!!
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2017-3-3 21:43:27 | 显示全部楼层
您好,我最近的毕设也需要用CALWRF转文件,刚刚入门很多不懂,我的CALWRF还没有编译通过,能麻烦您说一下calwrf在linux系统的编译吗 下载CALWRF的版本 netcdf和pgi版本 虽然不知道是不是版本的问题
http://www.src.com/calpuff/calpuff1.htm这是我下载CALWRF的地址,我用的是CALWRF_v2.0.1
用compile.sh编译出现很多问题 解决了一些 现在还有问题 compile.sh是这样的:
#!/bin/sh
# Compile calwrf on Linux using pgf95

if [ -f calwrf.exe ]; then rm calwrf.exe; fi

pgf90 -Bstatic calwrf.f -L/usr/local/netcdf/lib -L/usr/lib/x86_64-redhat-linux5E/lib64 -I/usr/local/netcdf/include -lnetcdf -lm -o calwrf.exe
这个是我改过之后的,下载的文件中的compile.sh是这样的:
#!/bin/sh
# Compile calwrf on Linux using pgf95

if [ -f calwrf.exe ]; then rm calwrf.exe; fi

pgf95 -Bstatic calwrf_v2.0.1.f -lnetcdf -lm -o calwrf.exe

我现在的错误是:[root@hitsunli code]# ./compile.sh
/tmp/pgf90lkJbHC5lkGEP.o: In function `calwrf':
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:144: undefined reference to `nf_open_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:154: undefined reference to `nf_inq_varid_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:167: undefined reference to `nf_inq_varid_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:167: undefined reference to `nf_inq_var_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:173: undefined reference to `nf_inq_dimlen_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:180: undefined reference to `nf_get_vara_text_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:194: undefined reference to `nf_inq_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:203: undefined reference to `nf_inq_dim_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:388: undefined reference to `nf_inq_varid_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:388: undefined reference to `nf_inq_varid_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:392: undefined reference to `nf_get_vara_real_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:392: undefined reference to `nf_inq_varid_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:392: undefined reference to `nf_inq_varid_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:395: undefined reference to `nf_get_vara_real_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:427: undefined reference to `nf_inq_varid_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:427: undefined reference to `nf_get_vara_real_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:427: undefined reference to `nf_inq_varid_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:427: undefined reference to `nf_get_vara_real_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:438: undefined reference to `nf_inq_varid_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:438: undefined reference to `nf_get_vara_real_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:567: undefined reference to `nf_inq_varid_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:589: undefined reference to `nf_get_vara_real_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:589: undefined reference to `nf_inq_varid_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:596: undefined reference to `nf_get_vara_real_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:602: undefined reference to `nf_get_vara_real_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:612: undefined reference to `nf_get_vara_real_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:612: undefined reference to `nf_inq_varid_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:617: undefined reference to `nf_get_vara_real_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:624: undefined reference to `nf_get_vara_real_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:631: undefined reference to `nf_get_vara_real_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:631: undefined reference to `nf_inq_varid_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:631: undefined reference to `nf_get_vara_real_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:676: undefined reference to `nf_get_vara_real_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:713: undefined reference to `nf_inq_varid_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:731: undefined reference to `nf_get_vara_real_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:731: undefined reference to `nf_inq_varid_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:731: undefined reference to `nf_get_vara_real_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:779: undefined reference to `nf_get_vara_real_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:779: undefined reference to `nf_inq_varid_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:790: undefined reference to `nf_get_vara_real_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:816: undefined reference to `nf_get_vara_real_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:1228: undefined reference to `nf_close_'
/tmp/pgf90lkJbHC5lkGEP.o: In function `gblatts_':
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:1856: undefined reference to `nf_get_att_text_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:1856: undefined reference to `nf_inq_att_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:1898: undefined reference to `nf_get_att_text_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:1898: undefined reference to `nf_inq_att_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:1923: undefined reference to `nf_inq_att_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:1931: undefined reference to `nf_get_att_text_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:1940: undefined reference to `nf_get_att_int_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:1944: undefined reference to `nf_get_att_real_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:1953: undefined reference to `nf_get_att_int_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:1961: undefined reference to `nf_get_att_real_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:1961: undefined reference to `nf_get_att_real_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:1961: undefined reference to `nf_get_att_real_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:1987: undefined reference to `nf_inq_varid_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:1995: undefined reference to `nf_get_att_text_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:1995: undefined reference to `nf_inq_att_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:1995: undefined reference to `nf_get_att_text_'
/root/桌面/CALWRF_v2.0.1/CALWRF/code/./calwrf.f:1995: undefined reference to `nf_inq_att_'

不知道您是否遇到过此类问题,或者您能具体告诉我一下您编译的过程可以吗?很着急,谢谢您!!
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2018-9-9 23:23:51 | 显示全部楼层
请问您问题解决了吗?
您遇到过这种情况吗?
This is not a wrfout file
No 3D.DAT will be created
FORTRAN STOP
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2022-1-18 16:57:37 | 显示全部楼层
丽丽 发表于 2017-3-3 21:43
您好,我最近的毕设也需要用CALWRF转文件,刚刚入门很多不懂,我的CALWRF还没有编译通过,能麻烦您说一下ca ...

层主,遇到了类似的问题 有解决么?
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

新浪微博达人勋

发表于 2022-5-18 15:32:59 | 显示全部楼层
段傻瓜瓜 发表于 2022-1-18 16:57
层主,遇到了类似的问题 有解决么?

同等问题,请问您解决了吗?
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

新浪微博达人勋

发表于 2022-12-9 16:02:26 | 显示全部楼层
段傻瓜瓜 发表于 2022-1-18 16:57
层主,遇到了类似的问题 有解决么?

我也在研究calwrf的linux编译,可以加一下好友交流吗?QQ1033811668,非常感谢!!
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

新浪微博达人勋

发表于 2022-12-16 22:23:16 | 显示全部楼层
Dahoe 发表于 2018-9-9 23:23
请问您问题解决了吗?
您遇到过这种情况吗?
This is not a wrfout file

遇到了同样的问题,请问您是怎么解决的呀
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

新浪微博达人勋

发表于 2023-2-8 09:01:36 | 显示全部楼层
ynn112 发表于 2022-12-16 22:23
遇到了同样的问题,请问您是怎么解决的呀

可能你的wrfout不是用素WRF跑出来的,比如编译了WRF-chem模块
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

新浪微博达人勋

发表于 2023-3-12 12:24:29 | 显示全部楼层
Dahoe 发表于 2023-2-8 09:01
可能你的wrfout不是用素WRF跑出来的,比如编译了WRF-chem模块

calwrf版本的问题,升级新版本就解决了
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

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

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

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