Here is some ChatGPT code results. It wrote the Javascript to work out the elevation from a given antenna lat/lon/alt to an airborne lat/lon/alt. Then put that SNR into function that made a chartjs 90min sped up big time. Few dropped samples on the way down.