Using this code can realize Mann Kendall monotonic trend test. The data directory needs to be changed when using code.