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/484#issuecomment-123111762,https://api.github.com/repos/pydata/xarray/issues/484,123111762,MDEyOklzc3VlQ29tbWVudDEyMzExMTc2Mg==,1197350,2015-07-21T00:45:23Z,2015-07-21T00:45:23Z,MEMBER,"I think I found the issue with netcdf.
``` python
from netCDF4 import Dataset
nc = Dataset('MERRA300.prod.assim.inst3_3d_asm_Cp.20140101.hdf')
v = nc.variables['SLP']
v.chunking()
```
gives the segfault. I'll take this issue to netcdf-python.
","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,96185559
https://github.com/pydata/xarray/issues/484#issuecomment-123110874,https://api.github.com/repos/pydata/xarray/issues/484,123110874,MDEyOklzc3VlQ29tbWVudDEyMzExMDg3NA==,1197350,2015-07-21T00:41:07Z,2015-07-21T00:41:15Z,MEMBER,"decode_cf=False doesn't help. Still segfaults on open_dataset
","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,96185559
https://github.com/pydata/xarray/issues/484#issuecomment-123108405,https://api.github.com/repos/pydata/xarray/issues/484,123108405,MDEyOklzc3VlQ29tbWVudDEyMzEwODQwNQ==,1217238,2015-07-21T00:30:28Z,2015-07-21T00:30:28Z,MEMBER,"You could try loading the dataset with `decode_cf=False` in open_dataset. That might delay the segfault until later.
","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,96185559
https://github.com/pydata/xarray/issues/484#issuecomment-123107777,https://api.github.com/repos/pydata/xarray/issues/484,123107777,MDEyOklzc3VlQ29tbWVudDEyMzEwNzc3Nw==,1197350,2015-07-21T00:28:51Z,2015-07-21T00:28:51Z,MEMBER,"A stack trace shows that these were the last few functions called
```
/lib64/libnetcdf.so.7(NC4_inq_var_all+0x1e8)[0x7f370c4baea8]
/lib64/libnetcdf.so.7(nc_inq_var_chunking+0xb6)[0x7f370c465ae6]
/usr/local/anaconda/lib/python2.7/site-packages/netCDF4/_netCDF4.so(+0x1d930)[0x7f3730126930]
...
```
So I guess that narrows it down a bit.
","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,96185559
https://github.com/pydata/xarray/issues/484#issuecomment-123092900,https://api.github.com/repos/pydata/xarray/issues/484,123092900,MDEyOklzc3VlQ29tbWVudDEyMzA5MjkwMA==,1217238,2015-07-20T23:35:03Z,2015-07-20T23:35:03Z,MEMBER,"xray is using netCDF4-python here internally, so I'm surprised the behavior differs. I have not tested reading hdf4 files myself yet, but if netCDF4-python can handle them then we should be able to, as well.
One possible difference is that xray reads lots of metadata when it opens a file, whereas netCDF4-python just opens the file. It's possible that the segfault is triggered by one of these actions, e.g., reading the variable attributes.
My guess is that this is a upstream bug or build issue with the netCDF packages. However, tracking it down may be easier said than done.
","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,96185559