hamsci_psws.solar

solar.py

Convenience module for select solar calculations and plotting routines.

Written by Nathaniel Frissell, August 2022.

Functions

add_terminator(sTime, eTime, lat, lon, ax[, ...])

Shade the nighttime region on a time series plot.

solar_time(datetime_utc, lon)

Convert UTC datetime object into Local Mean Time.

sunAzEl(dates, lat, lon)

Return the azimuths and elevation angles of the Sun for a list of UTC dates and lat/lon location.

utc_time(datetime_lmt, lon)

Convert datetime object from Local Mean Time to UTC.