html_url,issue_url,id,node_id,user,created_at,updated_at,author_association,body,reactions,performed_via_github_app,issue https://github.com/pydata/xarray/issues/360#issuecomment-77960519,https://api.github.com/repos/pydata/xarray/issues/360,77960519,MDEyOklzc3VlQ29tbWVudDc3OTYwNTE5,192900,2015-03-09T22:43:29Z,2015-03-09T22:43:29Z,NONE,"Thank you for working to resolve these issues. It is looking much better. ``` Python 2.7.8 |Anaconda 2.1.0 (32-bit)| (default, Jul 2 2014, 15:13:35) [MSC v.1500 32 bit (Intel)] on win32 >>> import xray >>> xray.__version__ '0.4.0.dev' $ nosetests xray .............D:\Python27\Anaconda\lib\site-packages\xray\core\utils.py:54: FutureWarning: numpy equal will not check obj ect identity in the future. The comparison did not return the same result as suggested by the identity (`is`)) and will change. return ((arr1 == arr2) | (pd.isnull(arr1) & pd.isnull(arr2))).all() .....SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS.................................SSSSSSSSSSSSSSSS...S.SS.SSSSS.....SS S..................................S............................S....................................................... ........S..............................................F....................................................F........... ...................... ====================================================================== FAIL: test_converted_types (xray.test.test_variable.TestAsCompatibleData) ---------------------------------------------------------------------- Traceback (most recent call last): File ""D:\Python27\Anaconda\lib\site-packages\xray\test\test_variable.py"", line 813, in test_converted_types self.assertEqual(np.dtype(np.int64), actual.dtype) AssertionError: dtype('int64') != dtype('int32') ====================================================================== FAIL: test_count (xray.test.test_variable.TestVariable) ---------------------------------------------------------------------- Traceback (most recent call last): File ""D:\Python27\Anaconda\lib\site-packages\xray\test\test_variable.py"", line 758, in test_count self.assertEqual(actual.dtype, 'int64') AssertionError: dtype('int32') != 'int64' ---------------------------------------------------------------------- Ran 395 tests in 4.786s FAILED (SKIP=76, failures=2) ``` ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,59799656 https://github.com/pydata/xarray/issues/360#issuecomment-77234081,https://api.github.com/repos/pydata/xarray/issues/360,77234081,MDEyOklzc3VlQ29tbWVudDc3MjM0MDgx,192900,2015-03-04T19:59:05Z,2015-03-04T19:59:05Z,NONE,"Thank you for the prompt response. Here is the test output after installing netcdf4 via conda: ``` ...........C:\Python27\Anaconda\lib\site-packages\xray\core\utils.py:53: FutureWarning: numpy equal will not check object identity in the future. The comparison did not return the same result as suggested by the identity (`is`)) and will change. return ((arr1 == arr2) | (pd.isnull(arr1) & pd.isnull(arr2))).all() ...E.....E..EE.................EE.S................SS.SSSS.SSSSSSES.....S.............................................F...................S...................F....S......................F........................................S.............F............................F....................................................F................................. ====================================================================== ERROR: test_write_store (xray.test.test_backends.NetCDF3ViaNetCDF4DataTest) ---------------------------------------------------------------------- Traceback (most recent call last): File ""C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py"", line 68, in test_write_store self.assertDatasetAllClose(expected, actual) File ""C:\Python27\Anaconda\lib\contextlib.py"", line 24, in __exit__ self.gen.next() File ""C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py"", line 609, in create_store format='NETCDF3_CLASSIC') File ""C:\Python27\Anaconda\lib\contextlib.py"", line 24, in __exit__ self.gen.next() File ""C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py"", line 273, in create_tmp_file os.remove(path) WindowsError: [Error 32] The process cannot access the file because it is being used by another process: 'c:\\users\\breisfel\\appdata\\local\\temp\\tmpcrovke.nc' ====================================================================== ERROR: test_dump_and_open_encodings (xray.test.test_backends.NetCDF4DataTest) ---------------------------------------------------------------------- Traceback (most recent call last): File ""C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py"", line 539, in test_dump_and_open_encodings self.assertArrayEqual(ds.variables['time'], np.arange(10) + 4) File ""C:\Python27\Anaconda\lib\contextlib.py"", line 24, in __exit__ self.gen.next() File ""C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py"", line 273, in create_tmp_file os.remove(path) WindowsError: [Error 32] The process cannot access the file because it is being used by another process: 'c:\\users\\breisfel\\appdata\\local\\temp\\tmpb6uvr4.nc' ====================================================================== ERROR: test_open_encodings (xray.test.test_backends.NetCDF4DataTest) ---------------------------------------------------------------------- Traceback (most recent call last): File ""C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py"", line 518, in test_open_encodings self.assertDictEqual(actual_encoding, expected['time'].encoding) File ""C:\Python27\Anaconda\lib\contextlib.py"", line 24, in __exit__ self.gen.next() File ""C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py"", line 273, in create_tmp_file os.remove(path) WindowsError: [Error 32] The process cannot access the file because it is being used by another process: 'c:\\users\\breisfel\\appdata\\local\\temp\\tmpw6k3xg.nc' ====================================================================== ERROR: test_open_group (xray.test.test_backends.NetCDF4DataTest) ---------------------------------------------------------------------- Traceback (most recent call last): File ""C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py"", line 336, in test_open_group open_dataset(tmp_file, group='bar') File ""C:\Python27\Anaconda\lib\contextlib.py"", line 24, in __exit__ self.gen.next() File ""C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py"", line 273, in create_tmp_file os.remove(path) WindowsError: [Error 32] The process cannot access the file because it is being used by another process: 'c:\\users\\breisfel\\appdata\\local\\temp\\tmpokud5r.nc' ====================================================================== ERROR: test_write_groups (xray.test.test_backends.NetCDF4DataTest) ---------------------------------------------------------------------- Traceback (most recent call last): File ""C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py"", line 368, in test_write_groups self.assertDatasetIdentical(data2, actual2) File ""C:\Python27\Anaconda\lib\contextlib.py"", line 24, in __exit__ self.gen.next() File ""C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py"", line 273, in create_tmp_file os.remove(path) WindowsError: [Error 32] The process cannot access the file because it is being used by another process: 'c:\\users\\breisfel\\appdata\\local\\temp\\tmpmk9aat.nc' ====================================================================== ERROR: test_write_store (xray.test.test_backends.NetCDF4DataTest) ---------------------------------------------------------------------- Traceback (most recent call last): File ""C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py"", line 68, in test_write_store self.assertDatasetAllClose(expected, actual) File ""C:\Python27\Anaconda\lib\contextlib.py"", line 24, in __exit__ self.gen.next() File ""C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py"", line 281, in create_store yield backends.NetCDF4DataStore(tmp_file, mode='w') File ""C:\Python27\Anaconda\lib\contextlib.py"", line 24, in __exit__ self.gen.next() File ""C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py"", line 273, in create_tmp_file os.remove(path) WindowsError: [Error 32] The process cannot access the file because it is being used by another process: 'c:\\users\\breisfel\\appdata\\local\\temp\\tmpioapvh.nc' ====================================================================== ERROR: test_write_store (xray.test.test_backends.ScipyOnDiskDataTest) ---------------------------------------------------------------------- Traceback (most recent call last): File ""C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py"", line 68, in test_write_store self.assertDatasetAllClose(expected, actual) File ""C:\Python27\Anaconda\lib\contextlib.py"", line 24, in __exit__ self.gen.next() File ""C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py"", line 588, in create_store yield backends.ScipyDataStore(tmp_file, mode='w') File ""C:\Python27\Anaconda\lib\contextlib.py"", line 24, in __exit__ self.gen.next() File ""C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py"", line 273, in create_tmp_file os.remove(path) WindowsError: [Error 32] The process cannot access the file because it is being used by another process: 'c:\\users\\breisfel\\appdata\\local\\temp\\tmpspbwg3.nc' ====================================================================== FAIL: test_coords (xray.test.test_dataarray.TestDataArray) ---------------------------------------------------------------------- Traceback (most recent call last): File ""C:\Python27\Anaconda\lib\site-packages\xray\test\test_dataarray.py"", line 408, in test_coords self.assertEquals(expected, actual) AssertionError: 'Coordinates:\n * x (x) int64 -1 -2\n * y (y) int64 0 1 2' != 'Coordinates:\n * x (x) int32 -1 -2\n * y (y) int32 0 1 2' ====================================================================== FAIL: test_repr (xray.test.test_dataarray.TestDataArray) ---------------------------------------------------------------------- Traceback (most recent call last): File ""C:\Python27\Anaconda\lib\site-packages\xray\test\test_dataarray.py"", line 34, in test_repr self.assertEqual(expected, repr(data_array)) AssertionError: ""\narray([[1, 2, 3],\n [4, 5, 6]])\nCoordinates:\n other int64 0\n * time (time) int64 0 1\n * x (x) int64 0 1 2\nAttributes:\n foo: bar"" != ""\narray([[1, 2, 3],\n [4, 5, 6]])\nCoordinates:\n other int32 0\n * time (time) int64 0 1\n * x (x) int64 0 1 2\nAttributes:\n foo: bar"" ====================================================================== FAIL: test_coords_properties (xray.test.test_dataset.TestDataset) ---------------------------------------------------------------------- Traceback (most recent call last): File ""C:\Python27\Anaconda\lib\site-packages\xray\test\test_dataset.py"", line 335, in test_coords_properties self.assertEqual(expected, actual) AssertionError: 'Coordinates:\n * x (x) int64 -1 -2\n * y (y) int64 0 1 2\n a (x) int64 4 5\n b int64 -10' != 'Coordinates:\n * x (x) int32 -1 -2\n * y (y) int32 0 1 2\n a (x) int32 4 5\n b int32 -10' ====================================================================== FAIL: test_to_and_from_dataframe (xray.test.test_dataset.TestDataset) ---------------------------------------------------------------------- Traceback (most recent call last): File ""C:\Python27\Anaconda\lib\site-packages\xray\test\test_dataset.py"", line 1369, in test_to_and_from_dataframe assert expected.equals(actual), (expected, actual) AssertionError: ( a x y 0 1 bar, a x y 0 1 bar) ====================================================================== FAIL: test_converted_types (xray.test.test_variable.TestAsCompatibleData) ---------------------------------------------------------------------- Traceback (most recent call last): File ""C:\Python27\Anaconda\lib\site-packages\xray\test\test_variable.py"", line 813, in test_converted_types self.assertEqual(np.dtype(int), actual.dtype) AssertionError: dtype('int32') != dtype('int64') ====================================================================== FAIL: test_count (xray.test.test_variable.TestVariable) ---------------------------------------------------------------------- Traceback (most recent call last): File ""C:\Python27\Anaconda\lib\site-packages\xray\test\test_variable.py"", line 758, in test_count self.assertEqual(actual.dtype, 'int64') AssertionError: dtype('int32') != 'int64' ---------------------------------------------------------------------- Ran 368 tests in 7.074s FAILED (SKIP=18, errors=7, failures=6) ``` ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,59799656