Skip to content

Commit

Permalink
Merge pull request #225 from smkerr/patch-1
Browse files Browse the repository at this point in the history
Update 01-spatial-data.qmd
  • Loading branch information
Robinlovelace committed Feb 8, 2024
2 parents 950ad77 + d2e5822 commit bf04ec8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 01-spatial-data.qmd
Expand Up @@ -730,7 +730,7 @@ Instead, several packages provide alternative subsets of methods for working wit
The two most notable approaches for working with rasters in Python are provided by **rasterio** and **rioxarray** packages.
As we will see shortly, they differ in scope and underlying data models.
Specifically, **rasterio** represents rasters as **numpy** arrays associated with a separate object holding the spatial metadata.
The **rioxarray** package, a warpper of **rasterio**, however, represents rasters with **xarray** "extended" arrays, which are an extension of **numpy** array designed to hold axis labels and attributes in the same object, together with the array of raster values.
The **rioxarray** package, a wrapper of **rasterio**, however, represents rasters with **xarray** "extended" arrays, which are an extension of **numpy** array designed to hold axis labels and attributes in the same object, together with the array of raster values.
Similar approaches are provided by less well-known **xarray-spatial** and **geowombat** packages.
Comparatively, **rasterio** is more well-established, but it is more low-level (which has both advantabes and distadvantages).

Expand Down

0 comments on commit bf04ec8

Please sign in to comment.