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/24#issuecomment-40851507,https://api.github.com/repos/pydata/xarray/issues/24,40851507,MDEyOklzc3VlQ29tbWVudDQwODUxNTA3,1217238,2014-04-18T22:54:47Z,2014-04-18T22:54:47Z,MEMBER,"Some investigation reveals that this is only an issue when pickling datasets containing netCDF4.Variable objects (not xray.Variable objects). So the simple fix should be to make sure that all values are loaded into memory before pickling an xray.Variable.
","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,28375722
https://github.com/pydata/xarray/issues/24#issuecomment-36187358,https://api.github.com/repos/pydata/xarray/issues/24,36187358,MDEyOklzc3VlQ29tbWVudDM2MTg3MzU4,1217238,2014-02-26T22:43:49Z,2014-02-26T22:43:49Z,MEMBER,"Something to consider is whether we should always store the data as an ndarray before pickling an XArray, or whether we should just store a reference to the original sources (e.g., make a pickle-able version of netCDF4.Variable). I am inclined to the former so pickle can be used a simple serialization format, but [Iris](http://github.com/scitools/iris) has implemented the later approach.
","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,28375722
https://github.com/pydata/xarray/issues/24#issuecomment-36186341,https://api.github.com/repos/pydata/xarray/issues/24,36186341,MDEyOklzc3VlQ29tbWVudDM2MTg2MzQx,1794715,2014-02-26T22:33:31Z,2014-02-26T22:39:49Z,CONTRIBUTOR,"```
In [73]: h = cPickle.dumps(f)
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
in ()
----> 1 h = cPickle.dumps(f)
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/copy_reg.pyc in _reduce_ex(self, proto)
68 else:
69 if base is self.__class__:
---> 70 raise TypeError, ""can't pickle %s objects"" % base.__name__
71 state = base(self)
72 args = (self.__class__, base, state)
TypeError: can't pickle Variable objects
```
","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,28375722
https://github.com/pydata/xarray/issues/24#issuecomment-36186641,https://api.github.com/repos/pydata/xarray/issues/24,36186641,MDEyOklzc3VlQ29tbWVudDM2MTg2NjQx,1794715,2014-02-26T22:36:42Z,2014-02-26T22:36:42Z,CONTRIBUTOR,"http://docs.python.org/2/library/pickle.html#pickling-and-unpickling-normal-class-instances
","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,28375722