# load CallistoSpectrogram's in a time range from the internet and combine them
spec = CallistoSpectrogram.from_range('ALASKA', '2018-04-01T00:00:00', '2018-04-02T00:00:00')
spec.peek()
print(spec.shape)
%xdel spec
--
I get the following error. I know Ariel has found the same. I guess he has corrected this. Can we load your corrected version @arielpenalver ?
-------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-7-948279bdb686> in <module>
4
5 spec = CallistoSpectrogram.from_range('ALASKA', '2018-04-01T00:00:00', '2018-04-02T00:00:00')
----> 6 spec.peek()
7 print(spec.shape)
8 get_ipython().run_line_magic('xdel', 'spec')
~/Documents/GitHub/radiospectra/radiospectra/spectrogram.py in peek(self, *args, **kwargs)
457 """
458 figure()
--> 459 ret = self.plot(*args, **kwargs)
460 plt.show()
461 return ret
~/Documents/GitHub/radiospectra/radiospectra/spectrogram.py in plot(self, figure, overlays, colorbar, vmin, vmax, linear, showz, yres, max_dist, **matplotlib_args)
507 delt = float(delt)
508
--> 509 data = _LinearView(self.clip_values(vmin, vmax), delt)
510 freqs = np.arange(
511 self.freq_axis[0], self.freq_axis[-1], -data.delt
~/Documents/GitHub/radiospectra/radiospectra/spectrogram.py in clip_values(self, vmin, vmax, out)
1143 # pylint: disable=E1101
1144 if vmin is None:
-> 1145 vmin = int(self.data.min())
1146
1147 if vmax is None:
ValueError: cannot convert float NaN to integer
This cell does not work:
--
I get the following error. I know Ariel has found the same. I guess he has corrected this. Can we load your corrected version @arielpenalver ?