adding in some functionality from my old ecomod workspace and groundfish stratified analysis using BIOsurvey