爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 13569|回复: 2

[其他] 求助用ncl创建nc变量的问题

[复制链接]

新浪微博达人勋

发表于 2021-11-1 18:41:49 | 显示全部楼层 |阅读模式
5金钱
目前使用addfile("xxxx.nc","c")的命令创建nc变量,但是会有2gb内存的大小限制,如果想要创建大于2gb储存的nc文件应该怎么设置呢

最佳答案

查看完整内容

用这个setfileoption("nc","Format","LargeFile")
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2021-11-1 18:41:50 | 显示全部楼层
用这个setfileoption("nc","Format","LargeFile")
密码修改失败请联系微信:mofangbao
回复

使用道具 举报

新浪微博达人勋

发表于 2021-11-1 19:04:09 | 显示全部楼层
附上官方的信件

HI Bill,
Standard NetCDF has a size limit of 2GB per file. There is a large
file option that allows much larger files. You can set this option
using NCL's setfileoption:
setfileoption("nc","Format","LargeFile")
You must do this prior to creating the file in NCL.
There are still some size restrictions with this mode. To remove
virtually all size restrictions you can use the NetCDF4 format;
setfileoption("nc","Format","NetCDF4Classic")
More information can be found at http://www.ncl.ucar.edu/Document ... setfileoption.shtml
  -dave
On Oct 3, 2010, at 8:59 AM, Capehart, William J wrote:
密码修改失败请联系微信:mofangbao
回复

使用道具 举报

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

本版积分规则

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

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

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