Re: [Numpy-discussion] Transparently reading complex arrays from netcdf4

2014-03-30 Thread Stephan Hoyer
Hi Glenn, Here is the line in my linked code defining the __array__ method: https://github.com/akleeman/xray/blob/0c1a963be0542b7303dc875278f3b163a15429c5/src/xray/conventions.py#L152 I don't know when Jeff Whitaker will be releasing the next version of netCDF4, but I expect that might be pretty

Re: [Numpy-discussion] Transparently reading complex arrays from netcdf4

2014-03-30 Thread G Jones
Hi, This looks useful. What you said about __array__ makes sense, but I didn't see it in the code you linked. Do you know when python netcdf4 will support the numpy array interface directly? I searched around for a roadmap but didn't find anything. It may be best for me to proceed with a slightly c