afsc-gap-products / trawlmetrics

Tools for processing and analyzing trawl sensor data
Other
3 stars 0 forks source link

Add GOA/AI model to sor_fill_missing() #31

Open sean-rohan-NOAA opened 3 months ago

sean-rohan-NOAA commented 3 months ago

Issue

GOA/AI models:

with.spread.model.gam <- gam(net.height ~ factor(vessel) + s(net.spread) + s(depth) + s(speed) + s(scope.ratio)

without.height.with.spread.data.gam <- gam(net.height ~ factor(vessel) + s(net.spread) + s(depth) + s(speed) + s(scope.ratio)

without.height.without.spread.data.gam <- gam(net.height ~ factor(vessel) + s(depth) + s(speed) + s(scope.ratio)

sean-rohan-NOAA commented 2 months ago

@MargaretSiple-NOAA Is there a GAM for estimating spread? If not, how are missing spread values filled in the GOA/AI?

MargaretSiple-NOAA commented 2 months ago

From our DPR: image

sean-rohan-NOAA commented 2 months ago

Is there some code/query for retrieving or calculating vessel speed and total catch? Aiming to ensure the queries and data sets used in the models match.

sean-rohan-NOAA commented 1 month ago

Developed some missing spread/height fill code with GOA and AI models on dev

Still need to verify that EBS/NBS outputs match the original code since there were quite a few changes. Also need to check that it's OK for GOA/AI models to be fit to data from a single vessel.