OceanColor.inrange.matchup_L3m¶
- OceanColor.inrange.matchup_L3m(track, ds, dL_tol: float, dt_tol)[source]¶
Search an L3 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) – L3m composite.
dL_tol (float) – Distance in meters around a waypoint to be considered a matchup.
dt_tol (np.timedelta64) – 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_L2Search an L2 dataset for pixels within a range
Notes
Since L3M product are daily means, dt=0 means a profile on the same day of the satellite measurement, while + 3hrs means the hour 3 of the following day. Further, dt_tol=0 limits to satellite mean for the same day of the profile, while dt_tol=12 limits to the day of the profile plus the previous day if spray measured in the morning or following day if measurement was done in the afternoon/evening.
IDEA: Maybe crop nc by min/max lat and lon before estimate the distances.
Return all satellite data in range of some profile
- For a given data frame of profiles, return all satellite data,
including lat, lon, dL (distance), and dt (difference in time) in respect of all profiles.
- Since L3M product is daily means, dt=0 means a profile on the same day
of the satellite measurement, while + 3hrs means the hour 3 of the following day. Further, dt_tol=0 limits to satellite mean for the same day of the profile, while dt_tol=12 limits to the day of the profile plus the previous day if spray measured in the morning or following day if measurement was done in the afternoon/evening.
- IDEA: Maybe crop nc by min/max lat and lon before estimate the
distances.