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

Modify/improve MadsTEMDriver.observed_vec function, fix bug. #741

Merged
merged 15 commits into from
Oct 1, 2024

Conversation

tobeycarman
Copy link
Member

Adds the capability for the observed_vec function to return either a labeled array or flat list of target (observation) values. Turns out that the labeled array was helpful for testing/cross checking the order of the flat list.

Adds tests that go with the new feature.

Fixes bug with indentation of return statement in observed_vec function.

Change AC-MADS-TEM.jl so that it explicitly requests a flat list as the remainder of MADS seems to expect.

Adds the capability for the observed_vec function to return either
a labeled array or flat list of target (observation) values. Turns out
that the labeled array was helpful for testing/cross checking the order
of the flat list.

Adds tests that go with the new feature.

Fixes bug with indentation of return statement in observed_vec function.

Change AC-MADS-TEM.jl so that it explicitly requests a flat list as the
remainder of MADS seems to expect.
tobeycarman and others added 3 commits September 11, 2024 12:38
Messed up the single vs double quotes for julia strings...
Pushed a fix changing " -> ' in AC-MADS-TEM.jl, though
tcarman, had already fixed this. It should be the opposite
' -> "
Benjamin-Maglio and others added 11 commits September 26, 2024 16:41
I have added a suggested fix for the outlabels bug
in comments above the current break point, this does not
fully work but may have some syntax that will be useful.
…r the tests.

This is sort of confusing - in the process of re-arranging the way that
testing data is stored and handled (see pull request and branch removing
GitLFS). But the ideas is that the demo data should come with the repo
and the testing data will require an extra step (details yet to be
determined) for the user to acquire.
Adding test for when only soil params are specified
Problems with axes labeling.

Start by setting label rotation to 90 to accomodate longer labels, and
re-organize funciton to group commands for each axes together.
Looks like this should have only handled axes 1 and 2 because they have
the same x scale, while axes 0 is different.
@tobeycarman tobeycarman merged commit 496762c into master Oct 1, 2024
1 check passed
@tobeycarman tobeycarman deleted the iss738-mads-targets-compartments branch October 1, 2024 21:15
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.

Key Error when running AC-MADS-TEM.jl with target data containing compartments (E.g. VEGC, VEGN)
2 participants