Modeling the earth’s cosmic radiation