Skip to content

Commit

Permalink
Tank tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-rohan-NOAA committed Jan 9, 2025
1 parent f568653 commit f43f9e4
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions analysis/flume_tank/01_trawl_geometry.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Flume tank analysis

library(trawlmetrics)
library(xlsx)

# Load flume tank data

path_flume_xlsx <- here::here("analysis", "flume_tank", "data", "test_data.xlsx")

flume_data <- xlsx::read.xlsx(file = path_flume_xlsx,
sheetName = 'data')

#

ggplot() +
geom_point(data = flume_data,
mapping = aes(x = towing_speed_kn,
y = spread_mean_we_m)) +
facet_wrap(~round(door_m))

ggplot(data = flume_data,
mapping = aes(x = bridle_angle_deg,
y = spread_mean_we_m,
color = factor(towing_speed_kn))) +
geom_point() +
geom_smooth()

ggplot(data = flume_data,
mapping = aes(x = bridle_angle_deg,
y = spread_mean_we_m,
color = factor(towing_speed_kn))) +
geom_point() +
geom_smooth() +
facet_wrap(~towing_speed_kn)

ggplot(data = flume_data,
mapping = aes(x = toowing,
y = spread_mean_we_m,
color = factor(towing_speed_kn))) +
geom_point() +
geom_smooth()
Binary file added analysis/flume_tank/data/test_data.xlsx
Binary file not shown.

0 comments on commit f43f9e4

Please sign in to comment.