Rain streaks can seriously degrade the visual quality of an image and are detrimental to subsequent algorithms such as object detection and semantic segmentation. Therefore, removing rain streaks is a very important task. The deraining task has two main limitations: the first is to encode information about rain streaks in different densities and directions, the second is to keep the background details of the image while removing the rain streak. To address these limitations, we propose an effective algorithm, called multi-stage and multi-scale joint channel coordinate attention fusion network (MMAFN). We mainly propose a two-stage network structure, both of which use an encoderdecoder network to extract features. The first-stage network extracts coarse features and the second-stage network integrates the features of the former to further refine features. We design the joint channel coordinate attention block to encode features of rain streaks in different directions and densities. In addition, to better fuse features of different scales and enhance the generalization performance of the network, the inception attention branch block and the multi-level feature fusion block are designed. Extensive experiments substantiate the superiority of the proposed network