Skip to content

siteSR/lakeSR download, join, handoff#4

Open
mbrousil wants to merge 32 commits intoAquaSat:mainfrom
mbrousil:main
Open

siteSR/lakeSR download, join, handoff#4
mbrousil wants to merge 32 commits intoAquaSat:mainfrom
mbrousil:main

Conversation

@mbrousil
Copy link
Copy Markdown
Contributor

@mbrousil mbrousil commented Mar 27, 2026

Hey Matt!

The goal of this PR is to get the siteSR and lakeSR functionality all drafted up. It covers a lot of ground, but I've tried to lay it all out in the vignettes, so hopefully that will act as a good guide. Here's a quick overview:

  • download_lakeSR(), download_siteSR() added
  • build_sr() added to stack mission-level components of SR datasets. Uses {arrow} Tables, in-memory for now
  • match_siteSR_to_WQP() added. Uses {arrow}, {duckdb}, and parquet files to do matchups outside of memory because of their size
  • apply_handoffs() added. Also happens with parquet outside of memory
  • R/utils-pipe.R, R/globals.R, R/helpers.R added for behind-the-scenes needs
  • 3 vignettes added, including vignettes/example-workflow.Rmd. This one should work locally for you if you want to give it a shot to see how the package works from start to finish. I've run it successfully on 32 GB and 64 GB machines.

Thanks!

Closes #2

@mbrousil mbrousil requested a review from matthewross07 March 27, 2026 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add SR download functions

1 participant