oocgcm icon indicating copy to clipboard operation
oocgcm copied to clipboard

Inheritance of DataArray

Open serazing opened this issue 8 years ago • 1 comments

I have created a Window object that inherits from DataArray. I had some issues with recursive call of the constructor inside the print and plot method. I achieved to fix it for the print method by looking at the DataArray code but I had to override the plot method for the moment. Has anyone tried to create an object that inherits from DataArray ? I think it is an important issue that needs to be address for future development. I am not sure that the structure of xarray objects has made the inheritance easy.

serazing avatar Jun 16 '16 08:06 serazing