Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update sd_libs.py #280

Closed
wants to merge 1 commit into from
Closed

Conversation

fgnievinski
Copy link
Contributor

band-aid for gappy series

band-aid for gappy series
@fgnievinski
Copy link
Contributor Author

fgnievinski commented May 28, 2024

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
Copy link
Owner

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
Copy link
Contributor Author

fgnievinski commented May 29, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants