4.11. cpforager.processing.add_depth
- cpforager.processing.add_depth(df, params)
Add to the dataframe an additional
depthcolumn that gives the estimated underwater depth in negative.- Parameters:
df (pandas.DataFrame) – dataframe with a
pressurecolumn in hPa.params (dict) – parameters dictionary.
- Returns:
the dataframe with an additional
depthcolumn that gives the estimated underwater depth in negative meters.- Return type:
pandas.DataFrame
Note
The required fields in the parameters dictionary are
zoc_time_windowsandzoc_quantiles.