AquaSat / AquaMatch_harmonize_WQP

https://aquasat.github.io/AquaMatch_harmonize_WQP/
MIT License
1 stars 3 forks source link

A few tweaks for 'use_stable' config #91

Closed steeleb closed 5 months ago

steeleb commented 5 months ago

Okay, these are the small tweaks I made for folks to run their own harmonization using the stable download, but their own harmonization stuff.

1) added to check for and make Drive directories as needed (in _targets.R) as required 2) added dependency of the created drive directory targets to the handful of objects exporting to the Drive folders 3) switched around the config.yml so that the order is default, use_stable, admin_update and added a little more context to the 'use_stable' option 4) removed the directory check/creation from the run.R to the function src/retrieve_data.R to generalize it a bit 5) added the p3_chla_agg_harmonized_feather_drive_file target to the tar_make() call in the run.R (no worries if you want to clear this out) 6) removed the hard-coded selection for the Drive authentication in run.R

Hopefully this doesn't mess with your workflow too much. If it makes sense to wait on incorporating these until AFTER I look at your upcoming PR, I can deal with any conflicts at that time and then re-request a PR.