kristinemlarson / gnssrefl

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

Update sd_libs.py #280

Closed fgnievinski closed 3 months ago

fgnievinski commented 3 months ago

band-aid for gappy series

fgnievinski commented 3 months ago

this is just a band-aid to avoid crashing: image

here are the results from gnssir in case you'd like to replicate the problem in subdaily: rig1.json rig1-results-2023.zip rig1-results-2024.zip

kristinemlarson commented 3 months ago

I had been working on various fixes - so just added your bandaid to version 3.3.1 - just uploaded.

Honestly, it solves the problem for now which I think it caused your data file having a large gap at the end of the last day. If it fails again, please do let me know.
By the way, i noticed you weren't using the new options that let someone store their subdaily options in the json. like if you wanted fewer knots, "subdaily_knots": 1,

these are all of them. you can add them manually if you already have a json. the fields are created the first time you run gnssir_input.

parser.add_argument("-subdaily_alt_sigma", default=None, type=str, help="subdaily, Nievinski sigma")
parser.add_argument("-subdaily_sigma", default=None, type=str, help="subdaily, sigma for part 1")
parser.add_argument("-subdaily_ampl", default=None, type=float, help="subdaily, LSP amplitude override")
parser.add_argument("-subdaily_delta_out", default=None, type=int, help="subdaily, spline output interval (sec)")
parser.add_argument("-subdaily_knots", default=None, type=float, help="subdaily, knots, how many per day")
parser.add_argument("-subdaily_subdir", default=None, type=str, help="subdaily, output directory")
parser.add_argument("-subdaily_spline_outlier1", default=None, type=float, help="subdaily, outlier value (m), part1")
parser.add_argument("-subdaily_spline_outlier2", default=None, type=float, help="subdaily, outlier value (m), part2")
fgnievinski commented 3 months ago

thank you. i have yet to update docker. after the flood ends.

On Tue, May 28, 2024, 21:10 Kristine M. Larson @.***> wrote:

Closed #280 https://github.com/kristinemlarson/gnssrefl/pull/280.

— Reply to this email directly, view it on GitHub https://github.com/kristinemlarson/gnssrefl/pull/280#event-12964303766, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABGJHBALMEORUAQZIXQUS5TZEUMIJAVCNFSM6AAAAABIMCEAVKVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJSHE3DIMZQGM3TMNQ . You are receiving this because you authored the thread.Message ID: @.***>