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