;---Set map resources based on projection on WRF output file map_res = wrf_map_resources(a,map_res) map_res@mpFillOn = False map_res@mpOutlineOn = True map_res@mpDataBaseVersion = "LowRes" map_res@mpOutlineDrawOrder = "PostDraw" map_res@mpUSStateLineColor = "Black" map_res@mpPe...
; required map resources, especially those for zooming in on the map. ; USE_WRF_MAP_PROJECTION = False ;---Open file. You may need to include ".nc" at the end. filename = "wrfout_d01_2005-12-14_13:00:00.nc" filename = "wrfout_d01_2005-12-14_13:00:00.GWATC_FCST.nc" ...
1 台风路径数据下载中国气象局热带气旋资料中心(http://tcdata.typhoon.gov.cn/zjljsjj_sm.html)资料说明和资料下载如图 2 打开数据,格式如下,保存为“typhoon.txt”NCl脚本如下;***; Load NCL scriptsload "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"load "$NCARG_ROOT/lib/ncarg/nclscripts/...
;Addmapresources res@mpDataBaseVersion="HighRes";DefaultisLowRes res@mpOutlineDrawOrder="PostDraw";Drawmapoutlineslast res@mpGridAndLimbOn=False;Turnofflat/lonlines res@pmTickMarkDisplayMode="Always";Turnonmaptickmarks res=set_mp_wrf_map_resources(d1,res) ...
对于旧版本的NCL,在垂直剖面图中,需要将vcMapDirection设置成False. wrf_vector函数 在ncl绘图中wrf_vector函数,默认绘制风向杆样式“WindBarb"。而关于WindBarb的说明是这样的: WindBarbVectors are represented using a standard wind barb glyph, composed of a shaft parallel to the vector direction, and pennan...
IntroductiontoNCLGraphics NCLV6.0.0和V6.1.x的不同之处 6.0.0andearlier6.1.0andlater •默认字体为times-roman•默认colortable有32colors•gsnSpreadColors为False•lbLabelAutoStride为False•默认函数代码是„:‟•最多256colors•Namedcolors必须首先被加入到colormap•不可以部分地使用...
NCL_Bruyere教程
Brief Overview: GRIB, HDF, WRF.nc NCL supports via addfile function GRIB1 and GRIB2 HDF-SDS [Scientific-Data-Set subset of Htells map projection
从resources=True开始进入图形的修饰部分,改变地图的默认显示色彩、色阶、大小、 显示比例等等。 (5)调用绘图函数绘图 NCL提供了丰富的图形显示函数,除了基本的矢量图、流线图、等值线图外,还有条形 图、柱状图等统计信息图,此外NCL绘制的气压高度图、斜温图等的效果也是非常的直观。 此外NCL还提供了完整的地图投影系,...
常用的颜色控制函数包括:gsn_define_colormap(),gsn_merge_colormaps(),gsn_draw_colormap(),gsn_retrieve_colormap(),gsn_draw_named_colors(),gsn_reverse_colormap()。具体的使用方法详见第六章。 颜色表取色方式:由@gsnSpreadColors属性控制,True指定为整个颜色表中采样取色,默认False为从0开始依次取色。