OceanColor.inrange.matchup_L2¶
- OceanColor.inrange.matchup_L2(track, ds, dL_tol: float, dt_tol)[source]¶
Search an L2 Dataset for pixels within range of a track
For a given data frame of waypoints, return all satellite data, including lat, lon, dL (distance), and dt (difference in time) in respect of all waypoints.
- Parameters
track (pd.DataFrame) – A collection of waypoints containing {time, lat, lon}. The index on this DataFrame will be used as the reference on for the output.
ds (xr.Dataset) – An L2 granule, which is usually loaded from a netCDF.
dL_tol (float) – Maximum distance in meters from a waypoint to be considered a matchup.
dt_tol (np.timedelta64) – Maximum accepted time difference to be considered a matchup.
- Returns
matchup – All pixels within space and time range from the given track of waypoints. One pixel per row.
- Return type
pd.DataFrame
See also
matchupSearch a dataset for pixels within a range
matchup_L3mSearch an L3m dataset for pixels within a range