3.11. cpforager.processing.add_depth
- cpforager.processing.add_depth(df)
Add to the dataframe an additional
depth
column that gives the estimated underwater depth in negative meters.- Parameters:
df (pandas.DataFrame) – dataframe with a
pressure
column in hPa.- Returns:
the dataframe with an additional
depth
column that gives the estimated underwater depth in negative meters.- Return type:
pandas.DataFrame