Error:Not a NetCDF id
来源:互联网 发布:手机遥控ppt软件 编辑:程序博客网 时间:2024/06/05 09:31
一、问题描述:之前在写代码时,测试一直用的一个NC文件,最近换了数据源再读取文件时打印信息一直提示“Error:Not a NetCDF id ”。
二、解决过程:经过一般搜索发现是和NetCDF的库使用有关系,我安装的C语言版本是NetCDF4.4.1的,C++接口库使用的是4.4.2的,所以出现了这个问题,自己感觉差别应该不大,但是C++接口库(.lib,.dll)换成4.4.1的之后确实解决问题了。由于网上资料少自己研究的也不是特别清楚。使用的是4.4有人已经给NetCDF支持者发送了问题,当然写的全是英文,由于自己的英语不好没法翻译,请自己参考:https://www.unidata.ucar.edu/support/help/MailArchives/netcdf/msg09964.html
文章主要内容(linux下遇到此问题,我的环境是win7+vs13):
I am using a tool called NCO to play with my WRF output file (in .nc
format). I am using netcdf 3.6.2 version and the .nc file is 64 bit
offset. However, when I run the NCO, error occurs - Not a netCDF. Is it
possible to solve this problem?
This could occur if your version of NCO is statically linked to an old
version of netCDF, before 3.6.0. Otherwise, NCO should recognize a 64-bit
offset netCDF file. You might determine whether NCO is linking to an old
shared library by runing the unix command
ldd ncks
and checking the output for an old netcdf.so shared library.
Does ncdump recognize the file?
说明:根据自己的实际情况请参考,更多问题请参考博客中的其他文章。
- Error:Not a NetCDF id
- error RC2144: PRIMARY LANGUAGE ID not a number
- Android Question - “Id cannot be resolved or is not a field” error?
- Error: An App ID with identifier "*****" is not avaliable. Please enter a different string.
- Netcdf
- netcdf
- Error:(1, 0) Plugin with id 'com.android.application' not found. <a href="openFile:F:\AndroidCode\Ji
- Error:(2, 0) Plugin with id 'com.github.dcendents.android-maven' not found. <a href="openFile:D:\Git
- id hava not a defult value
- method ID not in [0, 0xffff]: 65536” error解决办法
- Javascript Error: submit is not a function
- configure: error: libjpeg.(a|so) not found.
- error C2099: initializer is not a constant
- error :does not name a type
- error: ‘ptrdiff_t’ does not name a type
- error: 'uid_t' does not name a type
- error: ‘ptrdiff_t’ does not name a type
- error: ‘ptrdiff_t’ does not name a type
- Android studio 如何创建创建第三方库生成自己的jar
- Django模板
- 数据显示:中国的程序员是世界上最牛的程序员
- 如何做一名优雅的程序员
- 11个强大的Visual Studio调试小技巧
- Error:Not a NetCDF id
- html中url路径请求的六种方式:无斜杠、单斜杠(/)、点+单斜杠(./)、点点+单斜杠(../)、多个点点+单斜杠(../../)、全路径
- 【VS开发】【C/C++开发】关于boost库的C++11导致的undefined符号问题
- 常见爱忘的java基础语法
- Quartz任务并发处理
- c++对象创建
- bzoj 3196 Tyvj 1730 二逼平衡树(主席树)
- 计算几何【2】 判断凹凸多边形
- 第二十一讲 集合概述、ArrayList和LinkedList的应用