Skip to content

Async-tiff hangs when reading from obstore-based store input #597

@kylebarron

Description

@kylebarron

Originally reported in developmentseed/async-tiff#163:

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)

We need to check if there's something wrong happening in the store recreation 😬

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