{"slug": "gloric", "name": "GloRiC Global River Classification", "tagline": "Hydrologic, physio-climatic and geomorphic river classes", "source": "WWF / McGill", "category": {"slug": "rivers", "name": "Rivers", "icon": "river", "tone": "blue"}, "meta": ["Lines", "Static (v1.0)", "Global"], "thumb": "/static/catalog/thumbs/gloric.b5e7dbd03a59.jpg", "bbox": [-180.0, -56.0, 180.0, 84.0], "global": true, "access": "download", "url": "/datasets/gloric/", "subtitle": "River reach types from HydroRIVERS", "summary": "Every HydroRIVERS reach assigned to a class from its hydrology (discharge and flow variability), physio-climatic setting and geomorphology, for comparing and stratifying rivers worldwide. A Canadian version is published alongside.", "categories": [{"slug": "rivers", "name": "Rivers", "icon": "river", "tone": "blue"}], "sources": [{"slug": "hydrosheds", "name": "HydroSHEDS (WWF and McGill University)", "label": "HydroSHEDS", "url": "https://www.hydrosheds.org/", "page": "/sources/hydrosheds/"}, {"slug": "mcgill", "name": "McGill University", "label": "McGill", "url": "https://www.mcgill.ca/", "page": "/sources/mcgill/"}], "facts": [["Source", "WWF / McGill"], ["Resolution", "Lines (HydroRIVERS reaches)"], ["Time span", "Static (v1.0)"], ["Temporal", "Static"], ["Access type", "Direct download (external)"], ["Formats", "Shapefile, File geodatabase"], ["Coverage", "Global land"]], "access_note": "", "coverage": "Global land", "license": {"name": "HydroSHEDS licence (free, attribution required)", "url": "https://www.hydrosheds.org/products/gloric"}, "citation": "Ouellet Dallaire, C., Lehner, B., Sayre, R., Thieme, M. (2019). A multidisciplinary framework to derive global river reach classifications at high spatial resolution. Environmental Research Letters, 14, 024003. https://doi.org/10.1088/1748-9326/aad8e9", "doi": "", "landing_url": "https://www.hydrosheds.org/products/gloric", "provider_url": "https://www.hydrosheds.org/products/gloric", "methods": [{"type": "files", "label": "GloRiC v1.0 downloads"}], "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/gloric/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/gloric/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/gloric/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/gloric/links?bbox=-75,-20,-50,5", "manifest": "/api/v1/datasets/gloric/manifest?bbox=-75,-20,-50,5"}}