sodri126 / netcdf4-python

Automatically exported from code.google.com/p/netcdf4-python
Other
0 stars 0 forks source link

KeyError in tst_compoundvar.VariablesTestCase #212

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Using netcdf4-python r1341 with netcdf 4.3.1-rc5 and HDF5 1.8.11 on Windows 
(any Python version), the following test fails: 

ERROR: runTest (tst_compoundvar.VariablesTestCase)

testing compound variables

Traceback (most recent call last): File "D:\Build\netCDF4\netcdf4-svn\test\tst_compoundvar.py", line 75, in runTest vv = g.variables[VAR_NAME] KeyError: 'phony_compound_var'

Original issue reported on code.google.com by cjgoh...@gmail.com on 8 Dec 2013 at 12:29

GoogleCodeExporter commented 9 years ago
Confirmed. Looks like a bug that was introduced in netcdf 4.3.1rc5 (rc4 works 
fine).  Will try to reproduce in a C program and file a bug report with Unidata.

Original comment by whitaker.jeffrey@gmail.com on 8 Dec 2013 at 2:14

GoogleCodeExporter commented 9 years ago
Reported to Unidata, and they now have a fix in github master 
(https://github.com/Unidata/netcdf-c).  

Original comment by whitaker.jeffrey@gmail.com on 16 Dec 2013 at 11:19

GoogleCodeExporter commented 9 years ago
Confirmed, netcdf-c from github master fixes this issue.

Original comment by cjgoh...@gmail.com on 17 Dec 2013 at 2:42

GoogleCodeExporter commented 9 years ago

Original comment by whitaker.jeffrey@gmail.com on 26 Feb 2014 at 2:04