Skip to content

Conversation

@dopplershift
Copy link
Member

Description Of Changes

The fixup in #3255 inadvertently added unit parsing to all code paths in interpolate_to_slice. This breaks any usages that passed in data with unknown units, such as dBZ with pyart. Since interpolate_to_slice has no need to do any unit handling, avoid this unless we're actually given a quantity.

Also update .gitignore for a new file being spit out by sphinx-gallery (or at least new outside the existing ignored directories).

Checklist

@dopplershift dopplershift added Type: Bug Something is not working like it should Area: Units Pertains to unit information labels Jan 3, 2024
@dopplershift dopplershift added this to the 1.6.1 milestone Jan 3, 2024
@dopplershift dopplershift requested a review from a team as a code owner January 3, 2024 23:21
@dopplershift dopplershift requested review from dcamron and removed request for a team January 3, 2024 23:21
The fixup in Unidata#3255 inadvertently added unit parsing to all code paths in
interpolate_to_slice. This breaks any usages that passed in data with
unknown units. Since interpolate_to_slice has no need to do any unit
handling, avoid this unless we're actually given a quantity.
@dcamron dcamron merged commit 059cc1a into Unidata:main Jan 4, 2024
@dopplershift dopplershift deleted the fix-3341 branch January 4, 2024 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: Units Pertains to unit information Type: Bug Something is not working like it should

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UndefinedUnitError: 'dBZ' is not defined in the unit registry

2 participants