nwfsc-fram / boatnet

At-Sea Field Data Collection Software Components for Scientific Surveys and Observers
8 stars 5 forks source link

add EM logbook error #2392

Closed neilriley-NOAA closed 3 years ago

neilriley-NOAA commented 3 years ago

@sethgerou-noaa Add error when EM logbook data fishery is anything other than the active fishery lookup options: Example trip is 100316

field: fishery
Lookup | Description | Usage | Level -- | -- | -- | -- Electronic Monitoring EFP | Electronic Monitoring EFP | logbook | trip Limited Entry ITQ EM | Limited Entry ITQ EM | logbook | trip Limited Entry Sablefish Fixed Gear EM | Limited Entry Sablefish Fixed Gear EM | logbook | trip
sethgerou-noaa commented 3 years ago

previous validation just required fishery value to be a valid fishery - I've updated to require fishery to be an active EM fishery

neilriley-NOAA commented 3 years ago

tested with trip 100319. works well.