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

BUG: autocrop with upward facing data #172

Merged
merged 2 commits into from Jun 24, 2020
Merged

Conversation

scottclowe
Copy link
Member

Passing data already reflected in the depth dimension was confusing the model and resulting in:

  • the data being read in upside down if facing was specified
  • the model being put through the wrong conditional model if facing was not specified

This is resolved by passing the original inference_transect arguments to its subcall, and not the pre-reflected copy of the data.

This means we need to handle meeting crop_depth_min and crop_depth_max limits separately.

Passing data already reflected in the depth dimension was
confusing the model and resulting in:
- the data being read in upside down if facing was specified
- the model being put through the wrong conditional model if
  facing was not specified
@scottclowe scottclowe added the bug Something isn't working label Jun 24, 2020
@scottclowe scottclowe merged commit 8ac1709 into master Jun 24, 2020
@scottclowe scottclowe deleted the bug_autocrop-upward branch June 24, 2020 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant