Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions src/data/resample.py
Original file line number Diff line number Diff line change
Expand Up @@ -990,9 +990,10 @@ def _interval_contains_sunevent(
# Also add the fluo_bl_threshold value to the comment attribute
for var in saved_attrs:
self.df_r[var].attrs = saved_attrs[var]
self.df_r[var].attrs["comment"] += (
f"; corrected with fluo_bl_threshold={fluo_bl_threshold}"
)
if var in ["biolume_proxy_diatoms", "biolume_proxy_adinos", "biolume_proxy_hdinos"]:
self.df_r[var].attrs["comment"] += (
f"; corrected with fluo_bl_threshold={fluo_bl_threshold}"
)

def resample_variable( # noqa: PLR0913
self,
Expand Down