A blocking technique for representation of mountains in atmospheric models