Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inference: everything except MC error estimates #40

Merged
merged 17 commits into from
Dec 27, 2016

Conversation

efiring
Copy link
Collaborator

@efiring efiring commented Dec 23, 2016

This is the work done over the summer in collaboration with two UH grad students, Erin Edkins and Alex Ludert. I believe it provides all support for inferred constituents except for the error estimates using the MC method. It also includes a new set of tests using a real sea-level time series.

efiring and others added 17 commits June 24, 2016 09:13
Untested.
A few other cleanups were made along the way.
Added support for building model matrix B with inference.
This changeset includes quite a range of modifications; ideally
it might have been broken up into smaller pieces.

The data from ut_constants is now run through a new function,
convert_unicode_arrays, so that things like the list of
constituent names are object arrays of strings with trailing
whitespace removed.

The new test, test_HNL.py, is presently only a smoke test,
but it will be expanded to compare results against the
matlab-generated output that is now in tests/data.
Add smoke test for initial work on inference, and make it run.
The inference comparison is commented out because the inference
implementation is not yet filling in these fields.
test_HNL compares name, A, and g against matlab UTide output
…nce.py.

Added complex coefficient calc to _solve.py
Fixed the calculation of inferred coefficients
Inference amplitude and phase are complete. Partial error implementation.
@efiring
Copy link
Collaborator Author

efiring commented Dec 24, 2016

@ocefpaf Is there anything that can be done about the flood of warnings in the Travis runs?

@ocefpaf
Copy link
Collaborator

ocefpaf commented Dec 24, 2016 via email

@efiring
Copy link
Collaborator Author

efiring commented Dec 24, 2016

It looks like most of the warnings are coming from an unnecessary attempt to import mpl_toolkits (though I don't know why is generating warnings), and some other such things unrelated to the code actually being tested. Maybe it is something about the miniconda environment being used.

@ocefpaf
Copy link
Collaborator

ocefpaf commented Dec 24, 2016

See #42. We don't need to export the export PYTHONWARNINGS=all. But I also implemented some other changes to make things cleaner.

@efiring efiring mentioned this pull request Dec 27, 2016
@wesleybowman wesleybowman merged commit c8c444a into wesleybowman:master Dec 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants