爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 7309|回复: 2

用NCL和Grads画同一个FNL资料850hpa的风向风速,结果不一样

[复制链接]

新浪微博达人勋

发表于 2018-9-17 17:13:43 | 显示全部楼层 |阅读模式

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

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

x
NCL:
a    = addfile ("./fnl_20161217_06_00.grib2", "r")
  u   = a->UGRD_P0_L100_GLL0({850},:,:)
  v   = a->VGRD_P0_L100_GLL0({850},:,:)

  wks = gsn_open_wks("png","850")                 

  res                         = True            
  res@vcRefMagnitudeF         = 10.               
  res@vcRefLengthF            = 0.050              
  res@vcGlyphStyle            = "FillArrow"         
  res@vcMinDistanceF          = 0.025              

  res@mpOutlineOn             = True               

  res@mpMinLatF = 30
  res@mpMaxLatF = 50
  res@mpMinLonF = 108
  res@mpMaxLonF = 135


  plot=gsn_csm_vector_map_ce(wks,u,v,res)      

end


Grads:
'reinit'
'open e:\fnlnew\fnl_20161216_00_00.ctl'
'set t 6'
'set grads off'
'set grid off'
'set lat 30 50'
'set lon 108 135'

'set lev 850'
'set mpdset cnworld'
'set map 1 1 8'
'set parea 1 9 1 8'
'set gxout shaded'
'set cint 1'
'd:\FNL\file:///C:\Users\Tian\AppData\Local\Temp\%W@GJ$ACOF(TYDYECOKVDYB.png40selanhong.gs'
'set clevs  -14 -13 -12 -11-10 -9 -8 -7 -6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14'
'd tmpprs-273.16'

'set gxout contour'
'set cint 2'
'set ccolor 1'
'set cthick 8'
'set cstyle 4'
'd tmpprs-273.16'

'set gxout contour'
'set cint 1'
'set ccolor 1'
'set cthick 8'
'set cstyle 1'
'd hgtprs'


'set gxout vector'
'set ccolor 1'
'set arrscl 0.5 10'
'define u=ugrdprs'
'define v=vgrdprs'
'd u; v'
'cbarn 0.9 1 9.5 4.5'
'draw title 18UTC 19DEC'
'printim e:\fnlnew\16.png white'



850.png 6.png

图1是NCL画的,图2是Grads画的,风的大小和方向根本就是差异很大呀,简直百思不得其解
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2020-1-14 10:08:01 | 显示全部楼层
顶顶顶顶顶,求问
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

新浪微博达人勋

 楼主| 发表于 2020-1-14 10:28:17 | 显示全部楼层
我明白了,应该写85000
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

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

本版积分规则

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

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

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