{"slug": "chirps", "name": "CHIRPS v2.0", "tagline": "0.05° rainfall since 1981 for drought monitoring", "source": "UCSB CHC", "category": {"slug": "climate", "name": "Climate", "icon": "cloud", "tone": "blue"}, "meta": ["0.05°", "1981–present", "50°S – 50°N"], "thumb": "/static/catalog/thumbs/chirps.9a6a49c961fa.jpg", "bbox": [-180.0, -50.0, 180.0, 50.0], "global": false, "access": "download", "url": "/datasets/chirps/", "subtitle": "Climate Hazards Group InfraRed Precipitation with Station data", "summary": "Satellite infrared rainfall estimates blended with station observations, with low latency. The standard rainfall product for drought early warning in Africa and Latin America. CHIRPS v3.0 is available alongside it.", "categories": [{"slug": "climate", "name": "Climate", "icon": "cloud", "tone": "blue"}], "sources": [{"slug": "ucsb-chc", "name": "Climate Hazards Center, UC Santa Barbara", "label": "UCSB CHC", "url": "https://www.chc.ucsb.edu/", "page": "/sources/ucsb-chc/"}], "facts": [["Source", "UCSB CHC"], ["Resolution", "0.05° (about 5.5 km)"], ["Time span", "1981–present"], ["Temporal", "Daily, pentadal, dekadal, monthly"], ["Access type", "Direct download (external)"], ["Formats", "GeoTIFF, NetCDF, BIL"], ["Coverage", "50°S – 50°N"]], "access_note": "", "coverage": "50°S – 50°N", "license": {"name": "Public domain (CC0 waiver)", "url": "https://www.chc.ucsb.edu/data/chirps"}, "citation": "Funk, C., et al. (2015). The climate hazards infrared precipitation with stations, a new environmental record for monitoring extremes. Scientific Data, 2, 150066. https://doi.org/10.1038/sdata.2015.66", "doi": "", "landing_url": "https://www.chc.ucsb.edu/data/chirps", "provider_url": "https://data.chc.ucsb.edu/products/CHIRPS-2.0/", "methods": [{"type": "link", "label": "CHIRPS 2.0 file server (global monthly GeoTIFFs under global_monthly/tifs)"}, {"type": "link", "label": "CHIRPS v3.0 file server"}], "preview": null, "thumb_credit": "IMERG precipitation (NASA GIBS), shown for the pattern", "selection": [-75.0, -20.0, -50.0, 5.0], "selection_text": "-75,-20,-50,5", "snippets": {"curl": "# One month of global rainfall; clip to -75,-20,-50,5 with GDAL\ncurl -fLO \"https://data.chc.ucsb.edu/products/CHIRPS-2.0/global_monthly/tifs/chirps-v2.0.2020.01.tif.gz\"\ngunzip chirps-v2.0.2020.01.tif.gz\ngdal_translate -projwin -75 5 -50 -20 chirps-v2.0.2020.01.tif clip.tif", "python": "import gzip, shutil, urllib.request\nimport rasterio\nfrom rasterio.windows import from_bounds\n\nurl = \"https://data.chc.ucsb.edu/products/CHIRPS-2.0/global_monthly/tifs/chirps-v2.0.2020.01.tif.gz\"\nurllib.request.urlretrieve(url, \"chirps.tif.gz\")\nwith gzip.open(\"chirps.tif.gz\") as src, open(\"chirps.tif\", \"wb\") as dst:\n    shutil.copyfileobj(src, dst)\nwith rasterio.open(\"chirps.tif\") as ds:\n    rain = ds.read(1, window=from_bounds(-75, -20, -50, 5, ds.transform))", "javascript": "const res = await fetch(\"https://hydrological.org/api/v1/datasets/chirps/links?bbox=-75,-20,-50,5\");\nconst { groups } = await res.json();\nfor (const g of groups) g.links.forEach(l => console.log(l.url));"}, "api": {"links": "/api/v1/datasets/chirps/links?bbox=-75,-20,-50,5", "manifest": "/api/v1/datasets/chirps/manifest?bbox=-75,-20,-50,5"}}