filter_subset_by_detection

HSTB.kluster.modules.subset.filter_subset_by_detection(ping_dataset)

Get only the non-rejected soundings. Additionally, drop all the NaN values where we did not get a georeferenced answer. Returns the dataset stacked (sounding=(time, beam)) so all variables are one dimensional. We do this to make the filtering work, as it results in a non square array.

Parameters

ping_dataset (Dataset) – one of the raw_ping datasets

Returns

1dim stacked ping dataset

Return type

xr.Dataset