Open rburghol opened 7 months ago
fn_get_memo_nhdplus.R
- Located in the functions folder, but right now it doesn't define or require a function call. It currently caches data as stated in the code above, and this script is sourced at the top of the Rmd with the rest of the function and config files.memo_plot_nhdplus
is applied. BigSandy_UpperTennessee_1
and Shenandoah_1
now render in under a minute.Shenandoah_1
rendered in 78s the first time (before data was cached), and rendered in 54s the second time around. New files can be seen in the caching directory on my computer as well. BigSandy_UpperTennessee_1
rendered in 57s once NHD was cached.Dataframe_Generator.Rmd
so that in the WSP_Regional_Summaries.Rmd
we're able to quickly render many different origins in a row? Rather than only saving time if you're re-running the same origin.
The following functions will cache nhd results. These are preferable to reduce timeouts. We should put them in a function file, then call that file (later to be migrated to vahydro or hydroools). Ex:
memo_get_nhdplus()