Skip to content

General Bug Fixes#539

Merged
dhinckley-creare merged 23 commits intodevelopfrom
feature/general_bug_fixes
Jan 21, 2026
Merged

General Bug Fixes#539
dhinckley-creare merged 23 commits intodevelopfrom
feature/general_bug_fixes

Conversation

@dhinckley-creare
Copy link
Copy Markdown
Collaborator

This branch contains various behavior fixes/adjustments that were discovered when working through the transition from podpac3 to podpac4 with another program that makes heavy use of podpac

dhinckley-creare and others added 15 commits August 7, 2025 10:08
…terpolation nor a selector caused an error because the index_type was not respected. Solution was to apply a temporary nearest neighbor selector on the expanded coordinates.
…._eval interfered with no-intersection behavior. This attempts to correct that
…did returned coordinates/indices from the input and not the source. Added override for Datasource.create_output_array that adds in bounds and boundary_data to attrs. This already happened on successful evals but short-circuit cases did not contain these attrs.
…eration is applicable to account for podpac4's separation of nodes and interpolation
…_node to separate value and units/label. expanded enumeration label behavior to handle array returns instead of just single values.
…fixed boundary_data value, added clarifying comments.
Copy link
Copy Markdown
Contributor

@mpu-creare mpu-creare left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few minor comments.

Major thing as you already guessed is the lack of code coverage. Please add some tests that cover the new code.

@dhinckley-creare
Copy link
Copy Markdown
Collaborator Author

@mpu-creare When adding unit tests to improve coverage, I noticed that this catch doesn't have a well defined return.

Should we return None like in the other catch?

@mpu-creare
Copy link
Copy Markdown
Contributor

@mpu-creare When adding unit tests to improve coverage, I noticed that this catch doesn't have a well defined return.

Should we return None like in the other catch?

Very yes. Nice catch.

@dhinckley-creare
Copy link
Copy Markdown
Collaborator Author

@mpu-creare When adding unit tests to improve coverage, I noticed that this catch doesn't have a well defined return.
Should we return None like in the other catch?

Very yes. Nice catch.

Roger that. I went ahead and committed that change already (it made the unit test easier to write).

@dhinckley-creare dhinckley-creare merged commit db27a0c into develop Jan 21, 2026
4 checks passed
@sonarqubecloud
Copy link
Copy Markdown

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.

3 participants