calc.storm_relative_helicity "TypeError: tuple indices must be integers or slices, not tuple" #1164
Labels
Area: Calc
Pertains to calculations
Status: Duplicate
Duplicates an existing issue
Type: Bug
Something is not working like it should
Calling the SRH function for a single point or spatial subset (in this case, 10x10 grid) throws "TypeError: tuple indices must be integers or slices, not tuple". When attempting to operate on the full volume rather than a single point or subset, it throws a MemoryError. The full RAP volume at 13 km is (37, 337, 451) - which doesn't strike me as excessively large.
Response on Twitter was that it may be a problem with Pint and asked me to open an issue. All errors thrown are attached as a screenshot.
Code snippet below uses UCAR's siphon and THREDDS so should be very easily copied, pasted, and run. Just make sure the valid date is within the last ~30 days.

The text was updated successfully, but these errors were encountered: