compare_times: Compares a name of a sentinel file with the tide from that...

Description Usage Arguments Value

View source: R/compare_tidal_times.R

Description

Compares a name of a sentinel file with the tide from that date and if it is within the time window defined by the user return TRUE

Usage

1
compare_times(sat_info, time_window, country = "fr", site_id = NULL)

Arguments

sat_info

Name of a Sentinel file, the date will be extracted from here

time_window

Time window (in minutes) around low tide for selecting an image

country

code for the country tides. Currently fr for France and ca for Canada

site_id

numerical code to the tidal station, e.g. 114 for Le Croisic

Value

a list with the tidal info and an element TRUE/FALSE if it fits the selection criteria (time_window)


bmjesus/sentinel documentation built on Oct. 10, 2020, 9:47 p.m.