Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ conda install -c conda-forge xarray-spatial

| | | | | |
|:-------------------------:|:-------------------------:|:-------------------------:|:-------------------------:|:-------------------------:|
|<a href="/examples/user-guide.ipynb"><img width="1604" src="img/0-0.png"></a> | <a href="/examples/user-guide.ipynb"><img width="1604" src="img/0-1.png"></a>|<a href="/examples/user-guide.ipynb"><img width="1604" src="img/0-2.png"></a>|<a href="/examples/user-guide.ipynb"><img width="1604" src="img/0-3.png"></a>|<a href="/examples/user-guide.ipynb"><img width="1604" src="img/0-4.png"></a>|
|<a href="/examples/user-guide.ipynb"><img width="1604" src="img/1-0.png"></a> | <a href="/examples/user-guide.ipynb"><img width="1604" src="img/1-1.png"></a>|<a href="/examples/user-guide.ipynb"><img width="1604" src="img/1-2.png"></a>|<a href="/examples/user-guide.ipynb"><img width="1604" src="img/1-3.png"></a>|<a href="/examples/user-guide.ipynb"><img width="1604" src="img/1-4.png"></a>|
|<a href="/examples/user-guide.ipynb"><img width="1604" src="img/2-0.png"></a> | <a href="/examples/user-guide.ipynb"><img width="1604" src="img/2-1.png"></a>|<a href="/examples/user-guide.ipynb"><img width="1604" src="img/2-2.png"></a>|<a href="/examples/user-guide.ipynb"><img width="1604" src="img/2-3.png"></a>|<a href="/examples/user-guide.ipynb"><img width="1604" src="img/2-4.png"></a>|
|<a href="/examples/user-guide.ipynb"><img width="1604" src="img/3-0.png"></a> | <a href="/examples/user-guide.ipynb"><img width="1604" src="img/3-1.png"></a>|<a href="/examples/user-guide.ipynb"><img width="1604" src="img/3-2.png"></a>|<a href="/examples/user-guide.ipynb"><img width="1604" src="img/3-3.png"></a>|<a href="/examples/user-guide.ipynb"><img width="1604" src="img/3-4.png"></a>|
|<a href="/examples/user-guide.ipynb"><img width="1604" src="img/4-0.png"></a> | | | | |
|<a href="/examples/"><img width="1604" src="img/0-0.png"></a> | <a href="/examples/user_guide/2_Proximity.ipynb"><img width="1604" src="img/0-1.png"></a> |<a href="/examples/user_guide/2_Proximity.ipynb"><img width="1604" src="img/0-2.png"></a> |<a href="/examples/user_guide/2_Proximity.ipynb"><img width="1604" src="img/0-3.png"></a> |<a href="/examples/pharmacy-deserts.ipynb"><img width="1604" src="img/0-4.png"></a>|
|<a href="/examples/user_guide/1_Surface.ipynb"><img width="1604" src="img/1-0.png"></a> | <a href="/examples/user_guide/1_Surface.ipynb"><img width="1604" src="img/1-1.png"></a> |<a href="/examples/user_guide/1_Surface.ipynb"><img width="1604" src="img/1-2.png"></a> |<a href="/examples/user_guide/1_Surface.ipynb"><img width="1604" src="img/1-3.png"></a> |<a href="/examples/pharmacy-deserts.ipynb"><img width="1604" src="img/1-4.png"></a>|
|<a href="/examples/user_guide/1_Surface.ipynb"><img width="1604" src="img/2-0.png"></a> | <a href="/examples/user_guide/8_Remote_Sensing.ipynb"><img width="1604" src="img/2-1.png"></a>|<a href="/examples/user_guide/8_Remote_Sensing.ipynb"><img width="1604" src="img/2-2.png"></a>|<a href="/examples/user_guide/5_Classification.ipynb"><img width="1604" src="img/2-3.png"></a>|<a href="/examples/pharmacy-deserts.ipynb"><img width="1604" src="img/2-4.png"></a>|
|<a href="/examples/"><img width="1604" src="img/3-0.png"></a> | <a href="/examples/"><img width="1604" src="img/3-1.png"></a> |<a href="/examples/user_guide/5_Classification.ipynb"><img width="1604" src="img/3-2.png"></a>|<a href="/examples/pharmacy-deserts.ipynb"><img width="1604" src="img/3-3.png"></a>|<a href="/examples/"><img width="1604" src="img/3-4.png"></a>|
|<a href="/examples/Path-finding_City-of-Austin-Road-Network.ipynb"><img width="1604" src="img/4-0.png"></a> | | | | |


