dctools.processing.argo_data.ArgoDataProcessor
- class dctools.processing.argo_data.ArgoDataProcessor
Processor for argo data.
- __init__()
Methods
__init__()subset_argo(data[, lat_range, lon_range, ...])Subset the area defined by lat_range, lon_range and time_range.
- static subset_argo(data, lat_range=None, lon_range=None, time_range=None, coord_name_dict=None)
Subset the area defined by lat_range, lon_range and time_range.
- Parameters:
data (xr.Dataset or xr.DataArray) – Xarray object from argopy
lat_range (Tuple of two floats) – lower and upper latitude bounds
lon_range (Tuple of two floats) – lower and upper longitude bounds
time_range (Tuple of two datetimes) – start and end of selected period
coord_name_dict (dict | None)
- Returns:
- An object of the same type as data containing the
specified range
- Return type:
subset