Release Notes¶
0.11.0 (2024-12-20)¶
- update rio-tiler requirement to
>=7.0,<8.0
- replace
geographic bounds
with dataset bounds inReader.info()
method's response breaking change - remove
minzoom
andmaxzoom
properties inInfo
model 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
Stripmap
beam 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.Dem30Reader
andrio_tiler_pds.copernicus.aws.Dem90Reader
mosaic readers - add
boto3
in 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
bucket
andprefix_pattern
as 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
->input
in Reader attributes- remove
.stats()
and.metadata()
methods bands
is now optional for.info()
and.statistics
- remove useless
band_expression
option
0.5.4 (2021-10-08)¶
bands
should be stored astuple
in sentinel-1 reader
0.5.3 (2021-10-08)¶
- Fix invalid sceneid parser for Sentinel-1
0.5.2 (2021-10-06)¶
- Fix available
bands
for Sentinel-1 based on Polarisation type (cogeotiff/rio-tiler-pds!59)
0.5.1 (2021-06-25)¶
- fix landsat
sceneid_parser
for Collection 2 Albers dataset (cogeotiff/rio-tiler-pds!56) - allow
standard
andalbers
collections 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
utm
is only one sigle digit (ref: cogeotiff/rio-tiler-pds!34) - add top level export (cogeotiff/rio-tiler-pds#45)
- removes
get_object
from 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.S2JP2Reader
andaws.sentinel2.S2COGReader
proxies 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
TMS
options 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
assets
options 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
nodata
options 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
assets
options instead ofbands
- Add
expression
options 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")