bevingtona / planetR

(early development) R tools to search, activate and download satellite imagery from the Planet API.
Apache License 2.0
45 stars 14 forks source link

date filter #13

Closed kenjclemente closed 2 years ago

kenjclemente commented 2 years ago

Hi very cool product! just wanted help on how to specify list of exact dates as filter instead of the date range? (for example I have listed 15 dates where low tide conditions are expected). Many thanks!

bevingtona commented 2 years ago

Great idea, I added this functionality. You'll have to update the package.

Using the Orders API example in the README, try:


planet_order(api_key = api_key, 
             bbox = bbox, 
             list_dates = c("2021-01-01","2020-02-14"),
             cloud_lim = cloud_lim, 
             item_name = item_name, 
             product = product,
             order_name = exportfolder)
bevingtona commented 2 years ago

closed for inactivity, feel free to re-open if needed