'HDC' is a GitHub repository containing instructions to reproduce results from the "Spatially Compounding Drought Events in Brazil" published in the Water Resources Research Journal - Gesualdo et al., (2024).
Gesualdo, G. C., Benso, M. R., Mendiondo, E. M., & Brunner, M. I. (2024). Spatially compounding drought events in Brazil. Water Resources Research, 60, e2023WR036629.https://doi.org/10.1029/2023WR036629
Gesualdo, G., Benso, M., Kobayashi, A., & Zamboni, P. (2024). gabichiquito/Hydrological-drought-connectedness: v1.0. Zenodo. https://doi.org/10.5072/zenodo.78438
Dataset | Repository Link | DOI |
---|---|---|
Original dataset - CABra | Link | |
Modify input data | Link |
The output from hydrological drought extraction and connectedness are stored in the data repository linked below.
Dataset | Repository Link | DOI |
---|---|---|
Hydrological drought extraction | Link | |
Hydrological drought connectedness | Link |
Clone this repository to get access to the notebooks used for Hydrological Drought Extraction and Connectedness. You'll also need to download the input files in link. Once you have the input dataset downloaded you can use the following notebooks to reproduce the analysis. For the Hydrological Drought Extraction, you should adjust the function variables moving_window in number of days, thresh_value in flow percentile and min_dur, the drought minimal duration in days.
Script Name | Description |
---|---|
Hydrological_drought_extraction.ipynb | Runs the hydrological drought extraction for each catchment |
Hydrological_drought_connectedness.ipynb | Compute the hydrological drought connectedness |
To reproduce the figures from our publication, use the following notebooks. Download the necessary input files from link
Figure Name | Script Name | Description |
---|---|---|
Heatmap of Spearman's correlation | PLOT_drought_spearmans_heatmap.ipynb | Reproduce the Heatmap of Spearman's correlation between drought characteristics and different catchment attributes |
Spatial distribution of drought characteristics | PLOT_Hydrological_drought_characteristics.ipynb | Reproduce the maps for spatial distribution for each drought characteristics |
Drought co-occurrence network | PLOT_Hydrological_drought_co-occurrence_Network.ipynb | Reproduce the map of the co-occurrence network. The lines represent drought connectedness between catchments, and the catchment nodes are colored according to the mean number of connected events a catchment experiences per year |
Drought similarity clusters | PLOT_Hydrological_drought_cluster.ipynb | Reproduce the map of drought similarity cluster, based on the hierarchical clustering |
Catchment attribute variability | PLOT_Hydrological_drought_cluster_attributes.ipynb | Reproduce the boxplot of drought and catchment attribute variability across drought similarity clusters |