I am looking for a procedure to track the humidity related to precipitation. This means selecting a reanalysis database (for example ERA5) and selecting a gridpoint or region (for example the country Paraguay), and be able to track the source of humidity that leads to precipitation in that specific region. Until now I have found the Dynamic Recycling Model (DRM) from https://journals.ametsoc.org/view/journals/clim/19/8/jcli3691.1.xml
I also found this other method to track humidity, that provides its code. https://hess.copernicus.org/articles/24/2419/2020/hess-24-2419-2020.pdf