IndexError
Python 3.9.10: /uufs/chpc.utah.edu/common/home/u0028395/software/pkg/miniconda3-py39/bin/python
Fri Mar 14 13:49:05 2025

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>
    108 tz=TimezoneFinder().timezone_at(lng=ds.longitude.values, lat=ds.latitude.values)
    109 for fhr in tickmarks:
=>  110     ticklabs.append(validtime_utc[fhr].tz_convert(tz).strftime('%a'+'\n'+'%-I'+'%p'))
    111 
    112     
ticklabs = ['Fri\n2PM', 'Fri\n5PM', 'Fri\n8PM', 'Fri\n11PM', 'Sat\n2AM', 'Sat\n5AM', 'Sat\n8AM', 'Sat\n11AM'], ticklabs.append = <built-in method append of list object>, validtime_utc = DatetimeIndex(['2025-03-14 19:00:00+00:00', '202... dtype='datetime64[ns, UTC]', freq=None), fhr = 25, ].tz_convert undefined, tz = 'America/Denver', ).strftime undefined
 /uufs/chpc.utah.edu/common/home/u0028395/software/pkg/miniconda3-py39/lib/python3.9/site-packages/pandas/core/indexes/base.py in __getitem__(self=DatetimeIndex(['2025-03-14 19:00:00+00:00', '202... dtype='datetime64[ns, UTC]', freq=None), key=25)
   5037             # GH#44051 exclude bool, which would return a 2d ndarray
   5038             key = com.cast_scalar_indexer(key, warn_float=True)
=> 5039             return getitem(key)
   5040 
   5041         if isinstance(key, slice):
getitem = <bound method DatetimeLikeArrayMixin.__getitem__...0+00:00'] Length: 24, dtype: datetime64[ns, UTC]>, key = 25
 /uufs/chpc.utah.edu/common/home/u0028395/software/pkg/miniconda3-py39/lib/python3.9/site-packages/pandas/core/arrays/datetimelike.py in __getitem__(self=<DatetimeArray> ['2025-03-14 19:00:00+00:00', '2...00+00:00'] Length: 24, dtype: datetime64[ns, UTC], key=25)
    339         # (see https://github.com/pandas-dev/pandas/pull/44624)
    340         result = cast(
=>  341             "Union[DatetimeLikeArrayT, DTScalarOrNaT]", super().__getitem__(key)
    342         )
    343         if lib.is_scalar(result):
builtin super = <class 'super'>, ).__getitem__ undefined, key = 25
 /uufs/chpc.utah.edu/common/home/u0028395/software/pkg/miniconda3-py39/lib/python3.9/site-packages/pandas/core/arrays/_mixins.py in __getitem__(self=<DatetimeArray> ['2025-03-14 19:00:00+00:00', '2...00+00:00'] Length: 24, dtype: datetime64[ns, UTC], key=25)
    270         if lib.is_integer(key):
    271             # fast-path
=>  272             result = self._ndarray[key]
    273             if self.ndim == 1:
    274                 return self._box_func(result)
result undefined, self = <DatetimeArray> ['2025-03-14 19:00:00+00:00', '2...00+00:00'] Length: 24, dtype: datetime64[ns, UTC], self._ndarray = array(['2025-03-14T19:00:00.000000000', '2025-03...:00:00.000000000'], dtype='datetime64[ns]'), key = 25

IndexError: index 25 is out of bounds for axis 0 with size 24
      args = ('index 25 is out of bounds for axis 0 with size 24',)
      with_traceback = <built-in method with_traceback of IndexError object>