-
Notifications
You must be signed in to change notification settings - Fork 13
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
Combine Argos and GPS locations to fit ssm #14
Comments
Thanks for the suggestion. Allowing simultaneous fit to Argos and GPS locations is planned for the next update. Until that update is available you can force it by merging the locations, ensuring they are in chronological order, and for the GPS obs - setting lc = 3 and smaj, smin, eor all to NA. If your Argos data are KF, the model will use the error ellipse info for these observations and treat the GPS as though they are LS with lc = 3. |
Ok thanks! |
The error ellipse parameters: smaj, smin, eor should all be set to NA. Your input data should look like this:
where the 1st record is an Argos KF observation and the 2nd is GPS |
Ok thanks! |
An alternative approach is now available - you can merge your Argos & GPS data in a single data.frame/tibble and set lc = "G" for GPS locations. This will scale GPS location errors SD's so they are 0.1 x Argos lc 3, ie. 10 x more precise. See this issue for additional details: #15 |
Great! Thanks Ian! |
I should have also mentioned that to get it, you'll have to install the dev version of foieGras:
|
Unfortunatly, it is not working for me. I run the function as:
And I've got this error:
|
can you provide a small, reproducible example with data? |
OK so here some examples. First, the data of one seal that has Argos and GPS data.
This produces the following error (I don't have the error when I remove GPS locs):
Also, I have an error when I fit the locs of some other seals with only Argos locs. See this example:
Which produces this error:
I noticed that this error could emerge when
|
Hassen, your examples now work. Note, errors in the latter 2 examples were optimizer crashes due to one or more more extreme observations that weren't being flagged by
|
Ok thanks! |
Hi,
I have GPS and Argos locations on the same individuals. Is there a way to combine both (Argos and GPS) location types to fit a continuous ssm (with
foieGras::fit_ssm()
) to improve the filter of Argos locations and have a better overall track estimation?Maybe including GPS locs as Argos with quality 3 and adjust error parameters accordingly (smaj, smin, and eor)?
Thanks!
The text was updated successfully, but these errors were encountered: