kristinemlarson / gnssrefl

GNSS Interferometric Reflectometry Software (GNSS-IR)
GNU General Public License v3.0
154 stars 76 forks source link

invsnr fails on files < 24 hours long #292

Closed kristinemlarson closed 2 months ago

kristinemlarson commented 3 months ago

as the code as written, it expects you to have 24 hour SNR files. for obvious reasons this is not great - so if anyone would like to tackle that ... you basically need to figure out how to tell the code you don't want 86400 seconds on the last day, but some other value. two issues: one for the lomb scargles and the other is the inverse method. the latter is the main problem. i really like invsnr - but i cannot improve it at this level of scrutiny. so if anyone wants it to work for this use case ... i suggest talking to me first, but then submit a PR.