Skip to content

advanced use case using vsimem #443

Answered by vincentsarago
iferencik asked this question in Q&A
Discussion options

You must be logged in to vote

MultiBandReader

from typing import Any, Dict, List, Type

import attr
from morecantile import TileMatrixSet
from rasterio.path import parse_path
from rio_tiler.constants import WEB_MERCATOR_TMS
from rio_tiler.errors import InvalidBandName
from rio_tiler.io import BaseReader, COGReader, MultiBandReader

from tilebench import profile

files = [
    "https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/2020/S2A_34SGA_20200318_0_L2A/B04.tif",
    "https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/2020/S2A_34SGA_20200318_0_L2A/B03.tif",
    "https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/2020/S2A_34SGA_20200318_0_L2A/B02.tif",
]


@attr.

Replies: 2 comments 11 replies

Comment options

You must be logged in to vote
11 replies
@vincentsarago
Comment options

@iferencik
Comment options

@vincentsarago
Comment options

@iferencik
Comment options

@vincentsarago
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by iferencik
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants