Check the Setup
- Python 3.10 or newer
- An internet connection
- The requests Python package
Dekadal European Combined Drought Indicator rasters for agricultural and ecosystem drought context tools.
Report a ProblemFrom Source to Product Signal
EDO publishes the cdiad Combined Drought Indicator through its WCS with a dated configuration record. Start with the latest available GeoTIFF; agricultural drought context is not an immediate emergency warning.
Install the packages, then run the notebook cell.
python -m pip install requests
import requests
root = "https://drought.emergency.copernicus.eu"
config = requests.get(root + "/services/config?appCode=edo_map", timeout=25)
config.raise_for_status()
def cdi_date(node):
if isinstance(node, dict):
if node.get("code") == "cdiad":
return node["endDay"]
return next((day for value in node.values() if (day := cdi_date(value))), None)
if isinstance(node, list):
return next((day for value in node if (day := cdi_date(value))), None)
return None
day = cdi_date(config.json())
assert day, "No CDI product date"
response = requests.get(
root + "/api/wcs",
params={"map": "DO_WCS", "SERVICE": "WCS", "VERSION": "2.0.0",
"REQUEST": "GetCoverage", "coverageID": "cdiad", "CRS": "EPSG:4326",
"format": "GEOTIFF", "TIME": day}, timeout=40,
)
response.raise_for_status()
assert response.content[:4] in (b"II*\x00", b"MM\x00*"), "Expected GeoTIFF"
print(day, "EDO CDI bytes:", len(response.content))Test a Useful Signal
Display the latest CDI product vintage with its interpretation limit.
Copernicus Emergency Management Service is an intergovernmental source. Last verified 2026-09-28. Temporal coverage: dated dekadal CDI product vintages.