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: 2 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -360,8 +360,8 @@
// Fails with ValueError: different number of dimensions on data and dims: 2 vs 1 for wetlabsubat_digitized_raw_ad_counts variable
//"args": ["-v", "1", "--log_file", "pontus/missionlogs/2025/20250604_20250616/20250608T020852/202506080209_202506081934.nc4", "--no_cleanup"]
// Full month of June 2025 for Pontus with WetLabsUBAT Group data
//"args": ["-v", "1", "--auv_name", "pontus", "--start", "20250601T000000", "--end", "20250702T000000", "--noinput", "--num_cores", "1", "--no_cleanup"]
"args": ["-v", "1", "--auv_name", "pontus", "--start", "20250601T000000", "--end", "20250702T000000", "--noinput", "--num_cores", "1", "--no_cleanup", "--clobber"]
"args": ["-v", "1", "--auv_name", "pontus", "--start", "20250601T000000", "--end", "20250702T000000", "--noinput", "--num_cores", "1", "--no_cleanup"]
//"args": ["-v", "1", "--auv_name", "pontus", "--start", "20250601T000000", "--end", "20250702T000000", "--noinput", "--num_cores", "1", "--no_cleanup", "--clobber"]
},

]
Expand Down
8 changes: 8 additions & 0 deletions src/data/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -1014,6 +1014,14 @@ def process_log_file(self, log_file: str) -> None:
)
self.logger.addHandler(self.log_handler)
self.logger.info("commandline = %s", self.commandline)
# Try to get actual host name, fall back to container name
actual_hostname = os.getenv("HOST_NAME", gethostname())
self.logger.info(
"Processing log_file %s by user %s on host %s",
log_file,
getuser(),
actual_hostname,
)

netcdfs_dir = self.extract(log_file)
self.combine(log_file=log_file)
Expand Down
2 changes: 1 addition & 1 deletion src/data/resample.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ def lrauv_global_metadata(self) -> dict:
f"point median filter."
)
self.metadata["summary"] += (
f". Processing log file: {BASE_LRAUV_WEB}/"
f" Processing log file: {BASE_LRAUV_WEB}"
f"{self.log_file.replace('.nc4', '_processing.log')}"
)
# Remove mention of original sampling intervals from summary
Expand Down