As it stands, the data class FrequencyRange expects both frequency and bandwidth to be supplied in MHz.
The satellite frequency data .csv file generated by the sat-frequency-scrapper provides bandwidth in KHz. Translation has been added that converts from KHz to MHz before then populating the satellites with their frequency data.
This resolves a potential bug where calculating frequency overlap between the observation frequency and the satellite frequency would produce incorrect results.
This PR resolves issue #108.
As it stands, the data class
FrequencyRange
expects both frequency and bandwidth to be supplied in MHz.The satellite frequency data .csv file generated by the sat-frequency-scrapper provides bandwidth in KHz. Translation has been added that converts from KHz to MHz before then populating the satellites with their frequency data.
This resolves a potential bug where calculating frequency overlap between the observation frequency and the satellite frequency would produce incorrect results.