fsspec integration fails to read Azure directory dataset
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 38/100
Direzione di ricerca
Riproduci il malfunzionamento con obstore.fsspec.FsspecStore sulla directory abfs://items/landsat-c2-l2.parquet, quindi confrontane il comportamento con fsspec nativo e adlfs. Usa fs.info() e pyarrow.dataset.dataset() come verifiche; il lavoro è completato quando il filesystem obstore riconosce il percorso come una directory e riesce ad aprire il Dataset partizionato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem:
Attempts to read the dataset using pyarrow.dataset.dataset(path, filesystem=obstore_fs) consistently fail. Debugging revealed that the underlying obstore.fsspec.FsspecStore instance (obstore_fs) fails to access the target path, even for simple operations like obstore_fs.info(path), typically raising a FileNotFoundError.
Context:
- STAC Collection:
landsat-c2-l2on Planetary Computer STAC (https://planetarycomputer.microsoft.com/api/stac/v1/) - STAC Asset:
geoparquet-items - Asset Details:
href:abfs://items/landsat-c2-l2.parquettable:storage_options:{'account_name': 'pcstacitems'}
- Target Path Type: The path
abfs://items/landsat-c2-l2.parquetpoints to a directory containing the partitioned Parquet dataset, not a single file.
Steps Taken & Findings:
- Retrieved STAC asset using
pystac-client. - Initialized
obstore.auth.planetary_computer.PlanetaryComputerCredentialProvidercorrectly usingurl=asset.hrefandaccount_name='pcstacitems'. - Attempted to initialize
obstore.fsspec.FsspecStorewith various configurations:- Using
protocol='abfs'and the credential provider. - Using
protocol='https'(with a constructed HTTPS URL) and the provider. - Explicitly passing
config={'account_name': 'pcstacitems', 'container_name': 'items'}along with the provider for bothabfsandhttpsprotocols.
- Using
- In all
obstore.fsspecconfigurations, attempts to access the path (e.g.,abfs://items/landsat-c2-l2.parquet) viafs.info()failed withFileNotFoundError(referencing eitherlandsat-c2-l2.parquetoritems/landsat-c2-l2.parquet).fs.info()works for files but seems to fail for directories in this setup. - Consequently,
pyarrow.dataset.dataset(path, filesystem=obstore_fs)also failed, presumably because it couldn't access/list the directory contents via theobstorefsspec layer. - Successful Native
fsspecTest: A separate test using nativefsspecandadlfswas performed:- Obtained the SAS token directly by calling the initialized
PlanetaryComputerCredentialProviderinstance. - Created a native filesystem:
native_fs = fsspec.filesystem("abfs", account_name='pcstacitems', sas_token=...). - Accessed the directory info using the relative path:
native_fs.info('items/landsat-c2-l2.parquet'). This succeeded and correctly identified the path as a directory. - Opened the dataset using
pyarrow.dataset.dataset('items/landsat-c2-l2.parquet', filesystem=native_fs). This also succeeded.
- Obtained the SAS token directly by calling the initialized
- Lingua principale
- Python
- Stelle
- 830
- Fork
- 45
- Merge medio
- 5h 44m
- PR unite (30g)
- 14
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di developmentseed/obstore
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 75/100
developmentseed/obstore#779 · 5 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 67/100
developmentseed/obstore#778 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 50/100
developmentseed/obstore#772 ·
I maintainer di solito rispondono entro 1 giorno
-
LocalStore fsspec adding extra path stuff in WindowsForse già presa @dajiaohuang l’ha presa 12 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
developmentseed/obstore#763 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
developmentseed/obstore#754 · 6 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di developmentseed/obstore
Issue simili
-
area/profiles comp/cli P3 type/feature
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
NousResearch/hermes-agent#146372 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
[oblt-aw][autodoc] Document obs-aw-automerge contract and fix automerge doc inconsistenciesForse già presa @github-actions l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
GeoSeries scale and skew tests fail with pytest 9.2.0Forse già presa @jiayuasu l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
admission-deferred priority: medium status: ready work-class: scoped
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
melodic-software/claude-code-plugins#10887 · 4 commenti ·
I maintainer di solito rispondono entro 1 giorno