issue_comments: 428170843
This data as json
| 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/2473#issuecomment-428170843 | https://api.github.com/repos/pydata/xarray/issues/2473 | 428170843 | MDEyOklzc3VlQ29tbWVudDQyODE3MDg0Mw== | 35968931 | 2018-10-09T12:21:53Z | 2018-10-09T12:21:53Z | MEMBER | Or alternatively I suppose I could just store my options as an attribute on the accessor: ```python ds = collect_data(path) ds.bout.options = options_obj Now I have an object which stores all the data I wantprint(ds.bout.options) ``` That seems to be what I should have tried first. In that case would it be possible to have multiple accessors, one for the core bout functionality and others for extensions for even-more-specific users? i.e an accessor for a code called Storm which is based on BOUT++: ```python print(ds) # xarray dataset print(ds.bout.options) # BOUT-specific extra information print(ds.storm.special_storm_plot()) # storm-user-group-specific method ``` Can an accessor inherit from another accessor class? |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
367763373 |