This data package contains Juvenile, Adult and environmental data for each of the watersheds within the Spring Run Juvenile Production Estimate (SRJPE) Forecast model (Battle Creek, Butte Creek, Clear Creek, Deer Creek, Feather River, Mill Creek, Sacramento River, and the Yuba River). Historical data are used to train the model and seasonal updates are used to Forecast the JPE of a given season.
This data has been compiled from monitoring programs and gages and is stored in the SRJPE model database on Microsoft Azure. Biweekly, automated scripts update the database, pulling new datasets from CDEC & USGS gages and from EDI monitoring data packages. RST data is updated biweekly throughout the trapping season and Adult data is updated annual at the end of the adult monitoring season.
This data package will be updated in annually after adult datasets are finalized and then biweekly through the RST motioning season (Nov - June).
This package provides datasets to the SRJPEmodelpackage.
# datasets within the package
data(package = 'SRJPEdata')
# explore package documentation
?SRJPEdata
A GitHub Action (to run on a biweekly trigger) is currently in development. In the interim, data are updated by:
Adult and Juvenile monitoring datasets from 7 systems are compiled within this data package. All data can be found on the Environmental Data Initiatives Data Portal by searching “SR JPE.”
NOAA collects acoustic tagging data as part of the Central Valley Enhanced Acoustic Tagging Project. This data package queries tagging data from many studies using the ERDDAP data server. We processed data, aggregating detection sites into 3 distinct locations and processing fish detection data to create a capture history for each fish.
Genetics monitoring data is also included in this data package to prepare data inputs for a probabilistic length at date (PLAD) model. Genetics data is pulled directly from EDI into this data package.
Data objects are rebuilt on a schedule tied to the RST monitoring season (Nov - June):
Biweekly, during the RST season - RST catch/trap/efficiency, flow, temperature, and genetics data are refreshed with the most current available records.
Annually, once the RST season ends and adult data has been finalized - the full dataset is rebuilt to also incorporate the year’s adult datasets.
Version numbers direclty align with this update schedule, a major release accompanies the annual update (both juvenile and adult data change), while minor releases correspond to the within-season biweekly updates.
Every update follows the same three steps:
data-raw/update_data.R. This script pulls raw monitoring data from jpe-db, EDI, and CDEC/USGS gages, rebuilds the covariate, RST, adult, genetics, and survival data objects, and regenerates package documentation and the pkgdown site.data-raw/qc/run_annual_qc.R. This script renders the RST, flow/temperature, efficiency, and summary reports. Flagged issues are logged to qc_log_errors.csv and qc_log_warnings.csv for review; see data-raw/qc/qc_workflow.md for the full QC workflow.data-raw/data-checks/stream_team_review/render_reviews.R. This script renders a per-stream report and CSVs for stream teams to review before the update is finalized. These files are emailed to stream teams around July-September.NOTE: Annually, the data-raw/pull_data_scripts/README.md should be revisited to check whether we can update any “misfit” data sources to pull from pipelines that are still being refined.