Closed CassandraAuri closed 6 months ago
Hi @CassandraAuri
I am unable to replicate this error on my end and I see the attached plot. What version of numpy and pandas do you have installed? I suspect that it has something to do with that.
If you run this command it may shed some light on what is going on
>>> import numpy, pandas
>>> print(f'{numpy.__version__=}, {pandas.__version__=}')
numpy.__version__='1.24.3', pandas.__version__='1.5.3'
P.S. Your code example uses the deprecated asilib interface. Have you tried creating a keogram using the following code? It should be equivilant.
from datetime import datetime
import matplotlib.pyplot as plt
import asilib
import asilib.asi
time_range = [datetime(2021, 3, 18, 8), datetime(2021, 3, 18, 9)]
asi = asilib.asi.rego( "fsmi", time_range, alt=110)
asi.plot_keogram()
plt.show()
Describe the issue:
When putting in a datetime to keogram, it errors.
Reproduce the code example:
Error message:
Runtime information:
0.20.5 3.8.3 (default, Jul 2 2020, 17:30:36) [MSC v.1916 64 bit (AMD64)] Windows-10-10.0.19041-SP0
Context for the issue:
Can't use keograms with existing code and probably an easy fix.