Skip to content

Commit

Permalink
Fix strange bug with no 'pattern' Mindy found with targets v 1.9 by r…
Browse files Browse the repository at this point in the history
…emoving shared cache on aws
  • Loading branch information
n8layman committed Nov 20, 2024
1 parent cfc6c25 commit aebac53
Show file tree
Hide file tree
Showing 5 changed files with 245 additions and 27,742 deletions.
4 changes: 2 additions & 2 deletions _targets.R
Original file line number Diff line number Diff line change
Expand Up @@ -394,12 +394,12 @@ dynamic_targets <- tar_plan(
modis_ndvi_token,
bbox_coords = sf::st_bbox(continent_polygon),
modis_ndvi_transformed_directory),
map(modis_task_end_dates),
pattern = map(modis_task_end_dates),
cue = tar_cue("always")),

# Set up modis_ndvi data requests
tar_target(modis_ndvi_bundle_request, submit_modis_ndvi_bundle_request(modis_ndvi_token, modis_ndvi_task_id_continent),
map(modis_ndvi_task_id_continent)),
pattern = map(modis_ndvi_task_id_continent)),

# Check if modis_ndvi files already exists on AWS and can be loaded
# The only important one is the directory. The others are there to enforce dependencies.
Expand Down
Loading

0 comments on commit aebac53

Please sign in to comment.