爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 6544|回复: 0

用ncl绘制高原那曲的K指数

[复制链接]
发表于 2019-11-20 22:08:01 | 显示全部楼层 |阅读模式

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

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

x
求助求助! 用ncl绘制高原那曲的K指数,已经改了wrf经纬度还是说有问题,烦请各位大神看下怎么回事
显示

fatal:Dimension (west_east) of (tc_plane) does not have an associated coordinate variable
fatal:["Execute.c":8640]:Execute: Error occurred at or near line 54 in file /home/gyy/model/naqu/20150812xin/K指数/outK

以下为程序

load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl"
begin
   a = addfile("/home/gyy/model/naqu/20150812xin/cams/wrfout_d03_2015-08-12_12:00:00.nc","r")

type = "x11"
wks = gsn_open_wks(type,"/home/gyy/model/naqu/20150812xin/K指数/outkk")


times= wrf_user_list_times(a); get times in the file
ntimes = dimsizes(times)   ; number of times in the file

lat = a->XLAT(0, :, 0)
lon = a->XLONG(0, 0, :)
lat2d = a->XLAT(0, :, :)
lon2d = a->XLONG(0, :, :)

  tc = wrf_user_getvar(a,"tc",-1
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

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

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