NSF-Swift / satellite-overhead

An open-source tool for calculating satellite interference to radio astronomy observations.
https://pypi.org/project/sopp/
GNU Affero General Public License v3.0
0 stars 2 forks source link

Add validation for Sopp Configuration object #117

Closed 0xeb-bp closed 7 months ago

0xeb-bp commented 8 months ago

This PR implements validation for the Configuration object parameter passed to the Sopp class. The validation includes checks such as ensuring the time window start date is before the end date, verifying that the provided beamwidth is greater than 0, and validating that the antenna_direction_path consists of a series of increasing times, among others.

Additionally, tests have been added to validate these checks.