爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 5792|回复: 0

请教:CAM2WRF的使用

[复制链接]
发表于 2017-4-10 14:29:53 | 显示全部楼层 |阅读模式

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

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

x
本帖最后由 小温馨岁月 于 2017-4-16 16:20 编辑

1.cesm数据需要包含cam-header和clm-header中的所有变量才可以进行转换。
isccp_prsMean ISCCP pressure
isccp_tauMean ISCCP optical depth
isccp_prstauMean pressure (mb).mean  optical depth (unitless)/1000
缺少如上变量,应如何处理?
2.在运行CAM_netcdf_to_WRF_intermediate.f90时出错如下
CAM_netcdf_to_WRF_intermediate.f90(257): error #5102: Cannot open include file 'netcdf.inc'
  INCLUDE 'netcdf.inc'
----------^
CAM_netcdf_to_WRF_intermediate.f90(258): error #6404: This name does not have a type, and must have an explicit type.   [NF_NOERR]
  IF (STATUS .NE. NF_NOERR) THEN
------------------^
CAM_netcdf_to_WRF_intermediate.f90(259): error #6404: This name does not have a type, and must have an explicit type.   [NF_STRERROR]
     PRINT *, NF_STRERROR(STATUS)
--------------^
CAM_netcdf_to_WRF_intermediate.f90(334): error #5102: Cannot open include file 'netcdf.inc'
  INCLUDE 'netcdf.inc'
----------^
CAM_netcdf_to_WRF_intermediate.f90(351): error #6404: This name does not have a type, and must have an explicit type.   [NF_OPEN]
  STATUS = NF_OPEN(netcdf_cam_filename, 0, NCID)
-----------^
CAM_netcdf_to_WRF_intermediate.f90(352): error #6404: This name does not have a type, and must have an explicit type.   [NF_NOERR]
  IF (STATUS .NE. NF_NOERR) CALL HANDLE_ERR(STATUS)
------------------^
CAM_netcdf_to_WRF_intermediate.f90(368): error #6404: This name does not have a type, and must have an explicit type.   [NF_INQ_VARID]
  STATUS = NF_INQ_VARID(NCID, 'lat', LAT_var_id)
-----------^
CAM_netcdf_to_WRF_intermediate.f90(418): error #6404: This name does not have a type, and must have an explicit type.   [NF_INQ_ATTLEN]
  STATUS = NF_INQ_ATTLEN (NCID, lon_var_ID, 'units', lon_lat_netcdf_units_length)
-----------^
CAM_netcdf_to_WRF_intermediate.f90(424): error #6404: This name does not have a type, and must have an explicit type.   [NF_GET_ATT_TEXT]
  STATUS = NF_GET_ATT_TEXT (NCID, lon_var_ID, 'units', lon_netcdf_units)
-----------^
CAM_netcdf_to_WRF_intermediate.f90(498): error #6404: This name does not have a type, and must have an explicit type.   [NF_GET_VAR_DOUBLE]
  STATUS = NF_GET_VAR_DOUBLE(NCID, lon_var_ID, lon)
-----------^
CAM_netcdf_to_WRF_intermediate.f90(505): error #6404: This name does not have a type, and must have an explicit type.   [NF_GET_VAR_REAL]
     STATUS = NF_GET_VAR_REAL(NCID, field_var_ID(ifield), field3d)
--------------^
CAM_netcdf_to_WRF_intermediate.f90(662): error #6404: This name does not have a type, and must have an explicit type.   [NF_CLOSE]
  status=NF_CLOSE(ncid)              
---------^
CAM_netcdf_to_WRF_intermediate.f90(826): error #5102: Cannot open include file 'netcdf.inc'
  INCLUDE 'netcdf.inc'
----------^
compilation aborted for CAM_netcdf_to_WRF_intermediate.f90 (code 1)

请问是何问题?是需要更改脚本的一些内容吗?
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

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

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