Skip to content

Conversation

TomAugspurger
Copy link

@TomAugspurger TomAugspurger commented Nov 3, 2022

Helpers for getting this container helpers:

In [1]: import planetary_computer

In [2]: planetary_computer.get_adlfs_filesystem("nrel", "oedi")
Out[2]: <adlfs.spec.AzureBlobFileSystem at 0x7fd501cb73d0>

In [3]: planetary_computer.get_container_client("landsateuwest", "landsat-c2")
Out[3]: <azure.storage.blob._container_client.ContainerClient at 0x7fd5027266b0>

rather than

cc = azure.storage.blob.ContainerClient("https://landsateuwest.blob.core.windows.net", "landsat-c2", credential=planetary_computer.get_token("landstaeuwest", "landsat-c2").token)

Also updated the docs to reflect the changes in pystac-client to support modifying results.

@TomAugspurger TomAugspurger merged commit b9981a3 into main Nov 3, 2022
@TomAugspurger TomAugspurger deleted the tom/feature/adlfs-fs branch November 3, 2022 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant