Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 3 additions & 1 deletion src/data/calibrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@
from matplotlib import patches
from scipy import signal

AVG_SALINITY = 33.6 # Typical value for upper 100m of Monterey Bay


class Range(NamedTuple):
min: float
Expand Down Expand Up @@ -2976,7 +2978,7 @@ def _ecopuck_process(self, sensor, cf):
source = self.sinfo[sensor]["data_filename"]
coord_str = f"{sensor}_time {sensor}_depth {sensor}_latitude {sensor}_longitude"
beta_700 = cf.bbp700_scale_factor * (orig_nc["BB_Sig"].to_numpy() - cf.bbp700_dark_counts)
_, bbp = compute_backscatter(700, 35.2, beta_700) # Use an average salinity of 35.2
_, bbp = compute_backscatter(700, AVG_SALINITY, beta_700) # 33.6

self.combined_nc["ecopuck_bbp700"] = xr.DataArray(
bbp,
Expand Down
8 changes: 8 additions & 0 deletions src/data/dorado_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -2906,3 +2906,11 @@
" - ctdToUse = ctd1 "
),
}
dorado_info["2025.098.01"] = {
"program": f"{MBTSLINE}",
"comment": (
"Monterey Bay MBTS Mission - 00985G"
" Biolume, ISUS, and LISST payloads removed "
" - ctdToUse = ctd1 "
),
}