Analysis of and solution to the polar numerical noise within the shallow-water model on the latitude-longitude grid