The queryTrapRate() function is intended to query DART for the reported trap rate at Lower Granite Dam. However, it seems that the query URL (https://www.cbr.washington.edu/dart/cs/data/GRAtrap) may no longer be supported by DART. Also, it's likely that the query is no longer needed as the trap rate can be estimated from PIT-tag observations. Potential solutions include:
- Request DART to resurrect the URL and query,
- No longer export the function and stash it,
- Remove the function altogether.
Note: The compileGRAdata() currently includes the argument useDARTrate which if TRUE uses the queryTrapRate() function (default is FALSE). The function would no longer work if useDARTrate = TRUE. If queryTrapRate() is removed or stashed, we should remove that argument.
The
queryTrapRate()function is intended to query DART for the reported trap rate at Lower Granite Dam. However, it seems that the query URL (https://www.cbr.washington.edu/dart/cs/data/GRAtrap) may no longer be supported by DART. Also, it's likely that the query is no longer needed as the trap rate can be estimated from PIT-tag observations. Potential solutions include:Note: The
compileGRAdata()currently includes the argumentuseDARTratewhich ifTRUEuses thequeryTrapRate()function (default isFALSE). The function would no longer work ifuseDARTrate = TRUE. IfqueryTrapRate()is removed or stashed, we should remove that argument.