-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
`stackstac.show` and `stackstac.add_to_map` display Dask-backed DataArrays on ipyleaflet maps. Other changes: * Exposed some handy spatial and miscellaneous operations in the public API (`reproject_array`, `xyztile_of_array`, etc.) * Exposed `stackstac.mosaic`! Closes #1. * Reorganized docs to have an examples subsection and base API reference page * Added visualization notebook from my webinar
- Loading branch information
Showing
22 changed files
with
2,896 additions
and
201 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,4 +10,5 @@ python: | |
- method: pip | ||
path: . | ||
extra_requirements: | ||
- docs | ||
- docs | ||
- viz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
_build/* | ||
api/internal/*.rst | ||
api/internal/*.rst | ||
api/main/*.rst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,49 @@ | ||
API reference | ||
------------- | ||
|
||
There's only one function: | ||
.. currentmodule:: stackstac | ||
|
||
.. autofunction:: stackstac.stack | ||
Core | ||
~~~~ | ||
|
||
This is what it's all about: | ||
|
||
.. autosummary:: | ||
:toctree: main | ||
:nosignatures: | ||
|
||
stack | ||
|
||
Visualization | ||
~~~~~~~~~~~~~ | ||
|
||
Easily render your data on an :doc:`ipyleaflet <ipyleaflet:index>` map. Requires installing ``'stackstac[viz]'``, and running with a :doc:`dask distributed <distributed:index>` cluster. | ||
|
||
As you pan around the map, the part of the array that's in view is computed on the fly by dask. | ||
|
||
**Warning**: zooming in and out will *not* load underlying data at different resolutions. Assets will be loaded at whatever resolution you initially got from `~.stack`. If your array is large and high-resolution, zooming out could trigger very slow (and expensive) computations. | ||
|
||
|
||
.. autosummary:: | ||
:toctree: main | ||
:nosignatures: | ||
|
||
show | ||
add_to_map | ||
|
||
Operations | ||
~~~~~~~~~~ | ||
|
||
Utilities to work with geospatial DataArrays produced by stackstac. | ||
|
||
**Warning**: these functions may be reorganized in the near future. | ||
|
||
.. autosummary:: | ||
:toctree: main | ||
:nosignatures: | ||
|
||
mosaic | ||
reproject_array | ||
xyztile_of_array | ||
array_bounds | ||
array_epsg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,4 @@ More examples | |
|
||
cluster | ||
gif | ||
show |
Oops, something went wrong.