很详细!centos和Ubuntu分别安装NCL工具

Ubuntu18.04亲测可用,分享一波!

白嫖党 附上转载链接

NCL官网

centos和Ubuntu安装NCL哔哩哔哩视频:

https://www.bilibili.com/video/BV1DW411n72f
按照B站视频安装,配置环境变量,测试

Ubuntu测试时可能会报错,比如出现bin/csh:解释器错误:没有那个文件或目录,一般是缺少对应的工具

安装对应的工具:sudo apt-get install csh

如果时其他错误,请根据错误提示安装相应的包

博客地址:

https://ipsec.in/2018-12-27/Ubuntu-18-%E5%AE%89%E8%A3%85ncl-Linux-%E5%AE%89%E8%A3%85ncl.html

.hluresfile文件

可直接复制粘贴

!=========================================
! This is a sample .hluresfile. It should
! go in your home directory.
!
! Comments for ".res" files are preceded by a "!".
! Remember quotations are not used in .res files.

! White background/black foreground, these are the default in V6.1.0
*wkForegroundColor  : (/0.,0.,0./)
*wkBackgroundColor  : (/1.,1.,1./)

! Have a favorite colormap that you use for everything? You can
! make it your default here (note the name is NOT in quotes).
!
! In Version 6.1.0, the default is "ncl_default":
! http://www.ncl.ucar.edu/Document/Graphics/ColorTables/ncl_default.shtml
!
! For all available color maps, see 
! http://www.ncl.ucar.edu/Document/Graphics/color_table_gallery.shtml
*wkColorMap         : BlueWhiteOrangeRed

! Font - this is the default in V6.1.0. 
! Use times-roman to get the pre-V6.1.0 default.
*Font           : helvetica 

! Function code - this is the default in V6.1.0. 
! Use ':' to get the pre-V6.1.0 default.
*TextFuncCode               : ~     
 
! Make default X11 window larger (the default is 512x512)
!*windowWorkstationClass*wkWidth  : 1000
!*windowWorkstationClass*wkHeight : 1000

! Make default PNG window larger (the default is 1024x1024)
!*imageWorkstationClass*wkWidth   : 2500
!*imageWorkstationClass*wkHeight  : 2500

! Note, if you just set wkWidth/wkHeight, this will affect both
! X11 window AND PNG image size
!*wkWidth   : 1500
!*wkHeight  : 1500

! Increase the default (16mb) contour memory.
! The default is 100000000.
! For example, if you have gridded data that
! is larger than 500 x 500, you may need this.
! *wsMaximumSize: 300000000
!==========================================

也可以到官网查看
http://www.ncl.ucar.edu/Document/Graphics/hlures.shtml

  • 1
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值