oocgcm
oocgcm copied to clipboard
Inheritance of DataArray
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.