The central-upwind finite-volume method for atmospheric numerical modeling