Skip to content

Commit

Permalink
deploy: 7b37440
Browse files Browse the repository at this point in the history
  • Loading branch information
matamadio committed Oct 13, 2023
1 parent 8d266a9 commit 0f0cd37
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 13 deletions.
27 changes: 21 additions & 6 deletions _sources/docs/tool-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ In both cases, the script requires proper environment setup and input data to be
- Parallel/ Place the parallel processing script in a sub-folder
- ...
- Data/
- ADM Administrative unit layer for each country
- HZD Hazard layers
- EXP Exposure layers - Population (count), Built-up (ratio or binary), Agriculture (ratio or binary)
- RSK Output directory
- ADM/ Administrative boundaries layer for each country
- HZD/ Hazard layers
- EXP/ Exposure layers
- RSK/ Output directory
```

- Download **country boundaries** for multiple administrative levels (national, sub-national) sourced from [HDX](https://data.humdata.org/dataset) or [Geoboundaries](https://www.geoboundaries.org). Note that oftern there are several versions for the same country, so be sure to use the most updated from official agencies (eg. United Nations). Verify that shapes, names and codes are consistent across different levels.
Expand Down Expand Up @@ -88,9 +88,24 @@ In both cases, the script requires proper environment setup and input data to be
- Download [**exposure data**](global-exposure.md) for population, built-up and agricolture. Layers are expected as raster files (`.tif`) named as `ISO`_`EXP`.tif.
- **`ISO`_POP.tif**: Population, as from [Global Human Settlement Layer](https://ghsl.jrc.ec.europa.eu/download.php?ds=pop) or [Worldpop](https://hub.worldpop.org/geodata/listing?id=79). Value as number of peope per pixel.
- **`ISO`_BU.tif**: Built-up from [Global Human Settlement Layer](https://ghsl.jrc.ec.europa.eu/download.php?ds=bu) or [World Settlement Footprint](https://download.geoservice.dlr.de/WSF2019/). Value could be binary (0/1: absence/presence per pixel) or float (0-1: density per pixel).
- **`ISO`_AGR.tif**: Agriculture from land cover map, [ESA land cover](https://esa-worldcover.org/en) or equivalent. Value could be binary (0/1: absence/presence per pixel) or float (0-1: density per pixel)
- **`ISO`_AGR.tif**: Agriculture from land cover map, [ESA land cover](https://esa-worldcover.org/en) or equivalent. Value could be binary (0/1: absence/presence per pixel) or float (0-1: density per pixel).

- Move verified input data into the proper folders:
```
Work dir/Data/
- ADM/
- ISO_ADM.gpkg
- HZD/
- ISO_FL_RP10.tif
- ISO_FL_RP100.tif
- ISO_FL_RP1000.tif
- ...
- EXP/
- ISO_POP.tif
- ISO_BU.tif
- ISO_AGR.tif
```

- Move verified input data into the proper folders
```{caution}
All spatial data must use the same CRS, suggested: `EPSG 4326` (WGS 84)
```
Expand Down
26 changes: 20 additions & 6 deletions docs/tool-setup.html
Original file line number Diff line number Diff line change
Expand Up @@ -603,10 +603,10 @@ <h2>Input data management<a class="headerlink" href="#input-data-management" tit
<span class="o">-</span> <span class="n">Parallel</span><span class="o">/</span> <span class="n">Place</span> <span class="n">the</span> <span class="n">parallel</span> <span class="n">processing</span> <span class="n">script</span> <span class="ow">in</span> <span class="n">a</span> <span class="n">sub</span><span class="o">-</span><span class="n">folder</span>
<span class="o">-</span> <span class="o">...</span>
<span class="o">-</span> <span class="n">Data</span><span class="o">/</span>
<span class="o">-</span> <span class="n">ADM</span> <span class="n">Administrative</span> <span class="n">unit</span> <span class="n">layer</span> <span class="k">for</span> <span class="n">each</span> <span class="n">country</span>
<span class="o">-</span> <span class="n">HZD</span> <span class="n">Hazard</span> <span class="n">layers</span>
<span class="o">-</span> <span class="n">EXP</span> <span class="n">Exposure</span> <span class="n">layers</span> <span class="o">-</span> <span class="n">Population</span> <span class="p">(</span><span class="n">count</span><span class="p">),</span> <span class="n">Built</span><span class="o">-</span><span class="n">up</span> <span class="p">(</span><span class="n">ratio</span> <span class="ow">or</span> <span class="n">binary</span><span class="p">),</span> <span class="n">Agriculture</span> <span class="p">(</span><span class="n">ratio</span> <span class="ow">or</span> <span class="n">binary</span><span class="p">)</span>
<span class="o">-</span> <span class="n">RSK</span> <span class="n">Output</span> <span class="n">directory</span>
<span class="o">-</span> <span class="n">ADM</span><span class="o">/</span> <span class="n">Administrative</span> <span class="n">boundaries</span> <span class="n">layer</span> <span class="k">for</span> <span class="n">each</span> <span class="n">country</span>
<span class="o">-</span> <span class="n">HZD</span><span class="o">/</span> <span class="n">Hazard</span> <span class="n">layers</span>
<span class="o">-</span> <span class="n">EXP</span><span class="o">/</span> <span class="n">Exposure</span> <span class="n">layers</span>
<span class="o">-</span> <span class="n">RSK</span><span class="o">/</span> <span class="n">Output</span> <span class="n">directory</span>
</pre></div>
</div>
</li>
Expand Down Expand Up @@ -721,10 +721,24 @@ <h2>Input data management<a class="headerlink" href="#input-data-management" tit
<ul class="simple">
<li><p><strong><code class="docutils literal notranslate"><span class="pre">ISO</span></code>_POP.tif</strong>: Population, as from <a class="reference external" href="https://ghsl.jrc.ec.europa.eu/download.php?ds=pop">Global Human Settlement Layer</a> or <a class="reference external" href="https://hub.worldpop.org/geodata/listing?id=79">Worldpop</a>. Value as number of peope per pixel.</p></li>
<li><p><strong><code class="docutils literal notranslate"><span class="pre">ISO</span></code>_BU.tif</strong>: Built-up from <a class="reference external" href="https://ghsl.jrc.ec.europa.eu/download.php?ds=bu">Global Human Settlement Layer</a> or <a class="reference external" href="https://download.geoservice.dlr.de/WSF2019/">World Settlement Footprint</a>. Value could be binary (0/1: absence/presence per pixel) or float (0-1: density per pixel).</p></li>
<li><p><strong><code class="docutils literal notranslate"><span class="pre">ISO</span></code>_AGR.tif</strong>: Agriculture from land cover map, <a class="reference external" href="https://esa-worldcover.org/en">ESA land cover</a> or equivalent. Value could be binary (0/1: absence/presence per pixel) or float (0-1: density per pixel)</p></li>
<li><p><strong><code class="docutils literal notranslate"><span class="pre">ISO</span></code>_AGR.tif</strong>: Agriculture from land cover map, <a class="reference external" href="https://esa-worldcover.org/en">ESA land cover</a> or equivalent. Value could be binary (0/1: absence/presence per pixel) or float (0-1: density per pixel).</p></li>
</ul>
</li>
<li><p>Move verified input data into the proper folders</p>
<li><p>Move verified input data into the proper folders:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">Work</span> <span class="nb">dir</span><span class="o">/</span><span class="n">Data</span><span class="o">/</span>
<span class="o">-</span> <span class="n">ADM</span><span class="o">/</span>
<span class="o">-</span> <span class="n">ISO_ADM</span><span class="o">.</span><span class="n">gpkg</span>
<span class="o">-</span> <span class="n">HZD</span><span class="o">/</span>
<span class="o">-</span> <span class="n">ISO_FL_RP10</span><span class="o">.</span><span class="n">tif</span>
<span class="o">-</span> <span class="n">ISO_FL_RP100</span><span class="o">.</span><span class="n">tif</span>
<span class="o">-</span> <span class="n">ISO_FL_RP1000</span><span class="o">.</span><span class="n">tif</span>
<span class="o">-</span> <span class="o">...</span>
<span class="o">-</span> <span class="n">EXP</span><span class="o">/</span>
<span class="o">-</span> <span class="n">ISO_POP</span><span class="o">.</span><span class="n">tif</span>
<span class="o">-</span> <span class="n">ISO_BU</span><span class="o">.</span><span class="n">tif</span>
<span class="o">-</span> <span class="n">ISO_AGR</span><span class="o">.</span><span class="n">tif</span>
</pre></div>
</div>
<div class="admonition caution">
<p class="admonition-title">Caution</p>
<p>All spatial data must use the same CRS, suggested: <code class="docutils literal notranslate"><span class="pre">EPSG</span> <span class="pre">4326</span></code> (WGS 84)</p>
Expand Down
Loading

0 comments on commit 0f0cd37

Please sign in to comment.