Subroutine for deaccumulating precipitation