OceanDB.data_access.along_track#
- class OceanDB.data_access.along_track.AlongTrack(config=None)#
Bases:
BaseReadQuery- Parameters:
config (
Config|None)
- geographic_nearest_neighbors(fields, latitude, longitude, date, time_window=datetime.timedelta(days=10), missions=['al', 'alg', 'c2', 'c2n', 'e1g', 'e1', 'e2', 'en', 'enn', 'g2', 'h2a', 'h2b', 'j1g', 'j1', 'j1n', 'j2g', 'j2', 'j2n', 'j3', 'j3n', 's3a', 's3b', 's6a', 'tp', 'tpn'])#
Query along-track points within spatial + temporal windows.
Yields one Dataset per query point, or None if empty.
- Parameters:
fields (
list)latitude (
float)longitude (
float)date (
datetime)time_window (
timedelta)missions (
list[Literal['al','alg','c2','c2n','e1g','e1','e2','en','enn','g2','h2a','h2b','j1g','j1','j1n','j2g','j2','j2n','j3','j3n','s3a','s3b','s6a','tp','tpn']])
- Return type:
Dataset[Literal['latitude','longitude','date_time','file_name','mission','track','cycle','basin_id','sla_unfiltered','sla_filtered','dac','ocean_tide','internal_tide','lwe','mdt','tpa_correction'] |Literal['distance','delta_t'],Any] |None
- geographic_point_in_r_dt(fields, latitude, longitude, date, radius=500000.0, time_window=datetime.timedelta(days=10), missions=['al', 'alg', 'c2', 'c2n', 'e1g', 'e1', 'e2', 'en', 'enn', 'g2', 'h2a', 'h2b', 'j1g', 'j1', 'j1n', 'j2g', 'j2', 'j2n', 'j3', 'j3n', 's3a', 's3b', 's6a', 'tp', 'tpn'])#
Query along-track points within spatial + temporal windows.
Yields one Dataset, or None if empty.
- Parameters:
fields (
list[Literal['latitude','longitude','date_time','file_name','mission','track','cycle','basin_id','sla_unfiltered','sla_filtered','dac','ocean_tide','internal_tide','lwe','mdt','tpa_correction'] |Literal['distance','delta_t']]) – List of requested along track fields to returnlatitude (
float) – Central latitude of the windowlongitude (
float) – Central longitude of the windowdate (
datetime) – Central date of the windowradius (
float) – Radius of the spatial window in meterstime_window (
timedelta) – Radius of the temporal window (meaning any point from [date - time_window, date + time_window] could be include)missions (
list[Literal['al','alg','c2','c2n','e1g','e1','e2','en','enn','g2','h2a','h2b','j1g','j1','j1n','j2g','j2','j2n','j3','j3n','s3a','s3b','s6a','tp','tpn']]) – List of satellite missions to include in the query (defaults to all available, seeAlongTrack.all_missions)
- Return type:
Dataset[Literal['latitude','longitude','date_time','file_name','mission','track','cycle','basin_id','sla_unfiltered','sla_filtered','dac','ocean_tide','internal_tide','lwe','mdt','tpa_correction'] |Literal['distance','delta_t'],Any] |None- Returns:
If no points found in the window,
Noneis returned. If points are found, then aDatasetof requested fields is returned.
- all_missions = ['al', 'alg', 'c2', 'c2n', 'e1g', 'e1', 'e2', 'en', 'enn', 'g2', 'h2a', 'h2b', 'j1g', 'j1', 'j1n', 'j2g', 'j2', 'j2n', 'j3', 'j3n', 's3a', 's3b', 's6a', 'tp', 'tpn']#