problem on netcdf4-python

Discussion about analysis, visualization, and collaboration tools and techniques

Moderators: arango, robertson

Post Reply
Message
Author
wzf1984
Posts: 3
Joined: Wed May 02, 2012 7:38 pm
Location: Ocean University of China

problem on netcdf4-python

#1 Unread post by wzf1984 »

I have problems on netcdf4-python. When I test, there are errors:

root@ubuntu:/opt/netCDF4-1.0.4/test# python run_all.py
E..............................................
======================================================================
ERROR: runTest (tst_dap.DapTestCase)
testing access of data over http using opendap
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/netCDF4-1.0.4/test/tst_dap.py", line 22, in runTest
file = netCDF4.Dataset(URL)
File "netCDF4.pyx", line 1386, in netCDF4.Dataset.__init__ (netCDF4.c:19148)
RuntimeError: NetCDF: Unknown file format

----------------------------------------------------------------------
Ran 47 tests in 11.291s

FAILED (errors=1)

netcdf4-python version: 1.0.4
HDF5 lib version: 1.8.11
netcdf lib version: 4.3.0

I would appreciate your help !

User avatar
kate
Posts: 4088
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: problem on netcdf4-python

#2 Unread post by kate »

OpenDAP is a way to share files over the network. When you compile the NetCDF library, you have the option of building for OpenDAP - or not. It seems that you did not. If you don't plan on using OpenDAP, I wouldn't worry about this.

Post Reply