Skip to content

Hangs when reading from obstore-based store input #163

@kylebarron

Description

@kylebarron

This hangs:

from async_tiff import TIFF
# from async_tiff.store import S3Store
from obstore.store import S3Store

path = "sentinel-s2-l2a-cogs/12/S/UF/2022/6/S2B_12SUF_20220609_0_L2A/B04.tif"
store = S3Store("sentinel-cogs", region="us-west-2", skip_signature=True)
tiff = await TIFF.open(path=path, store=store)

this completes instantly:

from async_tiff import TIFF
from async_tiff.store import S3Store
# from obstore.store import S3Store

path = "sentinel-s2-l2a-cogs/12/S/UF/2022/6/S2B_12SUF_20220609_0_L2A/B04.tif"
store = S3Store("sentinel-cogs", region="us-west-2", skip_signature=True)
tiff = await TIFF.open(path=path, store=store)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions