Skip to content

Commit

Permalink
Deploy dev from e519b0c
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Aug 28, 2024
1 parent 92d352e commit 4290e55
Show file tree
Hide file tree
Showing 166 changed files with 8,546 additions and 4,390 deletions.
2 changes: 1 addition & 1 deletion dev/.buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: bdeb98ae41c1bdc55d9dc852bbf31a2e
config: 1c1f686fccaef180858a7b310fb49105
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file modified dev/_images/composites_2_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dev/_images/composites_3_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dev/_images/composites_4_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dev/_images/composites_5_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dev/_images/composites_6_2.png
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.
Binary file modified dev/_images/equalize-histogram_2_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dev/_images/equalize-histogram_3_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dev/_images/equalize-histogram_4_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dev/_images/index_0_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dev/_images/indices_10_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed dev/_images/indices_14_0.png
Binary file not shown.
Binary file added dev/_images/indices_15_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dev/_images/indices_16_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dev/_images/indices_17_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dev/_images/indices_18_0.png
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.
Binary file modified dev/_images/indices_5_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dev/_images/indices_7_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dev/_images/indices_8_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dev/_images/missing-values_1_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dev/_images/missing-values_2_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dev/_images/overview_4_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dev/_images/pansharpen_3_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dev/_images/pansharpen_5_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dev/_images/plot-overlay_2_0.png
Binary file modified dev/_images/plot-overlay_3_0.png
Binary file modified dev/_images/plot-overlay_4_0.png
101 changes: 53 additions & 48 deletions dev/_modules/index.html

Large diffs are not rendered by default.

100 changes: 52 additions & 48 deletions dev/_modules/xlandsat/_composite.html

Large diffs are not rendered by default.

100 changes: 52 additions & 48 deletions dev/_modules/xlandsat/_enhancement.html

Large diffs are not rendered by default.

521 changes: 521 additions & 0 deletions dev/_modules/xlandsat/_indices.html

Large diffs are not rendered by default.

120 changes: 69 additions & 51 deletions dev/_modules/xlandsat/_interpolation.html

Large diffs are not rendered by default.

100 changes: 52 additions & 48 deletions dev/_modules/xlandsat/_io.html

Large diffs are not rendered by default.

100 changes: 52 additions & 48 deletions dev/_modules/xlandsat/_pansharpen.html

Large diffs are not rendered by default.

175 changes: 123 additions & 52 deletions dev/_modules/xlandsat/datasets.html

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
xlandsat.datasets.fetch\_corumba\_after
=======================================

.. currentmodule:: xlandsat.datasets

.. autofunction:: fetch_corumba_after

.. raw:: html

<div style='clear:both'></div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
xlandsat.datasets.fetch\_corumba\_before
========================================

.. currentmodule:: xlandsat.datasets

.. autofunction:: fetch_corumba_before

.. raw:: html

<div style='clear:both'></div>
10 changes: 10 additions & 0 deletions dev/_sources/api/generated/xlandsat.nbr.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
xlandsat.nbr
============

.. currentmodule:: xlandsat

.. autofunction:: nbr

.. raw:: html

<div style='clear:both'></div>
10 changes: 10 additions & 0 deletions dev/_sources/api/generated/xlandsat.ndvi.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
xlandsat.ndvi
=============

.. currentmodule:: xlandsat

.. autofunction:: ndvi

.. raw:: html

<div style='clear:both'></div>
28 changes: 23 additions & 5 deletions dev/_sources/api/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,38 @@ Input and output
----------------

.. autosummary::
:toctree: generated/
:toctree: generated/

load_scene
save_scene
load_panchromatic

Processing
----------
Visualization
-------------

.. autosummary::
:toctree: generated/
:toctree: generated/

composite
pansharpen
equalize_histogram
adjust_l1_colors

Indices
-------

.. autosummary::
:toctree: generated/

nbr
ndvi

Processing
----------

.. autosummary::
:toctree: generated/

pansharpen
interpolate_missing

Sample datasets
Expand All @@ -46,3 +62,5 @@ Sample datasets
datasets.fetch_manaus
datasets.fetch_momotombo
datasets.fetch_roraima
datasets.fetch_corumba_after
datasets.fetch_corumba_before
4 changes: 3 additions & 1 deletion dev/_sources/compatibility.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,6 @@ releases to ensure compatibility:
* - **Python version**
- **Last compatible release**
* - 3.7
- Not yet released
- v0.5.0
* - 3.8
- v0.5.0
33 changes: 33 additions & 0 deletions dev/_sources/composites.rst
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,39 @@ this band combination to :func:`xlandsat.composite` to see what happens:
In this composite, the contrast between the forest and water bodies on the
right are much clearer!

Composites highlighting fires
-----------------------------

When a fire is currently burning and producing smoke, it can be difficult to
visualize the fire front in a regular RGB composite. For this, the SWIR and NIR
bands can be very useful. A composite of SWIR, NIR, and blue can be useful to
highlight the burned areas, ongoing fire, and vegetation.
Let's see what this looks like in our Corumbá, Brazil, sample data:

.. jupyter-execute::

corumba = xls.load_scene(xls.datasets.fetch_corumba_after())
corumba_rgb = xls.adjust_l1_colors(
xls.composite(corumba, rescale_to=(0, 0.2)),
percentile=0,
)
corumba_fire = xls.composite(
corumba, rescale_to=(0, 0.4), bands=["swir1", "nir", "blue"],
)

fig, axes = plt.subplots(1, 2, figsize=(10, 8), layout="constrained")
for ax, composite in zip(axes, [corumba_rgb, corumba_fire]):
composite.plot.imshow(ax=ax)
ax.set_title(rgb.attrs["long_name"])
ax.set_aspect("equal")
plt.show()

The burn scar can be seen in the RGB but there is smoke in the South and it's
not clear whether there are any active fires still burning.
The SWIR/NIR/green composite highlights the active fires in bright red and can
even show then through the smoke (which doesn't reflect in the SWIR bands).
This composite also highlights the difference between burned areas and
preserved vegetation.

Other composites
----------------
Expand Down
4 changes: 2 additions & 2 deletions dev/_sources/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,10 @@ Here's a quick example:

io.rst
composites.rst
equalize-histogram.rst
indices.rst
pansharpen.rst
missing-values.rst
equalize-histogram.rst
pansharpen.rst
plot-overlay.rst

.. toctree::
Expand Down
Loading

0 comments on commit 4290e55

Please sign in to comment.