爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 5579|回复: 1

[其他] 求助,addfile函数报错,Could not create xxxx.nc

[复制链接]
回帖奖励 9 金钱 回复本帖可获得 1 金钱奖励! 每人限 1 次
发表于 2022-7-6 17:38:52 | 显示全部楼层 |阅读模式

登录后查看更多精彩内容~

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
我现在需要创建一个空的.nc文件来往里写数据,按照教程这样写:
  1. outputFilePath = outputPath  + dataFileName +".nc"
  2.         print(outputFilePath)
  3.         if(isfilepresent(outputFilePath))then
  4.             system("/bin/rm " + outputFilePath)
  5.         end if
  6.         fout = addfile(outputFilePath,"c")
复制代码
其中outputFilePath print出来是:
/home/xxxxx/xxxxx/xxxxx/xxxxxx/xxxxx/u850/xxxxx/rain_xxxxx.nc,敏感信息我用x码掉了
但是最后报错Could not create xxxx.nc,现在也没排查出原因,请各位大神赐教!
密码修改失败请联系微信:mofangbao
发表于 2022-7-6 22:12:16 | 显示全部楼层

回帖奖励 +1 金钱

这个我知道,原因是xxxxxxxx的.nc文件xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
密码修改失败请联系微信:mofangbao
回复 支持 1 反对 0

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

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

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