A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
/uufs/chpc.utah.edu/common/home/steenburgh/public_html/hrrrqsfts/hrrrqsfts.cgi in <module> |
132 tracemag = 0.1
|
133 roundoff = 1
|
=> 134 ax1.bar(ind,ds.qpf.values*mult,color='g')
|
135 ax1.set_xlim(0,lastfhr-1)
|
136 ax1.set_xticks(tickmarks)
|
ax1 = <AxesSubplot:>, ax1.bar = <bound method Axes.bar of <AxesSubplot:>>, ind = array([ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 1... 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47]), ds = <xarray.Dataset>
Dimensions: (t... mm
qpf_units: mm, ds.qpf = <xarray.DataArray 'qpf' (time: 47)>
array([0.000...standard_name: unknown, ds.qpf.values = array([0.000e+00, 0.000e+00, 0.000e+00, 1.200e-0...e+00, 0.000e+00, 0.000e+00],
dtype=float32), mult = 0.0393701, color undefined |
/uufs/chpc.utah.edu/common/home/u0028395/software/pkg/miniconda3-py39/lib/python3.9/site-packages/matplotlib/__init__.py in inner(ax=<AxesSubplot:>, data=None, *args=(array([ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 1... 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47]), array([0.0000000e+00, 0.0000000e+00, 0.0000000e+...00, 0.0000000e+00, 0.0000000e+00], dtype=float32)), **kwargs={'color': 'g'}) |
1410 def inner(ax, *args, data=None, **kwargs):
|
1411 if data is None:
|
=> 1412 return func(ax, *map(sanitize_sequence, args), **kwargs)
|
1413
|
1414 bound = new_sig.bind(ax, *args, **kwargs)
|
func = <function Axes.bar>, ax = <AxesSubplot:>, builtin map = <class 'map'>, global sanitize_sequence = <function sanitize_sequence>, args = (array([ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 1... 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47]), array([0.0000000e+00, 0.0000000e+00, 0.0000000e+...00, 0.0000000e+00, 0.0000000e+00], dtype=float32)), kwargs = {'color': 'g'} |
/uufs/chpc.utah.edu/common/home/u0028395/software/pkg/miniconda3-py39/lib/python3.9/site-packages/matplotlib/axes/_axes.py in bar(self=<AxesSubplot:>, x=array([ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 1... 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47]), height=[0.0, 0.0, 0.0, 0.004724412225186825, 0.0, 0.0, 0.0, 0.0003937009896617383, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.002755907131358981, 0.00338582880795002, 0.0, 0.0, 0.0, ...], width=0.8, bottom=None, align='center', **kwargs={}) |
2340 yerr = self._convert_dx(yerr, y0, y, self.convert_yunits)
|
2341
|
=> 2342 x, height, width, y, linewidth, hatch = np.broadcast_arrays(
|
=> 2343 # Make args iterable too.
|
=> 2344 np.atleast_1d(x), height, width, y, linewidth, hatch)
|
x = array([ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 1... 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47]), height = [0.0, 0.0, 0.0, 0.004724412225186825, 0.0, 0.0, 0.0, 0.0003937009896617383, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.002755907131358981, 0.00338582880795002, 0.0, 0.0, 0.0, ...], width = 0.8, y = array(0), linewidth = None, hatch = None, global np = <module 'numpy' from '/uufs/chpc.utah.edu/common...9/lib/python3.9/site-packages/numpy/__init__.py'>, np.broadcast_arrays = <function broadcast_arrays>, np.atleast_1d = <function atleast_1d> |
/uufs/chpc.utah.edu/common/home/steenburgh/public_html/hrrrqsfts/<__array_function__ internals> in broadcast_arrays(*args=(array([ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 1... 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47]), [0.0, 0.0, 0.0, 0.004724412225186825, 0.0, 0.0, 0.0, 0.0003937009896617383, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.002755907131358981, 0.00338582880795002, 0.0, 0.0, 0.0, ...], 0.8, array(0), None, None), **kwargs={}) |
|
/uufs/chpc.utah.edu/common/home/u0028395/software/pkg/miniconda3-py39/lib/python3.9/site-packages/numpy/lib/stride_tricks.py in broadcast_arrays(subok=False, *args=[array([ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 1... 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47]), array([0.00000000e+00, 0.00000000e+00, 0.0000000... 0.00000000e+00, 0.00000000e+00, 0.00000000e+00]), array(0.8), array(0), array(None, dtype=object), array(None, dtype=object)]) |
537 args = [np.array(_m, copy=False, subok=subok) for _m in args]
|
538
|
=> 539 shape = _broadcast_shape(*args)
|
540
|
541 if all(array.shape == shape for array in args):
|
shape undefined, global _broadcast_shape = <function _broadcast_shape>, args = [array([ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 1... 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47]), array([0.00000000e+00, 0.00000000e+00, 0.0000000... 0.00000000e+00, 0.00000000e+00, 0.00000000e+00]), array(0.8), array(0), array(None, dtype=object), array(None, dtype=object)] |
/uufs/chpc.utah.edu/common/home/u0028395/software/pkg/miniconda3-py39/lib/python3.9/site-packages/numpy/lib/stride_tricks.py in _broadcast_shape(*args=(array([ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 1... 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47]), array([0.00000000e+00, 0.00000000e+00, 0.0000000... 0.00000000e+00, 0.00000000e+00, 0.00000000e+00]), array(0.8), array(0), array(None, dtype=object), array(None, dtype=object))) |
419 # use the old-iterator because np.nditer does not handle size 0 arrays
|
420 # consistently
|
=> 421 b = np.broadcast(*args[:32])
|
422 # unfortunately, it cannot handle 32 or more arguments directly
|
423 for pos in range(32, len(args), 31):
|
b undefined, global np = <module 'numpy' from '/uufs/chpc.utah.edu/common...9/lib/python3.9/site-packages/numpy/__init__.py'>, np.broadcast = <class 'numpy.broadcast'>, args = (array([ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 1... 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47]), array([0.00000000e+00, 0.00000000e+00, 0.0000000... 0.00000000e+00, 0.00000000e+00, 0.00000000e+00]), array(0.8), array(0), array(None, dtype=object), array(None, dtype=object)) |