We modify a mathematical model of photosynthesis to quantify the perturbations that high energy muons could make on aquatic primary productivity. Then, we apply this in the context of the extragalactic shock model, according to which Earth receives an enhanced dose of high-energy cosmic rays when it is at the galactic north. We obtain considerable reduction in the photosynthesis rates, consistent with potential drops in biodiversity.