-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch NHD tasks to use new pattern #188
Comments
Lindsay, I'm not sure that the I think part 1 of this issue is figuring out if an overhaul to the new pattern is pressing (i.e., the current pattern creates unnecessary builds, which is bad). We may be fine here if everyone is on a fairly recent version of Part 2 of this issue (after concluding the re-work is necessary) is to create a contained task table and two combiner target build. As mentioned above, I think you may not be able to directly use the pipelines III solution to the two-target return on a task table, since those were objects. But perhaps you could return a data.frame that includes So maybe on the parent remake (1_crosswalk), you'd have 1_crosswalk_fetch/out/canonical_lakes_sf.rds.ind:
command: gd_put_plucked(nhd_task_combiners, target_name) and |
I do not think this is an issue if you are using scipiper v0.0.22 or greater. To test, I did the following:
These steps seem like they would have caused an annoying rebuild in the past due to different versions, but now they do not. |
Ok, good deal. I'd suggest we keep this issue open but treat it as lower priority (i.e., a |
Yes, sounds good to me! |
Right now the NHD features and GNIS names (two different targets) come out of combiners in the
1_crosswalk_fetch_nhd_tasks.yml
file.Since the plan and the yaml are both targets in
1_crosswalk
, we get unintended builds whenever someone has a different version ofscipiper
. Since this is such an early target with so many downstream implications, this fix is probably more important than some of the other conversions we've ignored elsewhere.The
1_crosswalk_fetch/out/canonical_lakes_sf.rds.ind
and2_crosswalk_munge/out/gnisname_nhdhr_xwalk.rds.ind
are the two targets that come out of this workflow. The two targetpluck
pattern in pipelines III is a good fit here: https://github.com/limnoliver/ds-pipelines-3/blob/master/remake.yml#L56The text was updated successfully, but these errors were encountered: