{"slug": "grwl", "name": "GRWL Global River Widths from Landsat", "tagline": "River centerlines with width for rivers wider than 30 m", "source": "Allen and Pavelsky (2018)", "category": {"slug": "rivers", "name": "Rivers", "icon": "river", "tone": "blue"}, "meta": ["Centerlines at 30 m spacing", "Landsat mean annual discharge conditions", "Global"], "thumb": "/static/catalog/thumbs/grwl.397125766e7b.jpg", "bbox": [-180.0, -60.0, 180.0, 84.0], "global": true, "access": "download", "url": "/datasets/grwl/", "subtitle": "Allen and Pavelsky (2018)", "summary": "Centerlines of rivers wider than 30 m traced from Landsat images near mean annual discharge, with wetted width, number of channels and a lake or reservoir flag at every vertex. The vector archive is split into UTM-based tiles.", "categories": [{"slug": "rivers", "name": "Rivers", "icon": "river", "tone": "blue"}, {"slug": "observations", "name": "Observations", "icon": "pin", "tone": "slate"}], "sources": [{"slug": "unc", "name": "University of North Carolina at Chapel Hill", "label": "UNC", "url": "https://www.unc.edu/", "page": "/sources/unc/"}, {"slug": "zenodo", "name": "Zenodo", "label": "Zenodo", "url": "https://zenodo.org/", "page": "/sources/zenodo/"}], "facts": [["Source", "Allen and Pavelsky (2018)"], ["Resolution", "Centerlines at 30 m spacing"], ["Time span", "Landsat mean annual discharge conditions"], ["Temporal", "Static"], ["Access type", "Direct download (external)"], ["Formats", "Shapefile, GeoTIFF mask"], ["Coverage", "60°S – 84°N"]], "access_note": "", "coverage": "60°S – 84°N", "license": {"name": "CC BY 4.0", "url": "https://creativecommons.org/licenses/by/4.0/"}, "citation": "Allen, G. H., Pavelsky, T. M. (2018). Global extent of rivers and streams. Science, 361, 585–588. https://doi.org/10.1126/science.aat0636", "doi": "10.5281/zenodo.1297434", "landing_url": "https://doi.org/10.5281/zenodo.1297434", "provider_url": "https://doi.org/10.5281/zenodo.1297434", "methods": [{"type": "files", "label": "GRWL V01.01 downloads (Zenodo)"}], "preview": {"type": "layer", "layer": "rivers", "label": "Rivers (Natural Earth)"}, "thumb_credit": "Rivers (Natural Earth) over Blue Marble (NASA GIBS)", "selection": [-75.0, -20.0, -50.0, 5.0], "selection_text": "-75,-20,-50,5", "snippets": {"curl": "curl -fsSL \"https://hydrological.org/api/v1/datasets/grwl/links.txt?bbox=-75,-20,-50,5\" \\\n  | xargs -n 1 curl -fLO", "python": "import requests\n\nurls = requests.get(\"https://hydrological.org/api/v1/datasets/grwl/links.txt?bbox=-75,-20,-50,5\").text.split()\nfor url in urls:\n    name = url.rsplit(\"/\", 1)[-1]\n    with requests.get(url, stream=True) as r, open(name, \"wb\") as f:\n        for chunk in r.iter_content(1 << 20):\n            f.write(chunk)", "javascript": "const res = await fetch(\"https://hydrological.org/api/v1/datasets/grwl/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/grwl/links?bbox=-75,-20,-50,5", "manifest": "/api/v1/datasets/grwl/manifest?bbox=-75,-20,-50,5"}}