`xarray-spatial` grew out of the [Datashader project](https://datashader.org/), which provides fast rasterization of vector data (points, lines, polygons, meshes, and rasters) for use with xarray-spatial.
Expand Down Expand Up @@ -80,7 +80,7 @@ my_dataarray = xr.DataArray(...)
hillshaded_dataarray = hillshade(my_dataarray)
```

Check out the user guide [here](/examples/user-guide.ipynb).
Check out the user guide [here](/examples/user_guide/).

------
Check out [Xarray-Spatial on YouTube](https://www.youtube.com/watch?v=z4xrkglmg80)
Expand Down
10 changes: 4 additions & 6 deletions examples/user_guide/1_Surface.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,17 @@
"-----\n",
"With the Surface tools, you can quantify and visualize a terrain landform represented by a digital elevation model.\n",
"\n",
"Starting with a raster elevation surface as input, with these tools, you can gain information by producing a new dataset that identifies a specific pattern within an original dataset. You can derive patterns that were not readily apparent in the original surface, such as contours, angle of slope, steepest downslope direction (Aspect), shaded relief (Hillshade), and visibility.\n",
"\n",
"Each surface tool provides insight into a surface that can be used as an end in itself or as input into additional analysis.\n",
"Starting with a raster elevation surface that represented as an Xarray DataArray, these tools help you in identifying some specific patterns that were not readily apparent in the original surface. Return of each function is also an Xarray DataArray.\n",
"\n",
"[Hillshade](#Hillshade): Creates a shaded relief from a surface raster by considering the illumination source angle and shadows.\n",
"\n",
"[Slope](#Slope): Identifies the slope (gradient or steepness) from each cell of a raster.\n",
"[Slope](#Slope): Identifies the slope from each cell of a raster.\n",
"\n",
"[Curvature](#Curvature): Calculates the curvature of a raster surface, optionally including profile and plan curvature.\n",
"[Curvature](#Curvature): Calculates the curvature of a raster surface.\n",
"\n",
"[Aspect](#Aspect): Derives the aspect from each cell of a raster surface.\n",
"\n",
"[Viewshed](#Viewshed): Determines the raster surface locations visible to a set of observer features.\n",
"[Viewshed](#Viewshed): Determines visible locations in the input raster surface from a viewpoint with some optional observer features.\n",
"\n",
"-----------\n"
]
Expand Down
8 changes: 4 additions & 4 deletions examples/user_guide/2_Proximity.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
"# Xarray-spatial\n",
"### User Guide: Proximity (Distance) tools\n",
"-----\n",
"The Distance tools allow you to perform analysis that accounts for either straight-line (Euclidean) or weighted distance. The following table lists the available Distance tools and provides a brief description of each:\n",
"The Proximity tools allow you to perform analysis that accounts for one of three distance metrics which are Euclidean (straight-line), Mahattan, and Great Cricle. \n",
"\n",
"[Proximity Distance](#Proximity-Distance)\n",
"[Proximity Distance](#Proximity-Distance): Calculates distance to the nearest source for each pixel in the input raster.\n",
"\n",
"[Proximity Allocation](#Proximity-Allocation): Calculates distance allocation for each cell to the provided sources based on straight-line distance, cost distance, true surface distance, as well as vertical and horizontal cost factors.\n",
"[Proximity Allocation](#Proximity-Allocation): Identifies the nearest source pixel (allocation) for each cell in the input raster.\n",
"\n",
"[Proximity Direction](#Proximity-Direction)\n",
"[Proximity Direction](#Proximity-Direction): Calculate direction to the nearest source for each cell in the input raster.\n",
"\n",
"-----------\n"
]
Expand Down