diff --git a/doc/index.md b/doc/index.md index 5d486829045064781255c6144f4ef5d882d26f15..7a16c5c7260ea0591bf43117c248418c9390c11e 100644 --- a/doc/index.md +++ b/doc/index.md @@ -8,6 +8,14 @@ Currently, supported sensors are: - Sentinel-2 (Theia, Level 2) - Sentinel-2 (Theia, Level 3) +## Installation + +To install the latest version: + +``` +pip install https://gitlab.irstea.fr/umr-tetis/scenes/-/archive/develop/scenes-develop.zip --upgrade +``` + ## Generic features `Scene` instances have generic methods and attributes. diff --git a/scenes/sentinel.py b/scenes/sentinel.py index 3a1989aab52a84a9eabecc2d1fb0d96c34bc1c07..469a57abc13e6f9e0ee335f312757c185ac0355f 100644 --- a/scenes/sentinel.py +++ b/scenes/sentinel.py @@ -483,7 +483,6 @@ class Sentinel2TheiaScene(Sentinel2SceneBase): ) - class Sentinel22AScene(Sentinel2TheiaScene): """ Sentinel-2 level 2A scene class. diff --git a/scenes/stac.py b/scenes/stac.py index 380141ba101398dc436bf2389d00055cbe60fd85..0c74e694697a16424233ee864db97cf6a36a5146 100644 --- a/scenes/stac.py +++ b/scenes/stac.py @@ -4,6 +4,9 @@ This module enables various operations from STAC catalogs. # Spot-6/7 DRS from Dinamis (experimental) ```python +import dinamis_sdk +from stac_client import Client + api = Client.open( 'https://stacapi-dinamis.apps.okd.crocc.meso.umontpellier.fr', modifier=dinamis_sdk.sign_inplace, @@ -23,6 +26,9 @@ for item in res.items(): # Sentinel-2 images from Microsoft planetary computer ```python +import planetary_computer +from stac_client import Client + api = Client.open( 'https://planetarycomputer.microsoft.com/api/stac/v1', modifier=planetary_computer.sign_inplace, diff --git a/setup.py b/setup.py index f2e9a9a1cd94104b44de27808c714e5e1ddf5c4e..886285c35ebca844602d434d290dc808efb8b9dc 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ with open("README.md", "r", encoding="utf-8") as fh: setuptools.setup( name="scenes", - version="1.6.3", + version="1.6.4", author="Rémi Cresson", author_email="remi.cresson@inrae.fr", description="Library to ease the processing of remote sensing products",