爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
楼主: 尽头的尽头

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

    [复制链接]

新浪微博达人勋

发表于 2014-9-18 16:56:45 | 显示全部楼层

用的大型机,是ksh的
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2014-9-18 23:47:15 | 显示全部楼层
yuqianhao0315 发表于 2014-9-18 16:56
用的大型机,是ksh的

我是说你的NCL版本。。。。。。
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2014-9-19 09:02:51 | 显示全部楼层
这个很牛啊
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2014-9-19 09:18:41 | 显示全部楼层
尽头的尽头 发表于 2014-9-18 23:47
我是说你的NCL版本。。。。。。

我回你了啦,是NCL6.1.2。请问现在怎么解决呢?
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2014-9-19 10:07:59 | 显示全部楼层
楼主,真是历害!
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2014-9-19 12:25:51 | 显示全部楼层

把你的脚本贴上来看看
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2014-9-19 14:03:07 | 显示全部楼层
非常给力啊
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2014-9-19 15:52:16 | 显示全部楼层
环境变量里load "$NCARG_ROOT/lib/ncarg/nclscripts/cnmap/cnmap.ncl"是什么意思?我在Ubuntu下加入这个环境变量怎么就不行呀?
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2014-9-19 16:07:41 | 显示全部楼层
尽头的尽头 发表于 2014-9-19 12:25
把你的脚本贴上来看看


chinamap.ncl是我用来画图的脚本:
我改动了第四条路径:load "/cma/u/Tzhucw/haoyq/default/cnmap/cnmap.ncl";
wks的设置;
以及这一句map=gsn_csm_map(wks,res);

cnmap.ncl是文件夹里的:
我改动了第四条路径:load "/cma/u/Tzhucw/haoyq/default/cnmap/shp_Function.ncl"
还有这句:ShpDir = "/cma/u/Tzhucw/haoyq/default/cnmap/"

shp_Function.ncl没有改动,也就没有贴出来。

运行chinamap.ncl,报错是这样的:
warning:lbLabelAutoStride is not a valid resource in map.PlotManager at this time
warning:cnFillOn is not a valid resource in map at this time
warning:gsnSpreadColors is not a valid resource in map at this time
warning:cnLevelSpacingF is not a valid resource in map at this time
warning:cnFillDrawOrder is not a valid resource in map at this time
warning:cnLinesOn is not a valid resource in map at this time
warning:["FileSupport.c":3026]:NCL does not know anything about file suffix <shp>.
But NCL will try its best to figure out the file format.
fatal:An internal error has occurred. The file format requested does not appear to be supported, could not open (/cma/u/Tzhucw/haoyq/default/cnmap/cnmap.shp)
(0)     Error: gsn_add_shapefile_polylines: Can't open shapefile '/cma/u/Tzhucw/haoyq/default/cnmap/cnmap.shp'
(0)            No shapefile information will be added.
warning:["FileSupport.c":3026]:NCL does not know anything about file suffix <shp>.
But NCL will try its best to figure out the file format.
fatal:An internal error has occurred. The file format requested does not appear to be supported, could not open (/cma/u/Tzhucw/haoyq/default/cnmap/river.shp)
(0)     Error: gsn_add_shapefile_polylines: Can't open shapefile '/cma/u/Tzhucw/haoyq/default/cnmap/river.shp'
(0)            No shapefile information will be added.
warning:["FileSupport.c":3026]:NCL does not know anything about file suffix <shp>.
But NCL will try its best to figure out the file format.
fatal:An internal error has occurred. The file format requested does not appear to be supported, could not open (/cma/u/Tzhucw/haoyq/default/cnmap/cnhimap.shp)
(0)     Error: gsn_add_shapefile_polylines: Can't open shapefile '/cma/u/Tzhucw/haoyq/default/cnmap/cnhimap.shp'
(0)            No shapefile information will be added.
warning:["FileSupport.c":3026]:NCL does not know anything about file suffix <shp>.
But NCL will try its best to figure out the file format.
fatal:An internal error has occurred. The file format requested does not appear to be supported, could not open (/cma/u/Tzhucw/haoyq/default/cnmap/cnmap.shp)
(0)     Error: gsn_add_shapefile_polylines: Can't open shapefile '/cma/u/Tzhucw/haoyq/default/cnmap/cnmap.shp'
(0)            No shapefile information will be added.
warning:New: Could not coerce missing value parameter into appropriate type, using default
warning:New: Could not coerce missing value parameter into appropriate type, using default
warning:New: Could not coerce missing value parameter into appropriate type, using default
warning:New: Could not coerce missing value parameter into appropriate type, using default

谢谢你!


chinamap.ncl

2.63 KB, 下载次数: 1, 下载积分: 金钱 -5

cnmap.ncl

4.08 KB, 下载次数: 1, 下载积分: 金钱 -5

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

新浪微博达人勋

 楼主| 发表于 2014-9-19 21:25:35 | 显示全部楼层
YJane 发表于 2014-9-19 15:52
环境变量里load "$NCARG_ROOT/lib/ncarg/nclscripts/cnmap/cnmap.ncl"是什么意思?我在Ubuntu下加入这个环 ...

没有说这个加在环境变量里面吧。。。。
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

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

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

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