爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
楼主: 天目神眉

地形敏感性实验参考

  [复制链接]

新浪微博达人勋

发表于 2015-5-28 21:40:24 | 显示全部楼层
以前没有转过WRF,有个问题一直想不通,如果我把地形增高了,那么对应的气压是不是也会发生变化呀,那个气压层怎么办呢?本人菜鸟,求大侠指导
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2015-5-29 12:14:37 | 显示全部楼层

感谢楼主的分享~~
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2015-6-8 11:54:42 | 显示全部楼层
学习下,谢谢分享
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2015-6-8 14:08:37 | 显示全部楼层
直接修改地形,会对其它有影响不?
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2015-6-8 15:04:51 | 显示全部楼层
学习,学习!
密码修改失败请联系微信:mofangbao
回复

使用道具 举报

新浪微博达人勋

发表于 2015-6-23 21:15:52 | 显示全部楼层
值得借鉴,感谢分享
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2015-6-25 19:28:24 | 显示全部楼层
./read_wrf_nc_change wrfinput_d01 -EditData HGT
-bash: ./read_wrf_nc_change: No such file or directory
你好,我运行时候出现这样问题,但read_wrf_nc_change.f就是在当前路径下,请问这大概什么问题,谢谢
RR{@R6DOXKPW0}0OG%%2(`2.png
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2015-6-25 19:40:07 | 显示全部楼层
ifort read_wrf_nc_change.f -L/usr/local/netcdf/lib -lnetcdf -lm \-I/usr/local/netcdf/include -FR -o read_wrf_nc_change.f
运行之后出现如下,不知道出错没

read_wrf_nc_change.f(460): error #5102: Cannot open include file 'netcdf.inc'
  include 'netcdf.inc'
----------^
read_wrf_nc_change.f(549): error #6404: This name does not have a type, and must have an explicit type.   [NF_OPEN]
    rcode = nf_open(file(1:length_input), NF_WRITE, cdfid )
------------^
read_wrf_nc_change.f(563): error #6404: This name does not have a type, and must have an explicit type.   [NF_INQ_VARID]
  rcode = nf_inq_varid ( cdfid, 'Times', id_var )
----------^
read_wrf_nc_change.f(570): error #6404: This name does not have a type, and must have an explicit type.   [NCVID]
      id_time = ncvid( cdfid, 'Times', rcode )
----------------^
read_wrf_nc_change.f(573): error #6404: This name does not have a type, and must have an explicit type.   [NF_INQ_VAR]
  rcode = nf_inq_var( cdfid, id_time, varnam, ivtype, ndims, dimids, natts )
----------^
read_wrf_nc_change.f(575): error #6404: This name does not have a type, and must have an explicit type.   [NF_INQ_DIMLEN]
    rcode = nf_inq_dimlen( cdfid, dimids(i), dims(i) )
------------^
read_wrf_nc_change.f(584): error #6404: This name does not have a type, and must have an explicit type.   [NF_GET_VARA_TEXT]
    rcode = NF_GET_VARA_TEXT  ( cdfid, id_time,      &
------------^
read_wrf_nc_change.f(600): error #6404: This name does not have a type, and must have an explicit type.   [NF_INQ]
  rcode = nf_inq(cdfid, nDims, nVars, nAtts, unlimDimID)
----------^
read_wrf_nc_change.f(606): error #6404: This name does not have a type, and must have an explicit type.   [NF_INQ_DIM]
    rcode = nf_inq_dim(cdfid, ii, dname, dval)
------------^
read_wrf_nc_change.f(622): error #6404: This name does not have a type, and must have an explicit type.   [NF_INQ_ATTNAME]
      rcode = nf_inq_attname(cdfid,nf_global,iatt,att_name)
--------------^
read_wrf_nc_change.f(623): error #6404: This name does not have a type, and must have an explicit type.   [NF_INQ_ATT]
      rcode = nf_inq_att( cdfid,nf_global,att_name,ivtype,attlen )
--------------^
read_wrf_nc_change.f(625): error #6404: This name does not have a type, and must have an explicit type.   [NF_GET_ATT_TEXT]
        rcode = NF_GET_ATT_TEXT(cdfid, nf_global, att_name, value_chr )
----------------^
read_wrf_nc_change.f(628): error #6404: This name does not have a type, and must have an explicit type.   [NF_GET_ATT_INT]
        rcode = NF_GET_ATT_INT(cdfid, nf_global, att_name, value_int )
----------------^
read_wrf_nc_change.f(632): error #6404: This name does not have a type, and must have an explicit type.   [NF_GET_ATT_REAL]
        rcode = NF_GET_ATT_REAL(cdfid, nf_global, att_name, value_real )
----------------^
read_wrf_nc_change.f(1320): error #5102: Cannot open include file 'netcdf.inc'
      include 'netcdf.inc'
--------------^
read_wrf_nc_change.f(1661): error #6404: This name does not have a type, and must have an explicit type.   [I]
     do i=1,181      
--------^
read_wrf_nc_change.f(1661): error #6063: An INTEGER or REAL data type is required in this context.   [I]
     do i=1,181      
--------^
read_wrf_nc_change.f(1662): error #6404: This name does not have a type, and must have an explicit type.   [J]
           do j=1,160   
--------------^
read_wrf_nc_change.f(1662): error #6063: An INTEGER or REAL data type is required in this context.   [J]
           do j=1,160   
--------------^
compilation aborted for read_wrf_nc_change.f (code 1)
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2015-6-26 10:57:48 | 显示全部楼层
陌生街角 发表于 2012-2-18 13:38
我在用pgi编译这个程序是出现了错误,楼主知道这是什么原因导致的吗?

netcdf的路径已经指定了,环境 ...

你把.f文件改成.f90,然后用 pgf90 read_wrf_nc_change.f90 -L/usr/local/netcdf/lib -lnetcdf -lm -I/usr/local/netcdf/include  -Mfree  -o read_wrf_nc语句试试。另外问下怎么制定netcdf路径
?
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2015-6-26 11:31:40 | 显示全部楼层
我的问题解决了,就是netcdf库的路径不对,设置正确了就能正确运行
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

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

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

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