goertler / acoustic-telemetry-synthesis

acoustic telemetry synthesis for describing juvenile Chinook diversity
0 stars 2 forks source link

movements created by distance matrix code counts multiple GG East/West "movements" #1

Closed Myfanwy closed 1 year ago

Myfanwy commented 3 years ago

For example, see FishID ARF2017-005; the code that filters down to the first movement at each receiver counts multiple first "arrivals" at GGE/W; should we group these receivers? It really adds up the distance "traveled" by this fish, by 826 meters/movement at the GG recs.

Myfanwy commented 2 years ago

This is still causing issues, particularly with fish that are only detected at release and then at Chipps. Suggest choosing a receiver in the middle of the array to represent all arrivals/departures at Chipps, and then grouping all Chipps detections by this.

Would need to apply this grouping to all cleaning scripts and re-make results. @goertler , could you take a look at the receiver map and choose a representative receiver from the Chipps array? We can then assign all other Chipps receivers to that GEN name, and the movements across the Chipps array will be standardized to that distance from the distance matrix.

goertler commented 2 years ago

Is this only needed for YBUS? The JSATS estuary detection is a little more complicated because they don't have a Chipps array in all years. Alos, we already use "GEN" locations for JSATS, so maybe that takes care of this issue for that dataset?

goertler commented 2 years ago

Otherwise, can we call all the MAL sites in YBUS, GEN = MAL and then we don't need to change the code for the other datasets?

goertler commented 2 years ago

@Myfanwy I think I have added the remaining GEN locations to YBUS. One thing I noticed is that we had already renamed these on a previous iteration to match the distance matrix to the detections("YB_BCE", "YB_BCE2","YB_BCW","YB_BCW2", lines 54-57), but now that we have GEN locations, do we want to give them a general name? They are near "CCH.1" & "CCH.2"...