Re-developed all codes to be more simple and robust (no backward compatibility!)
Please remove your config files (maybe localted in `~/.config/azely`) before using this version.
Features
- Information of location is obtained from OpenStreetMap
- Information of timezone is not cached as it can be estimated offline
- Az/El result is provided as pandas' DataFrame as a common data structure
Warnings
- Command line interface is temporarily removed (will be available in v0.5)
Example
py
import azely
import matplotlib.pyplot as plt
df = azely.compute("Moon", "Tokyo", "2020-02-01 12:00 to 2020-02-02 12:00")
fig, ax = plt.subplots()
df.el.plot(ax=ax)
ax.set_ylim(0, 90)
fig.show()