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/1244#issuecomment-277476811,https://api.github.com/repos/pydata/xarray/issues/1244,277476811,MDEyOklzc3VlQ29tbWVudDI3NzQ3NjgxMQ==,25030860,2017-02-04T20:48:49Z,2017-02-04T20:48:49Z,NONE,"Ok - thanks for clarification. I remember the `NC_SHARE` flag for the open function in the netcdf-C-api... But I also think your advice is reasonable.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,204550216 https://github.com/pydata/xarray/issues/1244#issuecomment-277306575,https://api.github.com/repos/pydata/xarray/issues/1244,277306575,MDEyOklzc3VlQ29tbWVudDI3NzMwNjU3NQ==,1217238,2017-02-03T17:17:01Z,2017-02-03T17:17:01Z,MEMBER,"Just to be clear -- you overrode the file on disk while you had it open in another session? Indeed, that is definitely not a recommended workflow, so I'm not surprised things broke. An error would have been friendlier than silent corruption, but maybe the netcdf devs have reasons for this behavior. Xarray loads data from disk lazily by default, so if you want to overwrite the data on disk you should call `.load()` or `.compute()` first. But generally, I recommend always creating new files. Treating data files as immutable makes it much harder to accidentally overwrite the wrong data.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,204550216 https://github.com/pydata/xarray/issues/1244#issuecomment-277235999,https://api.github.com/repos/pydata/xarray/issues/1244,277235999,MDEyOklzc3VlQ29tbWVudDI3NzIzNTk5OQ==,25030860,2017-02-03T12:29:17Z,2017-02-03T12:29:17Z,NONE,"Ok I was _not_ sleeping while reporting this issue... :-) Just if others examine the same problems - or perhaps someone can explain to me...: The reason for strange data in loaded nc-files was as far as I can see because I saved the same file in different versions - although already loaded - and then loaded again. This seems to me is not a good idea. Perhaps things even went worse because I had two instances of Spyder running, happily switching from one to the other saving and loading the file in order to find problems dependent on library versions. But the problem was just this whole procedure itself. The only thing I still don't really know now is what exactly is forbidden or what is the recommended kind of handling - as saving and loading again is imo not an unconventional or unusual part of a workflow...","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,204550216 https://github.com/pydata/xarray/issues/1244#issuecomment-277192998,https://api.github.com/repos/pydata/xarray/issues/1244,277192998,MDEyOklzc3VlQ29tbWVudDI3NzE5Mjk5OA==,25030860,2017-02-03T08:37:49Z,2017-02-03T08:37:49Z,NONE,"Hello, by comparing different files with different encodings I have to admit that I cannot reproduce the issue named in the title. In contrast, the erroneous behaviour seems to explicitly origin from my implementation of scale- and offset encoding and in no way from any library- or distribution-version. I definitely thought I checked that first - so sorry for opening an issue on that here and however thanks for helping out.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,204550216 https://github.com/pydata/xarray/issues/1244#issuecomment-277045154,https://api.github.com/repos/pydata/xarray/issues/1244,277045154,MDEyOklzc3VlQ29tbWVudDI3NzA0NTE1NA==,25030860,2017-02-02T18:45:12Z,2017-02-03T07:22:07Z,NONE,"Ok, understood. In WinPython 3.4 / xarray 0.7.0: ```Python import netCDF4 as nc nc.__hdf5libversion__ Out[2]: '1.8.15-patch1' nc.__netcdf4libversion__ Out[3]: '4.3.3.1' ``` In WinPython 3.5 / xarray 0.9.0: ```Python import netCDF4 as nc nc.__hdf5libversion__ Out[2]: '1.8.18' nc.__netcdf4libversion__ Out[3]: '4.4.1.1' ``` That's the easy part - I still play around with loading the files with `netCDF4.Dataset()` - but I'm not quite sure how to interpret the results and compare it to the data loaded by xarray.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,204550216 https://github.com/pydata/xarray/issues/1244#issuecomment-277028795,https://api.github.com/repos/pydata/xarray/issues/1244,277028795,MDEyOklzc3VlQ29tbWVudDI3NzAyODc5NQ==,1217238,2017-02-02T17:43:56Z,2017-02-02T17:43:56Z,MEMBER,"@SpghttCd These are underlying C libraries used by netCDF4-python. For example, on my machine: ``` In [1]: import netCDF4 In [2]: netCDF4.__hdf5libversion__ Out[2]: '1.8.17' In [3]: netCDF4.__netcdf4libversion__ Out[3]: '4.4.1' ``` Please check if you get different data just using `netCDF4`, in which case we can report the issue upstream.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,204550216 https://github.com/pydata/xarray/issues/1244#issuecomment-276895569,https://api.github.com/repos/pydata/xarray/issues/1244,276895569,MDEyOklzc3VlQ29tbWVudDI3Njg5NTU2OQ==,25030860,2017-02-02T08:24:27Z,2017-02-02T08:24:27Z,NONE,"No, you're right. I think almost everything changed, because the jump to 0.9.0 happened because of the switch to the latest WinPython-Distribution. What I can read out is the version of netCDF4 in Python, which was 1.2.2 in the former WinPython-package and now is 1.2.7 in the latest. But regarding your question about libnetcdf and hdf5 I think I don't understand enough: are these also python libraries? hdf5 isn't there, only h5py which I thought was an alternative, not a requirement to netcdf4, and libnetcdf I cannot find at all...","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,204550216 https://github.com/pydata/xarray/issues/1244#issuecomment-276826112,https://api.github.com/repos/pydata/xarray/issues/1244,276826112,MDEyOklzc3VlQ29tbWVudDI3NjgyNjExMg==,1217238,2017-02-02T00:14:41Z,2017-02-02T00:14:41Z,MEMBER,"Are you sure that the only difference is the version of xarray? This feels like a difference in the underlying libraries -- xarray doesn't do any decoding for data that is stored as doubles without scale and add_offset. If you're using netCDF4-python to read the data (which is the default), could you please check the versions of netCDF4-python, libnetcdf and hdf5? That would help track down if this is an xarray issue or an issue with an underlying library..","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,204550216 https://github.com/pydata/xarray/issues/1244#issuecomment-276778495,https://api.github.com/repos/pydata/xarray/issues/1244,276778495,MDEyOklzc3VlQ29tbWVudDI3Njc3ODQ5NQ==,25030860,2017-02-01T20:52:06Z,2017-02-01T20:52:06Z,NONE,"Of course (ncdump -h): ``` netcdf \15_m_erster\ Test_360_d01 { dimensions: D1 = 3601 ; Z = 5 ; X = 5 ; variables: double D1(D1) ; string D1:units = ""┬░"" ; double Z(Z) ; string Z:units = ""mm"" ; double X(X) ; string X:units = ""mm"" ; double Brad(D1, Z, X) ; string Brad:units = ""mT"" ; double Btan(D1, Z, X) ; string Btan:units = ""mT"" ; double Bax(D1, Z, X) ; string Bax:units = ""mT"" ; double T(D1, Z, X) ; string T:units = ""degC"" ; } ``` I can add the before mentioned integer compressed version, too, if needed. But there's no difference regarding the issue and it's a little longer of course.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,204550216 https://github.com/pydata/xarray/issues/1244#issuecomment-276713153,https://api.github.com/repos/pydata/xarray/issues/1244,276713153,MDEyOklzc3VlQ29tbWVudDI3NjcxMzE1Mw==,1217238,2017-02-01T16:54:40Z,2017-02-01T16:54:40Z,MEMBER,"Can you report what the raw dataset looks like, either with `ncdump -h` or `xr.open_dataset(filename).info()` (on xarray v0.9)?","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,204550216