code for analyzing guadalupe data