diff --git a/.vscode/launch.json b/.vscode/launch.json index 3f41796..00c5b80 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -471,9 +471,9 @@ // Make per log file .html files to test with lrauv_deployment_plots and --update_ssds_provenance //"args": ["-v", "1", "--auv_name", "ahi", "--start", "20251022T000000", "--end", "20251024T000000", "--update_ssds_provenance", "--clobber"] // Make per log file .html files to test with lrauv_deployment_plots and --update_ssds_provenance to test dynamic map bounds - //"args": ["-v", "1", "--auv_name", "ahi", "--start", "20260409T000000", "--end", "20260415T000000", "--update_ssds_provenance", "--clobber"] + "args": ["-v", "1", "--auv_name", "ahi", "--start", "20260409T000000", "--end", "20260415T000000", "--update_ssds_provenance", "--clobber"] // Fixup labels on No Data plots - "args": ["-v", "1", "--log_file", "ahi/missionlogs/2026/20260406_20260412/20260411T145332/202604111453_202604111937.nc4", "--update_ssds_provenance", "--clobber"] + //"args": ["-v", "1", "--log_file", "ahi/missionlogs/2026/20260406_20260412/20260411T145332/202604111453_202604111937.nc4", "--update_ssds_provenance", "--clobber"] }, { "name": "lrauv_deployment_plots", diff --git a/src/data/create_products.py b/src/data/create_products.py index 653255d..f040a6a 100755 --- a/src/data/create_products.py +++ b/src/data/create_products.py @@ -206,10 +206,11 @@ def __init__( # noqa: PLR0913 "casepress": "deep", "pitch_angle": "balance", "average_current": "jet", + "battery_charge": "jet", } centered_vars = {"pitch_angle"} # noqa: RUF012 - scatter_marker_size = {"average_current": 5} # noqa: RUF012 + scatter_marker_size = {"average_current": 5, "battery_charge": 10} # noqa: RUF012 # Override labels for variables whose name is not a good y-axis label. variable_display_names: dict[str, str] = {"density": "Sigma-t"} # noqa: RUF012 @@ -250,6 +251,7 @@ def __init__( # noqa: PLR0913 "ctdseabird_mass_concentration_of_oxygen_in_sea_water": ("ug/l", "oxy"), # ── LRAUV other ─────────────────────────────────────────────────────── "onboard_platform_average_current": ("mA", "jet"), + "bpc1_platform_battery_charge": ("Ah", "jet"), "universals_platform_pitch_angle": ("degrees", "balance"), # ── LRAUV WetLabs BB2FL ─────────────────────────────────────────────── "wetlabsbb2fl_particulatebackscatteringcoeff470nm": ("1/m", "BuPu"), @@ -441,7 +443,7 @@ def _get_lrauv_plot_variables(self) -> list: ("density", "linear"), ("ctdseabird_sea_water_temperature", "linear"), ("ctdseabird_sea_water_salinity", "linear"), - ("onboard_platform_average_current", "linear"), + ("bpc1_platform_battery_charge", "linear"), ("ctdseabird_mass_concentration_of_oxygen_in_sea_water", "linear"), ("wetlabsbb2fl_particulatebackscatteringcoeff470nm", "linear"), ("wetlabsbb2fl_particulatebackscatteringcoeff650nm", "linear"),