Release Notes¶
0.11.1 (2025-01-28)¶
- add support for Sentinel 2C
 
0.11.0 (2024-12-20)¶
- update rio-tiler requirement to 
>=7.0,<8.0 - replace 
geographic boundswith dataset bounds inReader.info()method's response breaking change - remove 
minzoomandmaxzoomproperties inInfomodel breaking change - add python 3.12 and 3.13 support
 
0.10.1 (2023-08-21)¶
- calculate scene bounds from multipolygons for Sentinel-1
 - allow 
Stripmapbeam mode for sentinel-1 dataset 
0.10.0 (2023-07-25)¶
- update rio-tiler requirement to 
>=5.0,<7.0 
0.9.0 (2023-07-13)¶
- update rio-tiler requirement to 
>=5.0,<6.0 - add 
rio_tiler_pds.copernicus.aws.Dem30Readerandrio_tiler_pds.copernicus.aws.Dem90Readermosaic readers - add 
boto3in dependencies 
0.8.0 (2023-04-11)¶
- remove Landsat 8 Collection 1
 - remove python 3.7 and add python 3.10/3.11 support
 - switch to ruff
 - fix issue with latest STAC Items for Sentinel-2-l2a-cogs (author @dvd3v, cogeotiff/rio-tiler-pds!64)
 - update rio-tiler requirement to 
>=4.0,<5.0 
0.7.0 (2022-06-08)¶
- enable 
bucketandprefix_patternas input (@author @f-skold, cogeotiff/rio-tiler-pds!61) - switch to 
pyproject.toml 
0.6.0 (2021-11-29)¶
- update rio-tiler requirement to 
>=3.0.0 
breaking changes
- remove python 3.6 support
 sceneid->inputin Reader attributes- remove 
.stats()and.metadata()methods bandsis now optional for.info()and.statistics- remove useless 
band_expressionoption 
0.5.4 (2021-10-08)¶
bandsshould be stored astuplein sentinel-1 reader
0.5.3 (2021-10-08)¶
- Fix invalid sceneid parser for Sentinel-1
 
0.5.2 (2021-10-06)¶
- Fix available 
bandsfor Sentinel-1 based on Polarisation type (cogeotiff/rio-tiler-pds!59) 
0.5.1 (2021-06-25)¶
- fix landsat 
sceneid_parserfor Collection 2 Albers dataset (cogeotiff/rio-tiler-pds!56) - allow 
standardandalberscollections for Landsat Collection 2 reader (cogeotiff/rio-tiler-pds!58) 
0.5.0 (2021-02-02)¶
- add AWS's Landsat Collection 2 support (author @kylebarron, cogeotiff/rio-tiler-pds!42)
 - add sentinel-2 product ID parsing (ref: cogeotiff/rio-tiler-pds!33).
 - fix issue where the sequence number of a sentinel scene id can be two digit (ref: cogeotiff/rio-tiler-pds!35)
 - fix issue where 
utmis only one sigle digit (ref: cogeotiff/rio-tiler-pds!34) - add top level export (cogeotiff/rio-tiler-pds#45)
 - removes 
get_objectfrom top level export - add deprecation warning in L8Reader (cogeotiff/rio-tiler-pds#40)
 
0.4.1 (2020-11-24)¶
- update for rio-tiler 2.0.0rc3
 
0.4.0 (2020-11-09)¶
- update for rio-tiler==2.0.0rc
 - internal refactor of the Landsat8 reader
 - add 
sentinel.aws.sentinel2.S2JP2Readerandaws.sentinel2.S2COGReaderproxies to readers. 
from rio_tiler_pds.sentinel.aws import S2COGReader, S2JP2Reader
with S2JP2Reader("S2A_L2A_20170729_19UDP_0") as scene:
    print(type(scene))
>>> <class 'rio_tiler_pds.sentinel.aws.sentinel2.S2L2AReader'>
with S2JP2Reader("S2A_L1C_20170729_19UDP_0") as scene:
    print(type(scene))
>>> <class 'rio_tiler_pds.sentinel.aws.sentinel2.S2L1CReader'>
with S2COGReader("S2A_29RKH_20200219_0_L2A") as scene:
    print(type(scene))
>>> <class 'rio_tiler_pds.sentinel.aws.sentinel2.S2L2ACOGReader'>
0.3.2 (2020-10-13)¶
- add 
TMSoptions to adapt for rio-tiler 2.0.0b17 (ref: cogeotiff/rio-tiler!285) 
0.3.1 (2020-10-07)¶
- remove 
pkg_resources(pypa/setuptools#510) 
0.3.0 (2020-10-03)¶
- Update sentinel2-cogs image path (cogeotiff/rio-tiler-pds!22).
 - Remove ContextManager requirement in base class and update for rio-tiler 2.0b13 (cogeotiff/rio-tiler!265).
 - Add MODIS (PDS and Astraea) dataset (cogeotiff/rio-tiler-pds#18)
 - move reader base classes to rio-tiler (cogeotiff/rio-tiler-pds#24)
 - add missing 
0(e.g "B1" -> "B01") when user forget it on sentinel and modis band names (cogeotiff/rio-tiler-pds#25) 
0.2.1 (2020-09-25)¶
- add support for CBERS-4A (author @fredliporace)
 
0.2.0 (2020-08-31)¶
- Revert the use of 
assetsoptions tobands(#12) 
from rio_tiler_pds.landsat.aws import L8Reader
with L8Reader("LC08_L1TP_016037_20170813_20170814_01_RT") as landsat:
    # in 0.1.1 (PAST)
    tile, data = landsat.tile(x, y, z, assets="B1")
    # in 0.2.0 (NOW)
    tile, data = landsat.tile(x, y, z, bands="B1")
0.1.1 (2020-08-28)¶
- avoid 
nodataoptions colision with kwargs in L8Reader 
0.1.0 (2020-08-27)¶
Initial release.
- Move code from rio-tiler
 - Update for rio-tiler==2.0b8 (use COGReader and MultiBaseReader)
 - Create new Classes (using attrs) and use ContextManager (
with Reader("sceneid") as scene:) - Remove Landsat 8 pre-collection support
 - Add Sentinel 2 COGs dataset support
 - Use TileInfo.json and ProductInfo.json to retrieve Sentinel 1 & 2 bounds
 - Use 
assetsoptions instead ofbands - Add 
expressionoptions in readers 
Readers¶
from rio_tiler_pds.landsat.aws import L8Reader
from rio_tiler_pds.sentinel.aws import S1L1CReader
from rio_tiler_pds.sentinel.aws import (
    S2L1CReader,  # JPEG2000
    S2L2AReader,  # JPEG2000
    S2L2ACOGReader,   # COG
)
from rio_tiler_pds.cbers.aws import CBERSReader
Example¶
from rio_tiler_pds.landsat.aws import L8Reader
with L8Reader("LC08_L1TP_016037_20170813_20170814_01_RT") as landsat:
    tile, data = landsat.tile(x, y, z, assets="B1")
    tile, data = landsat.tile(x, y, z, expression="B1/B2")