爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
楼主: 尽头的尽头

[作图] (更新)最最最准确的中国地图(附带南海,精确到市界)

    [复制链接]

新浪微博达人勋

发表于 2016-4-26 13:52:41 | 显示全部楼层
好东西呀。。。
密码修改失败请联系微信:mofangbao
回复

使用道具 举报

新浪微博达人勋

发表于 2016-4-26 19:41:46 | 显示全部楼层
多谢楼主的无私分享
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2016-4-26 22:20:27 | 显示全部楼层
这个真心不错!
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2016-4-28 11:23:41 | 显示全部楼层
好棒~
密码修改失败请联系微信:mofangbao
回复

使用道具 举报

新浪微博达人勋

发表于 2016-5-4 11:06:51 | 显示全部楼层
感谢楼主,辛苦。{:eb502:}
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2016-5-4 12:05:44 | 显示全部楼层
我这个为什么出不来呢楼主?刚用ncl不大会。
GHT500.png
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/cnmap/cnmap.ncl"
begin
  fi  = addfile("I:\1511paper\data\fnl\fnl_20151120_12_00.grib2","r")
  hgt=fi->HGT_P0_L100_GLL0(13,:,:)
wks_type = "png"
wks_type@wkWidth = 1000 ;
wks_type@wkHeight = 800 ;
  wks_name="GHT500"
  wks = gsn_open_wks(wks_type,wks_name)
  gsn_define_colormap(wks,"gui_default") ;
  
  rescn = True
  rescn@cnFillOn = False  ; cn means ContourPlot
  rescn@cnLinesOn = True
  rescn@cnLineLabelsOn = True
  rescn@cnLineLabelFontHeightF=0.012  
  rescn@cnInfoLabelOn = False ; set false will not set an information label
  rescn@cnLevelSelectionMode = "ManualLevels"
  rescn@cnMinLevelValF = 5280
  rescn@cnMaxLevelValF = 5960
  rescn@cnLevelSpacingF = 40
  rescn@cnLineThicknessF = 3
  rescn@cnSmoothingOn=True
  rescn@cnSmoothingDistanceF=0.020
  rescn@cnSmoothingTensionF=3
  rescn@gsnSpreadColors = True ; 6.1.0
  rescn@lbBoxLinesOn = False ; Label bar
  rescn@lbLabelAutoStride     = True            ; let NCL determine label spacing
  
    rescn@mpOutlineOn=True
    rescn@mpDataSetName         = "Earth..4"
    rescn@mpDataBaseVersion     = "LowRes"
    rescn@mpMinLatF = 10
    rescn@mpMaxLatF = 60
    rescn@mpMinLonF = 70
    rescn@mpMaxLonF = 130

  
  rescn@gsnMaximize     =True
  rescn@tmBorderThicknessF=2.0
  rescn@tmXBMode= "Manual"
  rescn@tmXBTickSpacingF=10.0
    rescn@tmYLMode= "Manual"
  rescn@tmYLTickSpacingF=10.0
  plot = gsn_csm_contour_map(wks, hgt, rescn)
  
  
;>============================================================<
;                      add China map
;>------------------------------------------------------------<
cnres           = True
cnres@china     = True       ;draw china map or not
cnres@river     = True       ;draw changjiang&huanghe or not
cnres@province  = True       ;draw province boundary or not
cnres@nanhai    = True       ;draw nanhai or not
cnres@diqu      = False       ; draw diqujie or not
chinamap = add_china_map(wks,plot,cnres)
;>============================================================<
  draw(plot)
  
end


密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2016-5-8 15:46:50 | 显示全部楼层
谢谢,辛苦呢!
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2016-5-8 20:51:55 | 显示全部楼层
水贴赚金币
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2016-5-9 12:26:13 | 显示全部楼层
谢谢楼主~真的很有帮助~画出来的图好多了~
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2016-5-16 19:35:49 | 显示全部楼层
感谢楼主的分享~~~但是我的usr/local/lib下都是空的  然后我找到了home/ncl/lib/ncarg/nclscripts,把cnmap文件夹放进去了,但是运行的时候还是说不能打开cnmap.ncl  为啥吖
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

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

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

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