Assigning `lat` to `y` seems weird to me.  Is one of these misnamed, or are we missing a reprojection?