SGP documentation and code for Maine SGP analyses