issue_comments: 570057684
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/pull/3596#issuecomment-570057684 | https://api.github.com/repos/pydata/xarray/issues/3596 | 570057684 | MDEyOklzc3VlQ29tbWVudDU3MDA1NzY4NA== | 12862013 | 2020-01-01T14:29:15Z | 2020-01-01T14:29:15Z | CONTRIBUTOR | Hi everyone, happy new year :tada: I feel like this PR is slowly getting into a descent shape. But I could use your input on a couple of subjects: How should we handle the default padding?
I currently pad with We could chose to pad with 0's as numpy does it, or we could force the user to choose a constantt_value, but I don't think I would prefer this. How should the coordinates of a DataArray/set be padded? I chose default padding except for modes "edge", "reflect", "symmetric", "wrap". @dcherian noted that this could make sense in some situations, but that I would require some further discussion. Personally I think it more often than not it makes sense, but padding with NaN's should also work fine. dask_array_compat Also I created a workaround for the changing of dtype by Dask.pad mode=mean and added an additional check to validate the output shape of dask.pad. Let me know what you think about this, I'm not 100% convinced... I used a couple of |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
532940062 |