[subargo] = argo_platform_subset(argo,platform_id)
[subargo] = argo_platform_subset(argo,platform_id)
subsets argo
by Argo platform ID into struct subargo
; where argo
is a struct created by argo_build
and platform_id is the integer ID
platform_id
must be an integer corresponding to the ID of an Argo float.
subargo
is a struct which is structurally identical to argo
but contains data only from the chosen Argo float
% Plot locations of Argo profiles:
argo_platform_map(argo,1)
bathymetry_plot(bathymetry_extract(bathymetry_dir,bounding_region(argo)),'2Dcontour')
% Subset by platform:
platform_id = 5904421;
[subargo] = argo_platform_subset(argo,platform_id);
% Make a new plot:
argo_platform_map(subargo,1)
bathymetry_plot(bathymetry_extract(bathymetry_dir,bounding_region(argo)),'2Dcontour')