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/3715#issuecomment-1101029273,https://api.github.com/repos/pydata/xarray/issues/3715,1101029273,IC_kwDOAMm_X85BoF-Z,5635139,2022-04-18T02:18:47Z,2022-04-18T02:18:47Z,MEMBER,"I think we can close as upstream, please reopen if that's not the case","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,553672182
https://github.com/pydata/xarray/issues/3715#issuecomment-680398920,https://api.github.com/repos/pydata/xarray/issues/3715,680398920,MDEyOklzc3VlQ29tbWVudDY4MDM5ODkyMA==,5635139,2020-08-26T01:04:06Z,2020-08-26T01:04:06Z,MEMBER,"@DancingQuanta someone pointed me towards this issue — did you happen to make any progress on this / post an issue on scipy?
As per your issue, while this isn't an ideal workaround, this does work:
```python
def process_peaks(arr):
# Apply find_peaks
arr = arr.copy() <- # added
peaks, _ = find_peaks(arr, prominence=1)
return peaks
```","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,553672182
https://github.com/pydata/xarray/issues/3715#issuecomment-577510403,https://api.github.com/repos/pydata/xarray/issues/3715,577510403,MDEyOklzc3VlQ29tbWVudDU3NzUxMDQwMw==,1217238,2020-01-23T05:22:58Z,2020-01-23T05:22:58Z,MEMBER,"I think the source of the problem here is actually the call to broadcast_like(), which makes a readonly view.
It is pretty common for Cython functions to (incorrectly) insist on being able to write to arrays, even if they don’t actually modify their inputs. Most likely scipy could be updated to fix this issues.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,553672182