Skip to content

Add allow_failures flag to Dataset.curve_fit#6515

Closed
StanczakDominik wants to merge 4 commits into
pydata:mainfrom
StanczakDominik:6317
Closed

Add allow_failures flag to Dataset.curve_fit#6515
StanczakDominik wants to merge 4 commits into
pydata:mainfrom
StanczakDominik:6317

Conversation

@StanczakDominik

@StanczakDominik StanczakDominik commented Apr 26, 2022

Copy link
Copy Markdown
Contributor

For some reason, my grepping doesn't seem to show any existing tests for curve_fit...?

Comment thread xarray/core/dataset.py
@dcherian

Copy link
Copy Markdown
Contributor

Thanks @StanczakDominik can you add a test for this behaviour? The existing tests are here:

def test_curvefit(self, use_dask):

@StanczakDominik

Copy link
Copy Markdown
Contributor Author

Gah, I kept grepping for curve_fit with the underscore! 😅 Thanks for the pointer!

@headtr1ck

Copy link
Copy Markdown
Collaborator

@StanczakDominik are you still motivated to work on these tests?

@mgunyho mgunyho mentioned this pull request Jun 4, 2023
3 tasks
@mgunyho

mgunyho commented Jun 4, 2023

Copy link
Copy Markdown
Contributor

Hi! I would also like to see this implemented, so I rebased this branch and added a test in #7891.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Handle scipy fitting errors in xarray.curve_fit

5 participants