KevinSee / STADEM

Estimate escapment across a dam
https://kevinsee.github.io/STADEM/
Other
1 stars 6 forks source link

DART Lower Granite Trap Rate Query #29

Open mackerman44 opened 2 months ago

mackerman44 commented 2 months ago

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:

  1. Request DART to resurrect the URL and query,
  2. No longer export the function and stash it,
  3. 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.