- 积分
- 6003
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2011-9-1
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
大家好,我刚刚接触ncl,用convert2nc这个命令将grib格式的tigge资料转为nc格式,然后画图,觉得数据南北反向了
我用的是2008年1月27日的资料,ncl脚本如下:
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRF_contributed.ncl"
begin
;********************************************************
; open file
ff_con = addfile ("20080127-con.nc", "r")
con_tem = ff_con->t_P1_L100_GLL0(0,7,:,:)
wks= gsn_open_wks("png","tigge_con")
gsn_define_colormap(wks,"BlAqGrYeOrRe")
res=True
res@cnFillOn = True ; turn on color
res@cnLinesOn = False ; turn contour lines
res@gsnSpreadColors = True ; use entire color map
res@lbLabelAutoStride = True ; let NCL determine label spacing
res@tfDoNDCOverlay = True
plot = gsn_csm_contour_map(wks,con_tem,res)
end
画出来底层的温度资料如下图
1月份应该北半球冷,南半球暖啊,可是这个图却相反啊,求大神们解答到底是哪里出问题了?
|
|